/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
}

/* Color Variables - Premium Blue Palette */
:root {
    --primary-blue: #1e40af;
    --primary-blue-dark: #1e3a8a;
    --primary-blue-light: #3b82f6;
    --secondary-blue: #60a5fa;
    --accent-blue: #93c5fd;
    --light-blue: #dbeafe;
    --navy: #0f172a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --white: #ffffff;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-blue) 0%, var(--accent-blue) 100%);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: var(--primary-blue-dark);
}

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

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
    background-color: var(--light-blue);
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding: 120px 0 100px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, var(--primary-blue) 30%, var(--primary-blue-light) 70%, var(--secondary-blue) 100%);
}



.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.animated-shapes > div {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatShape 20s infinite linear;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-50px) rotate(90deg) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-30px) rotate(180deg) scale(0.9);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-70px) rotate(270deg) scale(1.1);
        opacity: 0.4;
    }
}

/* Remove floating languages animation */
.floating-languages {
    display: none;
}

/* Update language cards for 5 languages with clockwise orbit */
.lang-card {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: orbitClockwise 40s linear infinite;
}

.lang-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    border-color: rgba(251, 191, 36, 0.5);
}

.lang-card.active {
    background: rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.lang-card .flag {
    font-size: 1.5rem;
    line-height: 1;
}

.lang-card span {
    font-size: 0.7rem;
    color: white;
    font-weight: 500;
    text-align: center;
}

/* Position 5 language cards in a circle with clockwise orbit */
.lang-card:nth-child(1) { /* Azerbaijani */
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.lang-card:nth-child(2) { /* Turkish */
    top: 20%;
    right: 10%;
    animation-delay: -8s;
}

.lang-card:nth-child(3) { /* Russian */
    bottom: 20%;
    right: 10%;
    animation-delay: -16s;
}

.lang-card:nth-child(4) { /* English */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -24s;
}

.lang-card:nth-child(5) { /* German */
    top: 20%;
    left: 10%;
    animation-delay: -32s;
}

.lang-card:nth-child(6) { /* Ukrainian */
    top: 20%;
    left: 10%;
    animation-delay: -32s;
}

@keyframes orbitClockwise {
    from {
        transform: rotate(0deg) translateX(200px) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(200px) rotate(-360deg);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 5;
}

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(96, 165, 250, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(96, 165, 250, 0);
    }
}

.badge-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(45deg, #60a5fa, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-line-1 {
    color: white;
    opacity: 0;
    animation: slideInLeft 1s ease-out 0.5s forwards;
}

.title-line-2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.barrier-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: slideInRight 1s ease-out 1s forwards;
}

.typing-container {
    display: flex;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s ease-out 2s forwards;
}

#typed-text {
    color: var(--accent-blue);
    min-width: 200px;
}

.cursor {
    color: #fbbf24;
    animation: blink 1s infinite;
    font-weight: 400;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    animation: slideInUp 1s ease-out 1.5s forwards;
}

.highlight-name {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

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

.hero-description {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    animation: fadeIn 1s ease-out 2.5s forwards;
}

.hero-description strong {
    color: #fbbf24;
    font-weight: 600;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: slideInUp 1s ease-out 3s forwards;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-item i {
    color: #60a5fa;
    font-size: 1rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideInUp 1s ease-out 3.5s forwards;
}

.btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: var(--navy);
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(251, 191, 36, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

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

/* Hero Visual Elements */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-container {
    position: relative;
    width: 500px;
    height: 500px;
}

.language-cards {
    position: absolute;
    width: 100%;
    height: 100%;
}



.center-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    z-index: 10;
}

.profile-image {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
    animation: centerPulse 3s ease-in-out infinite;
}

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

@keyframes centerPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.7);
    }
}

.hub-icon {
    color: white;
    font-size: 2.5rem;
    animation: rotateCounterClockwise 30s linear infinite;
}

@keyframes rotateCounterClockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

.connection-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(96, 165, 250, 0.3) 50%, transparent 100%);
    transform-origin: left center;
    animation: pulseLine 2s ease-in-out infinite;
}

.line-1 { transform: translate(-50%, -50%) rotate(0deg); animation-delay: 0s; }
.line-2 { transform: translate(-50%, -50%) rotate(60deg); animation-delay: 0.33s; }
.line-3 { transform: translate(-50%, -50%) rotate(120deg); animation-delay: 0.66s; }
.line-4 { transform: translate(-50%, -50%) rotate(180deg); animation-delay: 1s; }
.line-5 { transform: translate(-50%, -50%) rotate(240deg); animation-delay: 1.33s; }
.line-6 { transform: translate(-50%, -50%) rotate(300deg); animation-delay: 1.66s; }

