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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: #ffffff !important;
    overflow-x: hidden;
    transition: all 0.3s ease;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* CSS Variables for Theme */
:root {
    /* Light Theme - Professional Blue-Gray Palette */
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary-color: #0ea5e9;
    --accent-color: #06b6d4;
    
    --text-color: #1f2937;
    --text-light: #4b5563;
    --text-muted: #6b7280;
    
    --bg-color: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    
    --border-color: #e2e8f0;
    --shadow-light: rgba(30, 64, 175, 0.05);
    --shadow-medium: rgba(30, 64, 175, 0.1);
    --shadow-heavy: rgba(30, 64, 175, 0.25);
    
    --gradient-primary: linear-gradient(135deg, #1e40af 0%, #0ea5e9 100%);
    --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --gradient-accent: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme */
[data-theme="dark"] {
    --text-color: #f9fafb;
    --text-light: #d1d5db;
    --text-muted: #9ca3af;
    
    --bg-color: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    
    --border-color: #374151;
    --shadow-light: rgba(0, 0, 0, 0.2);
    --shadow-medium: rgba(0, 0, 0, 0.3);
    --shadow-heavy: rgba(0, 0, 0, 0.5);
}

/* Only apply dark background if explicitly set by user */
[data-theme="dark"] body {
    background: #111827 !important;
}

[data-theme="dark"] .about {
    background: var(--bg-secondary);
}

[data-theme="dark"] .process {
    background: var(--bg-secondary);
}

[data-theme="dark"] .hero {
    background: var(--bg-color);
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    position: relative;
}

.loader-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
}

.loader-line-wrap {
    animation: spin 2s cubic-bezier(.175, .885, .32, 1.275) infinite;
    box-sizing: border-box;
    height: 50px;
    left: 50%;
    overflow: hidden;
    position: absolute;
    top: 50%;
    transform-origin: 50% 100%;
    width: 1px;
}

.loader-line {
    border: 2px solid transparent;
    border-radius: 100%;
    box-sizing: border-box;
    height: 100px;
    left: 50%;
    margin: 0 0 0 -1px;
    position: absolute;
    top: 0;
    width: 100px;
}

.loader-line-wrap:nth-child(1) { animation-delay: -50ms; }
.loader-line-wrap:nth-child(2) { animation-delay: -100ms; }
.loader-line-wrap:nth-child(3) { animation-delay: -150ms; }
.loader-line-wrap:nth-child(4) { animation-delay: -200ms; }
.loader-line-wrap:nth-child(5) { animation-delay: -250ms; }

.loader-line-wrap:nth-child(1) .loader-line { border-color: #1e40af; }
.loader-line-wrap:nth-child(2) .loader-line { border-color: #3b82f6; }
.loader-line-wrap:nth-child(3) .loader-line { border-color: #0ea5e9; }
.loader-line-wrap:nth-child(4) .loader-line { border-color: #06b6d4; }
.loader-line-wrap:nth-child(5) .loader-line { border-color: #1e3a8a; }

@keyframes spin {
    0%, 15% { transform: rotate(0); }
    25% { transform: rotate(30deg); }
    35% { transform: rotate(60deg); }
    45% { transform: rotate(90deg); }
    55% { transform: rotate(120deg); }
    65% { transform: rotate(150deg); }
    75% { transform: rotate(180deg); }
    85% { transform: rotate(210deg); }
    95% { transform: rotate(240deg); }
    100% { transform: rotate(270deg); }
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .navbar {
    background: #111827;
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .footer {
    background: #111827;
    border-top: 1px solid var(--border-color);
}

[data-theme="dark"] .logo-image {
    opacity: 1;
    filter: none;
    border: none;
    outline: none;
    box-shadow: none;
}

.navbar.scrolled {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.nav-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
}

.nav-logo {
    background: transparent;
    flex-shrink: 0;
    z-index: 1001;
}

.logo-image {
    height: 60px;
    width: auto;
    max-width: 200px;
    transition: var(--transition);
    object-fit: contain;
    background: transparent;
    mix-blend-mode: normal;
    opacity: 1;
    filter: none;
    border: none;
    outline: none;
    box-shadow: none;
}

.logo-image:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo-accent {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex: 1;
    justify-content: flex-end;
}

.nav-menu .btn-cta {
    margin-left: 0.5rem;
    white-space: nowrap;
    font-size: 0.95rem;
    padding: 0.625rem 1.25rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    font-size: 0.95rem;
    text-transform: none;
}

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

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

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


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

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

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

.hero-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    filter: blur(60px);
    opacity: 0;
    animation: float 6s ease-in-out infinite;
    display: none;
}

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

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 15%;
    background: var(--gradient-secondary);
    animation-delay: 2s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    background: var(--gradient-accent);
    animation-delay: 4s;
}

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

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-accent {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    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 0.5s;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.4);
}

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

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

.btn-cta {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.2);
    transition: var(--transition);
}

.btn-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.btn-full {
    width: 100%;
}

.btn-loading {
    display: none;
}

.btn.loading .btn-text {
    display: none;
}

.btn.loading .btn-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Section Styles */
section {
    padding: 5rem 0;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1rem;
}

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

/* About Section */
.about {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    margin: 2rem 0;
}

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

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

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

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px var(--shadow-light);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--shadow-medium);
}

.value-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 24px;
}

.value-item h4 {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.value-item p {
    color: var(--text-light);
    margin: 0;
}

.about-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.visual-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: var(--transition);
}

.visual-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.visual-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

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

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

.service-card {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.75rem;
    color: white;
}

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

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

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature {
    background: var(--bg-secondary);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Process Section */
.process {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    margin: 2rem 0;
}

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.process-step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    align-items: start;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 60px;
    background: var(--border-color);
}

.process-step:last-child .step-number::after {
    display: none;
}

.step-content {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px var(--shadow-light);
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

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

.step-details {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.step-details li {
    color: var(--text-color);
    position: relative;
    padding-left: 1.5rem;
}

.step-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px var(--shadow-light);
}

.contact-card .card-icon {
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.office-locations {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-light);
}

.flag {
    font-size: 1.25rem;
}

/* Form Styles */
.form {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px var(--shadow-light);
}

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

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

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

.form-field input,
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 1rem;
    transition: var(--transition);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="text"] {
    -webkit-appearance: none;
    border-radius: var(--border-radius);
}

.form-field input:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #ffffff;
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo-image {
    height: 100px;
    width: auto;
    max-width: 150px;
    margin-bottom: 1rem;
    transition: var(--transition);
    object-fit: contain;
    background: transparent;
    opacity: 1;
    mix-blend-mode: normal;
    filter: none;
    border: none;
    outline: none;
    box-shadow: none;
}

.footer-logo-image:hover {
    transform: scale(1.05);
}

.footer-brand {
    background: transparent;
}

.footer-logo {
    background: transparent;
}

.footer-brand p {
    color: var(--text-light);
    margin: 1rem 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

.social-links a:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

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

.footer-column a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .nav-container {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .logo-image {
        height: 50px;
        max-width: 160px;
    }
    
    .footer-logo-image {
        height: 60px;
        max-width: 180px;
    }
    
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-color);
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        box-shadow: 0 10px 27px var(--shadow-medium);
        padding: 2rem 0;
        gap: 0.5rem;
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
    
    .nav-menu .btn-cta {
        margin: 1rem 2rem 0;
        width: calc(100% - 4rem);
        max-width: none;
        justify-content: center;
    }
    
    
    .nav-toggle {
        display: flex;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
    }
    
    .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 */
    .hero {
        min-height: auto;
        padding: 6rem 0 3rem;
    }
    
    .hero-content {
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 100%;
        padding: 1rem 1.5rem;
        min-height: 48px;
        font-size: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* About Section */
    .about {
        margin: 1rem 0;
        padding: 2rem 0;
    }
    
    .about-content {
        gap: 2rem;
    }
    
    .about-text h3 {
        font-size: 1.25rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
    
    .value-item {
        padding: 1.25rem;
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
    }
    
    /* Process Section */
    .process {
        margin: 1rem 0;
        padding: 2rem 0;
    }
    
    .process-step {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .step-content {
        padding: 1.5rem;
    }
    
    .step-content h3 {
        font-size: 1.25rem;
    }
    
    .step-content p {
        font-size: 0.95rem;
    }
    
    .step-details {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    /* Contact Section */
    .contact-content {
        gap: 2rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .form {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-field input,
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.875rem 1.5rem;
        min-height: 48px;
        font-size: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding-top: 1.5rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    /* Back to Top */
    .back-to-top {
        width: 48px;
        height: 48px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .logo-image {
        height: 45px;
        max-width: 140px;
    }
    
    .footer-logo-image {
        height: 50px;
        max-width: 150px;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .hero {
        padding: 5rem 0 2rem;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat {
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .about-content {
        gap: 1.5rem;
    }
    
    .about-text h3 {
        font-size: 1.1rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
    }
    
    .value-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .value-item i {
        font-size: 1.25rem;
    }
    
    .service-card {
        padding: 1.25rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .process-step {
        grid-template-columns: 50px 1fr;
        gap: 0.75rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .step-number::after {
        height: 40px;
    }
    
    .step-content {
        padding: 1.25rem;
    }
    
    .step-content h3 {
        font-size: 1.1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .contact-card {
        padding: 1.25rem;
    }
    
    .form {
        padding: 1.25rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-column h4 {
        font-size: 1rem;
    }
    
    .footer-column a {
        font-size: 0.9rem;
    }
    
    .back-to-top {
        width: 44px;
        height: 44px;
        bottom: 1rem;
        right: 1rem;
        font-size: 0.9rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-link,
    .nav-toggle,
    .back-to-top,
    .social-links a {
        min-height: 44px;
        min-width: 44px;
    }
    
    .service-card:hover,
    .value-item:hover,
    .visual-card:hover {
        transform: none;
    }
    
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
    }
}

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

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

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Scroll Animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}


