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

body {
    font-family: 'Work Sans', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fff;
}

/* Accessibility Styles */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #ea580c;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
    border-radius: 4px;
    font-weight: 600;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Reduced motion preference support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .cycling-text {
        animation: none !important;
    }
    
    .typing-cursor {
        animation: none !important;
        opacity: 1 !important;
    }
    
    dotlottie-player {
        display: none !important;
    }
}

/* Focus styles for better keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #ea580c;
    outline-offset: 2px;
}

/* Improve contrast for link text */
.contact-details a {
    color: #ea580c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover,
.contact-details a:focus {
    color: #dc2626;
    text-decoration: underline;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 9999;
    pointer-events: none;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ea580c, #dc2626);
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Loading animations for content */
.loading-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Smooth page transitions */
.page-transition {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.page-transition.loaded {
    opacity: 1;
    transform: translateY(0);
}

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

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: none;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav {
    height: 80px;
    display: flex;
    align-items: center;
    width: 100%;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: flex-start;
    flex: 0 0 auto;
}

.logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
    margin-right: auto;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    text-align: right;
}

.nav-menu a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ea580c;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #ea580c;
}

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

/* Language Switcher Styles */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: 1rem;
}

.lang-btn {
    background: none;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 40px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn:hover {
    border-color: #ea580c;
    color: #ea580c;
    transform: translateY(-1px);
}

.lang-btn.active {
    background: #ea580c;
    border-color: #ea580c;
    color: white;
}

.lang-btn.active:hover {
    background: #dc2626;
    border-color: #dc2626;
}

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 0;
    margin-top: 80px;
    width: 100%;
}

.hero::before {
    content: none;
}

.hero-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 3rem;
}