@keyframes pulseLine {
    0%, 100% {
        opacity: 0.2;
        transform: translate(-50%, -50%) rotate(var(--rotation)) scaleX(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) rotate(var(--rotation)) scaleX(1.2);
    }
}

/* Update language cards to orbit around the profile image */
.lang-card {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: orbitAroundProfile 30s linear infinite;
}

.lang-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    border-color: rgba(251, 191, 36, 0.5);
}

.lang-card.active {
    background: rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.6);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.3);
}

.lang-card .flag {
    font-size: 1.5rem;
    line-height: 1;
}

.lang-card span {
    font-size: 0.7rem;
    color: white;
    font-weight: 500;
    text-align: center;
}

/* Position 6 language cards in a circle around the profile image */
.lang-card:nth-child(1) { /* Azerbaijani */
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.lang-card:nth-child(2) { /* Turkish */
    top: 15%;
    right: 10%;
    animation-delay: -5s;
}

.lang-card:nth-child(3) { /* Russian */
    bottom: 15%;
    right: 10%;
    animation-delay: -10s;
}

.lang-card:nth-child(4) { /* English */
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -15s;
}

.lang-card:nth-child(5) { /* German */
    bottom: 15%;
    left: 10%;
    animation-delay: -20s;
}

.lang-card:nth-child(6) { /* Ukrainian */
    top: 15%;
    left: 10%;
    animation-delay: -25s;
}

@keyframes orbitAroundProfile {
    from {
        transform: rotate(0deg) translateX(200px) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(200px) rotate(-360deg);
    }
}

.stats-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.stat-bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    color: white;
    min-width: 80px;
    animation: orbitAroundProfile 30s linear infinite;
}

.stat-bubble .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.25rem;
}

.stat-bubble .stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.stat-1 {
    top: 5%;
    left: 5%;
    animation-delay: -2.5s;
}

.stat-2 {
    top: 25%;
    right: 5%;
    animation-delay: -7.5s;
}

.stat-3 {
    bottom: 25%;
    right: 5%;
    animation-delay: -12.5s;
}

.stat-4 {
    bottom: 5%;
    left: 5%;
    animation-delay: -17.5s;
}

@keyframes floatBubble {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-10px) rotate(2deg);
    }
    66% {
        transform: translateY(-5px) rotate(-2deg);
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

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

/* How It Works Section - 2x2 Grid */
.why-choose .services-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 3rem auto 0;
}

.service-card {
    background: #3b82f6;
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #2563eb;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: #60a5fa;
    background: #2563eb;
}

.service-icon {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.service-card p {
    color: #e2e8f0;
    line-height: 1.7;
}

/* Why Choose Section */
.why-choose {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.why-choose-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-item i {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--gray-600);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--gray-600);
    font-weight: 500;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--gradient-primary);
    text-align: center;
}

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

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

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

.cta .btn-primary:hover {
    background: var(--gray-100);
}

/* Footer */
.footer {
    background: var(--navy);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
}

.footer-info {
    text-align: left;
}

.footer-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    align-items: center;
}

.footer-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-info p {
    color: var(--gray-400);
}

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

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

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

/* About Page Styles */
.about-hero {
    padding: 120px 0 100px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 50%, var(--secondary-blue) 100%);
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="800" cy="300" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="400" cy="600" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="900" cy="800" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="100" cy="700" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    pointer-events: none;
}

.about-hero .hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-hero .hero-content {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-badge i {
    color: #fbbf24;
}

.about-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: white;
}

.about-hero .hero-highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.about-hero .hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 1rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 100px;
}

.stat-box h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.profile-card {
    background: white;
    border-radius: 2rem;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 3;
    max-width: 350px;
    margin: 0 auto;
}

.profile-image {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
    animation: centerPulse 3s ease-in-out infinite;
}

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

.profile-image::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(45deg, #fbbf24, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    z-index: -1;
}

.profile-image i {
    font-size: 3rem;
    color: white;
}

.profile-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.profile-info > p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.credentials span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--light-blue);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-blue);
}

.credentials i {
    font-size: 1rem;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 20;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    animation: float 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 20;
}

.floating-icon:nth-child(1) {
    top: 5%;
    right: 5%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 70%;
    right: 2%;
    animation-delay: 2s;
}

.floating-icon:nth-child(3) {
    top: 85%;
    right: 15%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(5deg);
    }
    66% {
        transform: translateY(-10px) rotate(-5deg);
    }
}

.about-content {
    padding: 100px 0;
}

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

.about-image {
    background: var(--gradient-primary);
    border-radius: 2rem;
    padding: 3rem;
    text-align: center;
    color: white;
}

