/* ===========================================
   Softoria - Professional Website Styles
   Brand Colors: #143669 (Primary), #66c0c2 (Accent)
   =========================================== */

/* 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: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Arabic and Kurdish Font Support */
body[dir="rtl"], 
[lang="ar"], 
[lang="ku"], 
.arabic-text, 
.kurdish-text {
    font-family: 'Noto Kufi Arabic', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-content,
[dir="rtl"] .about-content,
[dir="rtl"] .contact-content {
    direction: rtl;
}

[dir="rtl"] .feature,
[dir="rtl"] .contact-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-buttons {
    justify-content: flex-end;
}

/* CSS Variables */
:root {
    --primary-color: #143669;
    --accent-color: #66c0c2;
    --dark-bg: #0f1419;
    --light-bg: #f8fafc;
    --text-dark: #1a202c;
    --text-light: #718096;
    --white: #ffffff;
    --border-light: #e2e8f0;
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --gradient-hero: linear-gradient(135deg, #0f1419 0%, var(--primary-color) 100%);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f1419 0%, var(--primary-color) 50%, #0f1419 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-container {
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-animation {
    animation: logoFloat 3s ease-in-out infinite;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.actual-logo-container {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(20, 54, 105, 0.3);
    animation: logoGlow 2s ease-in-out infinite alternate;
    margin: 0 auto;
}

.actual-logo-container::before,
.actual-logo-container::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-color), rgba(102, 192, 194, 0.6));
    animation: logoParticles 3s ease-in-out infinite;
}

.actual-logo-container::before {
    top: -10px;
    right: 10px;
    animation-delay: 0s;
}

.actual-logo-container::after {
    bottom: -10px;
    left: 10px;
    animation-delay: 1.5s;
    background: linear-gradient(45deg, var(--primary-color), rgba(20, 54, 105, 0.6));
}

@keyframes logoParticles {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

.actual-logo {
    width: 70px;
    height: 70px;
    max-width: 70px;
    max-height: 70px;
    object-fit: contain;
    /* Keep original colors - remove filter */
    animation: logoRotate 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.3));
    display: block;
    margin: 0 auto;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

@keyframes logoGlow {
    0% { 
        box-shadow: 0 8px 32px rgba(20, 54, 105, 0.3), 0 0 20px rgba(102, 192, 194, 0.2); 
        transform: scale(1);
    }
    100% { 
        box-shadow: 0 12px 40px rgba(20, 54, 105, 0.4), 0 0 30px rgba(102, 192, 194, 0.4); 
        transform: scale(1.05);
    }
}

@keyframes logoRotate {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-5deg) scale(1.1); }
    50% { transform: rotate(0deg) scale(1); }
    75% { transform: rotate(5deg) scale(1.1); }
    100% { transform: rotate(0deg) scale(1); }
}

.loading-text {
    display: flex;
    justify-content: center;
    gap: 0.1rem;
    margin-bottom: 2rem;
}

.loading-letter {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 700;
    animation: letterBounce 2s ease-in-out infinite;
    text-shadow: 0 2px 4px rgba(102, 192, 194, 0.3);
}

.loading-letter:nth-child(1) { animation-delay: 0.1s; }
.loading-letter:nth-child(2) { animation-delay: 0.2s; }
.loading-letter:nth-child(3) { animation-delay: 0.3s; }
.loading-letter:nth-child(4) { animation-delay: 0.4s; }
.loading-letter:nth-child(5) { animation-delay: 0.5s; }
.loading-letter:nth-child(6) { animation-delay: 0.6s; }
.loading-letter:nth-child(7) { animation-delay: 0.7s; }
.loading-letter:nth-child(8) { animation-delay: 0.8s; }

@keyframes letterBounce {
    0%, 60%, 100% { 
        transform: translateY(0) scale(1); 
        color: var(--accent-color);
    }
    30% { 
        transform: translateY(-12px) scale(1.1); 
        color: var(--primary-color);
    }
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 0 auto 1rem;
    overflow: hidden;
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    transition: width 0.3s ease;
    animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(102, 192, 194, 0.5); }
    50% { box-shadow: 0 0 20px rgba(102, 192, 194, 0.8), 0 0 30px rgba(102, 192, 194, 0.6); }
}

.loading-percentage {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.8;
}

.preloader-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.preloader-particles::before,
.preloader-particles::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: particleFloat 4s ease-in-out infinite;
}

.preloader-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.preloader-particles::after {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    background: var(--primary-color);
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-30px) rotate(180deg); opacity: 1; }
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
    transition: var(--transition);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo .logo {
    height: 40px;
    width: auto;
}

.nav-logo .brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

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

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

.nav-link.cta-button {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    margin-left: 1rem;
}

.nav-link.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

/* Language Switcher */
.language-switcher {
    position: relative;
    margin-left: 1rem;
}

.current-lang {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(20, 54, 105, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
}

.current-lang:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
}

.current-lang i.fa-chevron-down {
    font-size: 0.7rem;
    transition: var(--transition);
}

.language-switcher.active .current-lang i.fa-chevron-down {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-light);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

.language-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    border-radius: 8px;
    margin: 0.25rem;
    font-size: 0.9rem;
}

.lang-option:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    transform: translateX(3px);
}

.lang-option.active {
    background: var(--gradient-primary);
    color: var(--white);
}

