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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --dark-bg: #0f172a;
    --dark-text: #1e293b;
    --light-bg: #f8fafc;
    --light-text: #64748b;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
    overflow-x: hidden;
}

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

.header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
    transition: all 0.3s ease;
}

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

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

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

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

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

.btn-full {
    width: 100%;
}

.hero-visual {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    width: 200px;
    height: 200px;
    top: 0;
    right: 0;
    animation-delay: 0s;
}

.card-2 {
    width: 150px;
    height: 150px;
    top: 150px;
    right: 200px;
    animation-delay: 2s;
}

.card-3 {
    width: 180px;
    height: 180px;
    top: 300px;
    right: 50px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.stats {
    background-color: var(--light-bg);
    padding: 60px 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--light-text);
    font-weight: 500;
}

.features,
.industries,
.about-intro,
.mission-vision,
.expertise,
.timeline,
.team,
.services-overview,
.services-detailed,
.industry-solutions,
.process,
.contact-section,
.map-section,
.faq-section {
    padding: 80px 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--light-text);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-design { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.icon-consulting { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.icon-development { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.icon-integration { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.icon-security { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.icon-support { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

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

.industries {
    background-color: var(--light-bg);
}

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

.industry-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.industry-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
}

.industry-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.industry-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark-text);
}

.industry-item p {
    color: var(--light-text);
}

.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.footer {
    background-color: var(--gray-900);
    color: var(--gray-300);
    padding: 60px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3,
.footer-col h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

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

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    padding: 0.5rem 1rem;
    background-color: var(--gray-800);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-400);
}

.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--light-text);
    line-height: 1.8;
}

.about-visual {
    position: relative;
    height: 400px;
}

.visual-box {
    position: absolute;
    border-radius: 12px;
}

.box-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    top: 0;
    left: 0;
}

.box-2 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    top: 100px;
    left: 150px;
}

.box-3 {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    top: 200px;
    left: 50px;
}

.mission-vision {
    background-color: var(--light-bg);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mv-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.mv-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.icon-mission { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.icon-vision { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.icon-values { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }

.mv-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.mv-card p {
    color: var(--light-text);
    line-height: 1.8;
}

.expertise-list {
    max-width: 900px;
    margin: 0 auto;
}

.expertise-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.expertise-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
}

.expertise-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.expertise-header h4 {
    font-size: 1.25rem;
    color: var(--dark-text);
}

.expertise-badge {
    padding: 0.375rem 0.875rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.expertise-item p {
    color: var(--light-text);
    line-height: 1.7;
}

.timeline {
    background-color: var(--light-bg);
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border: 4px solid var(--white);
    border-radius: 50%;
    z-index: 1;
}

.timeline-year {
    text-align: right;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.timeline-content {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.timeline-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark-text);
}

.timeline-content p {
    color: var(--light-text);
    line-height: 1.7;
}

.commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.commitment-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 12px;
}

.commitment-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.commitment-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark-text);
}

.commitment-card p {
    color: var(--light-text);
}

.services-overview {
    background-color: var(--light-bg);
}

.services-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.services-intro h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
}

.services-intro p {
    font-size: 1.125rem;
    color: var(--light-text);
    line-height: 1.8;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-detail-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
}

.service-detail-content p {
    margin-bottom: 1.5rem;
    color: var(--light-text);
    line-height: 1.8;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: var(--light-text);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.service-detail-visual {
    height: 350px;
    border-radius: 12px;
}

.visual-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.visual-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.visual-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.visual-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.visual-5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.visual-6 { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }

.industry-solutions {
    background-color: var(--light-bg);
}

.industry-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.industry-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.industry-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.icon-ind-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.icon-ind-2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.icon-ind-3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.icon-ind-4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.icon-ind-5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.icon-ind-6 { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }

.industry-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark-text);
}

.industry-card p {
    color: var(--light-text);
    line-height: 1.7;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.process-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.process-step h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--dark-text);
}

.process-step p {
    color: var(--light-text);
    font-size: 0.9rem;
    line-height: 1.6;
}

.process-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
}

.contact-info > p {
    margin-bottom: 2rem;
    color: var(--light-text);
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    flex-shrink: 0;
}

.icon-location { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.icon-email { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.icon-phone { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.icon-web { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }

.contact-text h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.contact-text p,
.contact-text a {
    color: var(--light-text);
    text-decoration: none;
    line-height: 1.7;
}

.contact-text a:hover {
    color: var(--primary-color);
}

.business-hours {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 12px;
}

.business-hours h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.business-hours ul {
    list-style: none;
}

.business-hours li {
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.business-hours li span {
    font-weight: 600;
    color: var(--dark-text);
}

.contact-form-container {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--dark-text);
}

.contact-form > p {
    margin-bottom: 2rem;
    color: var(--light-text);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: auto;
}

.checkbox-label span {
    color: var(--light-text);
    font-size: 0.9rem;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.map-section {
    background-color: var(--light-bg);
}

.map-placeholder {
    background-color: var(--gray-200);
    height: 400px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-content {
    text-align: center;
    z-index: 1;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.map-marker {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    margin: 0 auto 1rem;
}

.map-content p {
    color: var(--light-text);
    line-height: 1.7;
}

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

.faq-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--dark-text);
}

.faq-item p {
    color: var(--light-text);
    line-height: 1.7;
}

.legal-content {
    padding: 40px 20px 80px;
}

.legal-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.legal-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.legal-sidebar h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.legal-nav {
    list-style: none;
}

.legal-nav li {
    margin-bottom: 0.5rem;
}

.legal-nav a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.legal-main {
    max-width: 800px;
}

.legal-main section {
    margin-bottom: 3rem;
}

.legal-main h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
    padding-top: 1rem;
}

.legal-main h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.legal-main p {
    margin-bottom: 1rem;
    color: var(--light-text);
    line-height: 1.8;
}

.legal-main ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-main li {
    margin-bottom: 0.5rem;
    color: var(--light-text);
    line-height: 1.7;
}

.legal-main a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-main a:hover {
    text-decoration: underline;
}

.contact-box {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.contact-box p {
    margin-bottom: 0.5rem;
}

.legal-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-200);
}

.legal-footer p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-visual {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-grid,
    .service-detail,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-detail.reverse {
        direction: ltr;
    }

    .timeline-container::before {
        left: 0;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }

    .timeline-item::before {
        left: 0;
    }

    .timeline-year {
        text-align: left;
    }

    .process-arrow {
        display: none;
    }

    .legal-wrapper {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
        background-color: var(--light-bg);
        padding: 1.5rem;
        border-radius: 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

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

    .section-title {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .commitment-number {
        font-size: 2.5rem;
    }
}