.about-image i {
    font-size: 6rem;
    margin-bottom: 1rem;
}

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

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

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.skill-item {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.skill-item h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

/* Contact Page Styles */
.contact-hero {
    padding: 120px 0 80px;
    background: var(--gradient-primary);
    text-align: center;
    color: white;
}

.contact-content {
    padding: 100px 0;
}

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

.contact-info {
    background: var(--gray-50);
    padding: 3rem;
    border-radius: 1.5rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    color: var(--primary-blue);
    font-size: 1.5rem;
    width: 30px;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #f3f4f6;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--navy);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* File Upload Styling */
.form-group input[type="file"] {
    position: relative;
    padding: 1rem;
    border: 2px dashed #d1d5db;
    background-color: #f9fafb;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
}

.form-group input[type="file"]:hover {
    border-color: var(--primary-blue);
    background-color: #f0f9ff;
}

.form-group input[type="file"]:focus {
    border-color: var(--primary-blue);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Custom file upload button */
.form-group input[type="file"]::-webkit-file-upload-button {
    visibility: hidden;
    width: 0;
}

.form-group input[type="file"]::before {
    content: "📎 Choose File";
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-blue), #1d4ed8);
    color: white;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.form-group input[type="file"]:hover::before {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.form-group input[type="file"]:active::before {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

/* File upload info text */
.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #6b7280;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Select dropdown styling */
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-group select option {
    padding: 0.5rem;
}

.form-group select:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%233b82f6' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

/* Textarea specific styling */
.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
    font-family: inherit;
}

/* Submit button styling */
.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue), #1d4ed8);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Loading spinner */
.loading-spinner {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

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

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero Section Mobile Improvements */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .hero-badge {
        margin-bottom: 1rem;
        padding: 0.5rem 1rem;
    }

    .hero-features {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .feature-item {
        flex: 1;
        min-width: 120px;
        padding: 0.75rem;
    }

    .feature-item i {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .feature-item span {
        font-size: 0.9rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        justify-content: center;
    }

    /* Visual Container Mobile Improvements */
    .visual-container {
        width: 320px;
        height: 320px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .lang-card {
        width: 55px;
        height: 55px;
    }

    .lang-card .flag {
        font-size: 1.1rem;
    }

    .lang-card span {
        font-size: 0.55rem;
    }

    .center-hub {
        width: 250px;
        height: 250px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .profile-image {
        width: 280px;
        height: 280px;
        border-radius: 50%;
        overflow: hidden;
        border: 3px solid #ffffff;
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    }

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

    .line {
        width: 130px;
    }

    .stat-bubble {
        padding: 0.6rem;
        min-width: 55px;
    }

    .stat-bubble .stat-number {
        font-size: 1.1rem;
    }

    .stat-bubble .stat-label {
        font-size: 0.6rem;
    }

    .floating-languages {
        display: none;
    }

    .animated-shapes {
        display: none;
    }

    /* Other Mobile Improvements */
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-hero .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-hero .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .stat-box {
        min-width: 80px;
    }

    .floating-elements {
        display: none;
    }

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

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

    .hero-card {
        transform: none;
    }
}

@media (max-width: 480px) {
    /* Hero Section Small Mobile Improvements */
    .hero {
        padding: 90px 0 50px;
    }

    .hero-container {
        padding: 0 0.5rem;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 1.25rem;
    }

    .hero-badge {
        margin-bottom: 0.75rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .hero-features {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .feature-item {
        min-width: 100px;
        padding: 0.6rem;
    }

    .feature-item i {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .feature-item span {
        font-size: 0.8rem;
    }

    .hero-buttons {
        gap: 0.75rem;
    }

    .btn-primary,
    .btn-secondary {
        max-width: 260px;
        padding: 0.9rem 1.25rem;
        font-size: 0.95rem;
    }

    /* Visual Container Small Mobile */
    .visual-container {
        width: 280px;
        height: 280px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .lang-card {
        width: 48px;
        height: 48px;
    }

    .lang-card .flag {
        font-size: 0.95rem;
    }

    .lang-card span {
        font-size: 0.45rem;
    }

    .center-hub {
        width: 65px;
        height: 65px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .profile-image {
        width: 65px;
        height: 65px;
        border-radius: 50%;
        overflow: hidden;
        border: 2px solid #ffffff;
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
    }

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

    .line {
        width: 90px;
    }

    .stat-bubble {
        padding: 0.5rem;
        min-width: 48px;
    }

    .stat-bubble .stat-number {
        font-size: 0.95rem;
    }

    .stat-bubble .stat-label {
        font-size: 0.55rem;
    }

    /* Other Small Mobile Improvements */
    .stats-grid {
        grid-template-columns: 1fr;
    }

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

    /* How It Works Section Mobile */
    .why-choose .services-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        margin: 2rem auto 0;
    }

    .title-line-2 {
        flex-direction: column;
        gap: 0.5rem;
    }

    .about-hero .hero-description {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-box {
        padding: 1rem;
    }

    .profile-card {
        padding: 2rem 1.5rem;
        margin: 0 10px;
    }

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

    .container {
        padding: 0 15px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

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

/* Smooth scroll offset for fixed header */
html {
    scroll-padding-top: 70px;
}

/* About Page Hero Visual - Unique Classes */
.about-hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-profile-card {
    background: white;
    border-radius: 2rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: 400px;
    position: relative;
    z-index: 10;
}

.about-profile-image {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ffffff;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    margin: 0 auto 1.5rem;
    position: relative;
}

.about-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.about-profile-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.about-profile-info > p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.about-credentials {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-credentials span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--light-blue);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-blue);
}

.about-credentials i {
    font-size: 1rem;
}

/* Form validation styling */
.form-group input:invalid,
.form-group textarea:invalid,
.form-group select:invalid {
    border-color: #fca5a5;
}

.form-group input:valid,
.form-group textarea:valid,
.form-group select:valid {
    border-color: #86efac;
}

/* Focus states for better accessibility */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

/* Floating Notification Messages */
.floating-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    max-width: 400px;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s ease-out;
    border: 1px solid;
}

.floating-message.success {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #166534;
    border-color: #86efac;
}

.floating-message.error {
    background: linear-gradient(135deg, #fef2f2, #fecaca);
    color: #dc2626;
    border-color: #fca5a5;
}

.floating-message.info {
    background: linear-gradient(135deg, #dbeafe, #93c5fd);
    color: #1e40af;
    border-color: #60a5fa;
}

@keyframes slideDown {
    from {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    to {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
}

.floating-message.hide {
    animation: slideUp 0.3s ease-in forwards;
}

/* Legal Page Styles */
.legal-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.legal-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.legal-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.legal-content {
    padding: 4rem 0;
    background: #f8fafc;
    overflow-x: hidden;
}

.legal-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-content-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.toc h2 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc li {
    margin-bottom: 0.75rem;
}

.toc a {
    display: block;
    padding: 0.75rem 1rem;
    color: #475569;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.4;
}

.toc a:hover {
    background: #f1f5f9;
    color: #1e3a8a;
    transform: translateX(4px);
}

.toc a.active {
    background: #3b82f6;
    color: white;
    font-weight: 500;
}

/* Legal Sections */
.legal-section {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
    width: 100%;
    box-sizing: border-box;
    grid-column: 2;
}

.legal-section h2 {
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-bottom: 3px solid #3b82f6;
    padding-bottom: 0.5rem;
    scroll-margin-top: 120px;
}

.legal-section h3 {
    color: #334155;
    font-size: 1.25rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.legal-section p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.legal-section ul {
    color: #475569;
    line-height: 1.7;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

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

.legal-section strong {
    color: #1e3a8a;
    font-weight: 600;
}

.legal-section a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: #1e3a8a;
    text-decoration: underline;
}

.last-updated {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    color: #0369a1;
    font-weight: 500;
}

.contact-details {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    margin: 1.5rem 0;
}

.contact-details p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.contact-details a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Download Section */
.download-section {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    grid-column: 2;
}

.download-section h2 {
    color: #1e3a8a;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.download-btn:active {
    transform: translateY(0);
}

.download-btn i {
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .legal-content .container {
        padding: 0 1rem;
    }
    
    .legal-content-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .legal-hero h1 {
        font-size: 2.5rem;
    }
    
    .legal-hero p {
        font-size: 1.1rem;
    }
    
    .legal-content {
        padding: 2rem 0;
    }
    
    .legal-content .container {
        padding: 0 1rem;
        gap: 1.5rem;
    }
    
    .legal-section {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.75rem;
        scroll-margin-top: 100px;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }
    
    .toc {
        padding: 1.5rem;
        position: static;
        max-height: none;
        overflow-y: visible;
    }
    
    .toc ul {
        flex-direction: column;
    }
    
    .toc a {
        white-space: normal;
    }
    
    .download-buttons {
        max-width: 100%;
    }
    
    .download-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .legal-hero h1 {
        font-size: 2rem;
    }
    
    .legal-hero p {
        font-size: 1rem;
    }
    
    .legal-section {
        padding: 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .contact-details {
        padding: 1.5rem;
    }
    
    .download-section {
        padding: 2rem 1.5rem;
    }
    
    .download-section h2 {
        font-size: 1.75rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .toc,
    .download-section {
        display: none;
    }
    
    .legal-content {
        background: white;
        padding: 0;
    }
    
    .legal-content .container {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }
    
    .legal-section {
        box-shadow: none;
        border: none;
        padding: 1rem 0;
        margin-bottom: 1rem;
        page-break-inside: avoid;
    }
    
    .legal-section h2 {
        page-break-after: avoid;
    }
    
    .legal-section h3 {
        page-break-after: avoid;
    }
}