.flag-icon {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

/* Hide Mobile Language Elements on Desktop */
.mobile-lang-btn,
.mobile-lang-options {
    display: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
    z-index: 10000;
    position: relative;
}

.hamburger:hover {
    background: rgba(20, 54, 105, 0.1);
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
    transform-origin: center;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--accent-color);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: var(--accent-color);
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.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"><defs><radialGradient id="c" cx="50%" r="20%"><stop offset="0%" stop-color="%2366c0c2" stop-opacity="0.1"/><stop offset="100%" stop-color="%2366c0c2" stop-opacity="0"/></radialGradient></defs><circle fill="url(%23c)" cx="200" cy="200" r="200"/><circle fill="url(%23c)" cx="800" cy="800" r="200"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

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

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

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--accent-color), #4fd1c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Graphics */
.hero-graphic {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(102, 192, 194, 0.3);
    border-radius: 50%;
    position: absolute;
    animation: rotate 20s linear infinite;
}

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

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-weight: 500;
    animation: floatCard 6s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30%;
    left: 0%;
    animation-delay: 2s;
}

.card-3 {
    top: 50%;
    right: -10%;
    animation-delay: 4s;
}

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

.floating-card i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* Section Styles */
section {
    padding: 80px 0;
}

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

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

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

/* About Section */
.about {
    background: var(--light-bg);
}

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

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.feature span {
    font-weight: 500;
    color: var(--text-dark);
}

.about-graphic {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
}

.tech-item {
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    background: var(--gradient-primary);
    color: var(--white);
}

/* Services Section */
.services {
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

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

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

.service-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

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

.service-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

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

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

.service-cta {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-cta:hover {
    color: var(--primary-color);
}

/* Portfolio Section */
.portfolio {
    background: var(--light-bg);
}

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

.portfolio-item {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.portfolio-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.portfolio-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.portfolio-tags span {
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    background: var(--white);
}

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

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

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.contact-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-light);
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 16px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(102, 192, 194, 0.1);
}

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

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo .logo {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo .brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-heavy);
        padding: 80px 0 2rem 0;
        height: 100vh;
        overflow-y: auto;
        z-index: 9999;
    }
    
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(20, 54, 105, 0.02), rgba(102, 192, 194, 0.02));
        z-index: -1;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        margin: 0.5rem 2rem;
        padding: 1rem 2rem;
        border-radius: 50px;
        display: block;
        transition: var(--transition);
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--text-dark);
        border: 2px solid transparent;
    }
    
    .nav-menu a:hover {
        background: var(--gradient-primary);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: var(--shadow-medium);
    }
    
    .nav-menu .cta-button {
        background: var(--gradient-primary);
        color: var(--white);
        margin-top: 1rem;
        border: 2px solid var(--primary-color);
    }
    
    .nav-menu .cta-button:hover {
        background: var(--white);
        color: var(--primary-color);
        border: 2px solid var(--primary-color);
    }
    
    /* Hide Desktop Language Switcher on Mobile */
    .nav-menu .language-switcher {
        display: none;
    }
    
    /* Mobile Floating Language Button */
    .mobile-lang-btn {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        background: var(--gradient-primary);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: var(--shadow-heavy);
        cursor: pointer;
        transition: var(--transition);
        z-index: 1001;
        border: none;
        color: var(--white);
        font-size: 1.2rem;
        font-weight: 600;
    }
    
    .mobile-lang-btn:hover,
    .mobile-lang-btn.active {
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(20, 54, 105, 0.3);
    }
    
    .mobile-lang-options {
        position: fixed;
        bottom: 85px;
        right: 20px;
        background: var(--white);
        border-radius: 16px;
        box-shadow: var(--shadow-heavy);
        padding: 1rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px) scale(0.9);
        transition: var(--transition);
        z-index: 1000;
        min-width: 140px;
    }
    
    .mobile-lang-options.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }
    
    .mobile-lang-option {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem;
        text-decoration: none;
        color: var(--text-dark);
        border-radius: 12px;
        margin-bottom: 0.5rem;
        transition: var(--transition);
        font-weight: 500;
    }
    
    .mobile-lang-option:last-child {
        margin-bottom: 0;
    }
    
    .mobile-lang-option:hover {
        background: var(--light-bg);
        color: var(--primary-color);
        transform: translateX(5px);
    }
    
    .mobile-lang-option.active {
        background: var(--gradient-primary);
        color: var(--white);
    }
    
    .mobile-lang-option .flag-icon {
        font-size: 1.2rem;
    }
    
    /* Show mobile language elements */
    .mobile-lang-btn,
    .mobile-lang-options {
        display: flex;
    }
    
    .mobile-lang-options {
        display: block;
    }
    
    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-graphic {
        height: 300px;
    }
    
    .floating-card {
        position: relative;
        margin: 0.5rem;
        transform: none !important;
        animation: none !important;
    }
    
    .card-1, .card-2, .card-3 {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .tech-stack {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 15px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .service-card,
    .contact-form {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    /* Enhanced Mobile Interactions */
    .service-card:active,
    .portfolio-item:active,
    .btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* Mobile-specific improvements */
    .hero-description {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .floating-card {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }
    
    /* Mobile Contact Form */
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 1rem;
        border-radius: 12px;
        min-height: 48px;
        -webkit-appearance: none;
        -webkit-border-radius: 12px;
    }
    
    .form-group input:focus,
    .form-group textarea:focus {
        transform: scale(1.02);
        box-shadow: 0 0 0 3px rgba(102, 192, 194, 0.2);
    }
    
    /* Mobile Navigation Improvements */
    .nav-container {
        padding: 0 15px;
    }
    
    .hamburger {
        padding: 8px;
        border-radius: 8px;
        transition: var(--transition);
    }
    
    .hamburger:active {
        background: rgba(20, 54, 105, 0.1);
    }
    
    /* Mobile Language Switcher */
    .lang-option {
        min-height: 48px;
        font-size: 0.95rem;
    }
    
    /* Mobile Footer */
    .footer-content {
        text-align: center;
        gap: 2rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .social-links a {
        min-width: 48px;
        min-height: 48px;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.loading.loaded {
    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; }