.hero-content {
    text-align: left;
    max-width: 550px;
    animation: fadeIn 1s ease-out;
    padding-top: 2rem;
    width: 100%;
}

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

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    line-height: 1.05;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, #1a1a1a, #333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cycling-text {
    color: #ea580c;
    position: relative;
    display: inline-block;
    min-width: 10px;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    background: linear-gradient(90deg, #ea580c, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

/* Remove the old cursor animation */
.cycling-text::after {
    content: none;
}

/* New cursor styling */
.typing-cursor {
    color: #ea580c;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    display: inline-block;
    margin-left: 0;
    font-size: 2rem;
    line-height: 1.3;
    animation: none;
    position: relative;
    vertical-align: baseline;
    background: linear-gradient(90deg, #ea580c, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-subtitle {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: -0.01em;
}

.formula {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.formula-translation {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.5rem;
    font-style: italic;
    /* font-weight: 600; */
    color: #1a1a1a;
    margin-bottom: 3rem;
    position: relative;
    padding: 1rem 0;
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.formula-translation::before,
.formula-translation::after {
    content: none;
}

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

.hero-cta .btn {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.hero-cta .btn:hover {
    transform: translateY(-5px);
}

.hero-image {
    position: relative;
    max-width: 500px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 0;
    padding-top: 2rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
}

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

/* Update responsive styles for hero */
@media (max-width: 768px) {
    .nav {
        height: 70px;
    }
    
    .hero {
        margin-top: 70px;
        min-height: auto;
        padding: 2rem 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        width: 100%;
        margin: 0 auto;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
        padding-top: 1.5rem;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .formula-translation {
        font-size: 1.8rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image {
        justify-content: center;
        margin: 0 auto;
        padding-top: 0;
        max-width: 100%;
    }
    
    dotlottie-player {
        max-width: 400px;
        max-height: 400px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .nav {
        height: 60px;
    }
    
    .logo {
        height: 40px;
    }
    
    .hero {
        margin-top: 60px;
        padding: 1.5rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .formula-translation {
        font-size: 1.5rem;
    }
    
    dotlottie-player {
        max-width: 300px;
        max-height: 300px;
        width: 100%;
        margin: 0 auto;
    }
    
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: #ea580c;
    color: white;
    border-color: #ea580c;
}

.btn-primary:hover {
    background: #dc2626;
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #1a1a1a;
    border-color: #1a1a1a;
}

.btn-secondary:hover {
    background: #1a1a1a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 26, 26, 0.2);
}

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

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

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-header p {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.2rem;
    color: #525252;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #fafafa;
    position: relative;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.about-intro {
    text-align: center;
    position: relative;
    padding-bottom: 2rem;
}

.about-intro::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ea580c, #dc2626);
    border-radius: 3px;
}

.about-intro .tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    background: linear-gradient(90deg, #333, #1a1a1a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-intro .highlight {
    font-size: 1.5rem;
    font-weight: 500;
    color: #ea580c;
    line-height: 1.4;
    max-width: 700px;
    margin: 0 auto;
}

.about-description {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

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

.pillar {
    background-color: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-top: 3px solid transparent;
}

.pillar:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-top-color: #ea580c;
}

.pillar-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.pillar p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
}

.pillar p strong {
    color: #1a1a1a;
    font-weight: 600;
}

.about-core {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    background-color: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.about-core::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(to bottom, #ea580c, #dc2626);
}

.about-core p {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

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

.approach h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.approach ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem 3rem;
}

.approach li {
    font-size: 1.1rem;
    position: relative;
    padding-left: 1.8rem;
    color: #333;
}

.approach li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ea580c;
    font-weight: bold;
}

.about-closing {
    text-align: center;
    padding: 2rem;
    background-color: #f0f0f0;
    border-radius: 16px;
}

.about-closing p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.closing-statement {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.yuzbir {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: #ea580c;
    background: linear-gradient(90deg, #ea580c, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Media Queries for About Section */
@media (max-width: 992px) {
    .team-pillars {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .approach ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 80px 0;
    }
    
    .about-content {
        gap: 3rem;
    }
    
    .about-intro .tagline {
        font-size: 2rem;
    }
    
    .about-intro .highlight {
        font-size: 1.3rem;
    }
    
    .about-description {
        font-size: 1.1rem;
    }
    
    .about-core {
        padding: 2rem;
    }
    
    .about-core p {
        font-size: 1.1rem;
    }
    
    .closing-statement {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 60px 0;
    }
    
    .about-content {
        gap: 2.5rem;
    }
    
    .about-intro .tagline {
        font-size: 1.8rem;
    }
    
    .about-intro .highlight {
        font-size: 1.2rem;
    }
    
    .pillar {
        padding: 2rem 1.5rem;
    }
    
    .approach h4 {
        font-size: 1.2rem;
    }
    
    .approach li {
        font-size: 1rem;
    }
}

/* Services Section */
.services {
    background: #f8fafc;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ea580c, #dc2626);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.service-description {
    font-size: 1.1rem;
    color: #525252;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-weight: 500;
}

.service-details {
    margin-top: 1.5rem;
}

.service-details p {
    color: #374151;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.service-details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #4b5563;
    line-height: 1.5;
}

.service-details li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: #ea580c;
    font-weight: bold;
}

/* Portfolio Section - Professional & Concise */
.portfolio {
    background: #fafafa;
    padding: 5rem 0;
}

/* Portfolio Filters - Clean & Minimal */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 2.5rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #64748b;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ea580c;
    transition: width 0.3s ease;
}

.filter-btn:hover {
    color: #1a1a1a;
    border-color: #cbd5e1;
}

.filter-btn.active {
    color: #ea580c;
    border-color: #ea580c;
    background: rgba(234, 88, 12, 0.05);
}

.filter-btn.active::before {
    width: 100%;
}

/* Portfolio Grid - Clean Layout */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

/* Loading State */
.portfolio-loading {
    grid-column: 1/-1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    color: #64748b;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f4f6;
    border-top-color: #ea580c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

/* Portfolio Item - Professional Card Design */
.portfolio-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: #e2e8f0;
}

.portfolio-item.hidden {
    display: none;
}

/* Portfolio Image with Overlay */
.portfolio-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.9) 0%, rgba(220, 38, 38, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay-content {
    text-align: center;
    color: white;
}

.portfolio-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.portfolio-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.portfolio-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.portfolio-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Portfolio Content - Clean Typography */
.portfolio-body {
    padding: 1.75rem;
}

.portfolio-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.portfolio-body p {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Result Badge */
.portfolio-result {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #059669;
    background: rgba(5, 150, 105, 0.08);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.portfolio-result::before {
    content: '↗';
    font-size: 1rem;
}

/* Technology Tags - Minimal Style */
.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.tag {
    font-size: 0.75rem;
    color: #64748b;
    background: #f8fafc;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

/* Portfolio Modal Styles */
.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.portfolio-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 90vw;
    max-height: 90vh;
    width: 800px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: translateY(50px);
    transition: transform 0.3s ease;
}

.portfolio-modal.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
}

.modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #1a1a1a;
}

.modal-body {
    display: flex;
    flex-direction: column;
    max-height: calc(90vh - 80px);
    overflow-y: auto;
}

.modal-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-content {
    padding: 1.5rem;
}

.modal-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.modal-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.modal-category-tag {
    background: #ea580c;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: capitalize;
}

.modal-client {
    color: #6b7280;
    font-size: 0.9rem;
}

.modal-description {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.modal-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.modal-technologies strong,
.modal-duration strong,
.modal-results strong {
    color: #1a1a1a;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.modal-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.modal-tech-tag {
    background: #f1f5f9;
    color: #64748b;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.modal-duration,
.modal-results {
    color: #6b7280;
    font-size: 0.95rem;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.modal-visit-btn {
    background: #ea580c;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-visit-btn:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.modal-visit-btn svg {
    width: 16px;
    height: 16px;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-item {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.portfolio-item:nth-child(1) { animation-delay: 0.05s; }
.portfolio-item:nth-child(2) { animation-delay: 0.1s; }
.portfolio-item:nth-child(3) { animation-delay: 0.15s; }
.portfolio-item:nth-child(4) { animation-delay: 0.2s; }
.portfolio-item:nth-child(5) { animation-delay: 0.25s; }
.portfolio-item:nth-child(6) { animation-delay: 0.3s; }
.portfolio-item:nth-child(7) { animation-delay: 0.35s; }
.portfolio-item:nth-child(8) { animation-delay: 0.4s; }

/* Responsive Design */
@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .portfolio {
        padding: 4rem 0;
    }
    
    .portfolio-filters {
        margin: 2rem 0;
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.8125rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-image {
        height: 160px;
    }
    
    .portfolio-body {
        padding: 1.5rem;
    }
    
    .portfolio-body h3 {
        font-size: 1.125rem;
    }
    
    .portfolio-body p {
        font-size: 0.875rem;
    }
    
    /* Mobile responsiveness for modal */
    .modal-container {
        max-width: 95vw;
        max-height: 95vh;
        width: 100%;
        margin: 0 1rem;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-title {
        font-size: 1.25rem;
    }
    
    .modal-content {
        padding: 1rem;
    }
    
    .modal-image {
        height: 200px;
    }
    
    .modal-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .modal-body {
        max-height: calc(95vh - 60px);
    }
}

@media (max-width: 480px) {
    .portfolio-filters {
        gap: 0.375rem;
    }
    
    .filter-btn {
        padding: 0.375rem 0.875rem;
        font-size: 0.75rem;
    }
    
    .portfolio-body {
        padding: 1.25rem;
    }
}

/* Contact Section */
.contact {
    background: #fef7f0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.contact-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #525252;
    margin-bottom: 2rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: #525252;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.contact-form input.error,
.contact-form textarea.error {
    border-color: #dc2626;
    background-color: #fef2f2;
}

.contact-form input.error:focus,
.contact-form textarea.error:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.field-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.contact-form button {
    align-self: flex-start;
}

/* Footer Styles */
.footer {
    background: #161616;
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #ea580c, #dc2626);
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.footer-tagline {
    font-size: 1.1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #ea580c;
    color: white;
    transform: translateY(-3px);
}

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

.footer-column h4 {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 30px;
    height: 2px;
    background-color: #ea580c;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-column address {
    font-style: normal;
    font-size: 1rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column address a {
    color: #ea580c;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
    display: inline-block;
}

.footer-column address a:hover {
    color: white;
}

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

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

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

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: white;
}

/* Responsive footer */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 4rem 0 2rem;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
}

/* General Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }

    .language-switcher {
        margin-left: 0.5rem;
    }

    .lang-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
        min-width: 35px;
        height: 32px;
    }

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

    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }

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

@media (max-width: 480px) {
    .nav-menu {
        gap: 0.5rem;
    }

    .language-switcher {
        margin-left: 0.25rem;
        gap: 0.25rem;
    }

    .lang-btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.75rem;
        min-width: 30px;
        height: 28px;
    }

    .section-header h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Loading animation for form submission */
.loading-dots span {
    display: inline-block;
    opacity: 0.2;
    animation: pulse 1.4s infinite;
    transition: opacity 0.3s ease;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

/* Animation for section headers and cards */
.section-header, .about-card, .service-card {
    will-change: opacity, transform;
}

/* Lottie animation */
dotlottie-player {
    width: 100%;
    height: auto;
    max-width: 500px;
    max-height: 500px;
} 