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

:root {
    --primary-blue: #1e40af;
    --secondary-blue: #3b82f6;
    --accent-orange: #f59e0b;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --card-bg: #1e293b;
    --text-light: #f1f5f9;
    --text-muted: #cbd5e1;
    --border-color: rgba(59, 130, 246, 0.2);
    --success-green: #10b981;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--dark-bg);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Skip to Content Link for Accessibility */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--secondary-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 8px 0;
    z-index: 10001;
    transition: top 0.3s ease;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid var(--accent-orange);
    outline-offset: 2px;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.company-name {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

/* Fallback for browsers that don't support background-clip: text */
@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
    .company-name {
        background: none;
        -webkit-text-fill-color: initial;
        color: #ffffff;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

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

.nav-menu a:hover {
    color: var(--secondary-blue);
}

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

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

.cta-nav-btn {
    background: linear-gradient(135deg, var(--accent-orange), #ea580c) !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.cta-nav-btn::after {
    display: none !important;
}

.cta-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.mobile-toggle {
    display: none;
    background: none;
    border: 2px solid transparent;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 1001;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-toggle:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--secondary-blue);
}

.mobile-toggle:focus {
    outline: 2px solid var(--secondary-blue);
    outline-offset: 2px;
}

.hamburger-icon {
    display: block;
    line-height: 1;
}

/* Hero Section */
.hero {
    margin-top: 90px;
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 58, 138, 0.92) 50%, rgba(15, 23, 42, 0.98) 100%);
    position: relative;
    overflow: hidden;
    padding: 4rem 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    max-width: 1100px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-blue);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #3b82f6 60%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Fallback for browsers that don't support background-clip: text */
@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
    .hero h1 {
        background: none;
        -webkit-text-fill-color: initial;
        color: #ffffff;
    }
}

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

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.btn {
    padding: 1.1rem 2.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange), #ea580c);
    color: white;
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(245, 158, 11, 0.5);
}

.btn-secondary {
    background: rgba(59, 130, 246, 0.15);
    color: white;
    border: 2px solid var(--secondary-blue);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(59, 130, 246, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(59, 130, 246, 0.3);
}

/* Section Styles */
section {
    padding: 6rem 2rem;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

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

.section-tag {
    color: var(--secondary-blue);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Fallback for browsers that don't support background-clip: text */
@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
    .section-title {
        background: none;
        -webkit-text-fill-color: initial;
        color: #ffffff;
    }
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

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

.service-card {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.15), rgba(15, 23, 42, 0.5));
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    margin-top: 0;
    color: var(--text-light);
    border-left: 4px solid var(--primary-blue);
    padding-left: 1rem;
}

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

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

.service-features li {
    color: var(--text-light);
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-features li::before {
    content: "✓";
    color: var(--success-green);
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* Stats Section */
.stats {
    background: var(--dark-bg);
}

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

.stat-card {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(6, 182, 212, 0.05));
    border: 1px solid var(--border-color);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.3);
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary-blue), #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

/* Fallback for browsers that don't support background-clip: text */
@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
    .stat-number {
        background: none;
        -webkit-text-fill-color: initial;
        color: var(--secondary-blue);
    }
}

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

/* Portfolio Page Hero */
.portfolio-hero {
    background: linear-gradient(135deg, var(--darker-bg), var(--dark-bg));
    padding: 8rem 2rem 4rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.portfolio-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.portfolio-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary-blue), #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.portfolio-hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Portfolio CTA Section */
.portfolio-cta-section {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.3), rgba(15, 23, 42, 0.8));
    padding: 6rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.portfolio-cta-content h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 700;
}

.portfolio-cta-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Active nav link */
nav a.active {
    color: var(--secondary-blue);
    font-weight: 600;
}

/* Portfolio Section */
.portfolio {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

/* Portfolio Stats Bar */
.portfolio-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.2), rgba(15, 23, 42, 0.6));
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.portfolio-stat {
    text-align: center;
    padding: 1rem;
}

.portfolio-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary-blue), #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.portfolio-stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Portfolio Filters */
.portfolio-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 3rem 0;
    padding: 0 1rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.filter-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--secondary-blue);
    transform: translateY(-2px);
}

.filter-btn:focus {
    outline: 2px solid var(--secondary-blue);
    outline-offset: 2px;
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--secondary-blue), #2563eb);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

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

/* Project Card */
.project-card {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.15), rgba(15, 23, 42, 0.5));
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}

.project-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.3);
}

/* Project Image Container */
.project-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.project-badge {
    background: var(--accent-orange);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
}

.project-type {
    background: rgba(59, 130, 246, 0.9);
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.85rem;
}

/* Project Content */
.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.project-location {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.project-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.project-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.project-detail {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0.4rem 0.8rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.project-cta {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--secondary-blue), #2563eb);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.project-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.project-cta:focus {
    outline: 2px solid var(--secondary-blue);
    outline-offset: 2px;
}

/* Project Modal */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-modal.show {
    display: flex;
    opacity: 1;
}

.project-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.project-modal-content {
    position: relative;
    background: var(--card-bg);
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px;
    border: 2px solid var(--border-color);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    animation: modalSlideUp 0.4s ease;
    z-index: 1;
}

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

.project-modal-close {
    position: sticky;
    top: 1rem;
    right: 1rem;
    float: right;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.project-modal-close:hover {
    background: #dc2626;
    transform: rotate(90deg);
}

.project-modal-close:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Modal Header */
.project-modal-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.project-modal-image-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.project-modal-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* Project Gallery Styles */
.project-gallery {
    position: relative;
}

.gallery-main {
    position: relative;
    width: 100%;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    backdrop-filter: blur(4px);
}

.gallery-main:hover .gallery-nav {
    opacity: 1;
}

.gallery-nav:hover {
    background: rgba(59, 130, 246, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-prev {
    left: 1rem;
}

.gallery-next {
    right: 1rem;
}

.gallery-nav.hidden {
    display: none;
}

.gallery-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
    z-index: 10;
}

.gallery-counter.hidden {
    display: none;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-blue) var(--card-bg);
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: var(--card-bg);
    border-radius: 3px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: var(--secondary-blue);
    border-radius: 3px;
}

.gallery-thumbnails.hidden {
    display: none;
}

.gallery-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.gallery-thumbnail:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.gallery-thumbnail.active {
    border-color: var(--secondary-blue);
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-value-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-orange);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.project-modal-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-modal-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.project-modal-location {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.project-modal-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.modal-stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.modal-stat-item strong {
    color: var(--secondary-blue);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-stat-item span {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Modal Body */
.project-modal-body {
    padding: 1.5rem 2rem;
}

.project-modal-section {
    margin-bottom: 1.25rem;
}

.project-modal-section h3 {
    font-size: 1.4rem;
    color: var(--secondary-blue);
    margin-bottom: 0.65rem;
    font-weight: 700;
}

.project-modal-section p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1.05rem;
    margin-bottom: 0;
}

.modal-services-list,
.modal-results-list {
    list-style: none;
    padding: 0;
}

.modal-services-list li {
    color: var(--text-light);
    padding: 0.4rem 0;
    padding-left: 2rem;
    position: relative;
}

.modal-services-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--secondary-blue);
    font-size: 1.2rem;
}

.modal-results-list li {
    color: var(--text-light);
    padding: 0.4rem 0;
    font-size: 1.05rem;
}

.project-team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.team-item {
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.team-item strong {
    color: var(--secondary-blue);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.3rem;
}

.team-item span {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* Modal Testimonial */
.project-modal-testimonial {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.2), rgba(15, 23, 42, 0.6));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
    text-align: center;
}

.testimonial-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.project-modal-testimonial blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.project-modal-testimonial cite {
    color: var(--text-muted);
    font-style: normal;
    font-size: 1rem;
}

/* Modal Footer */
.project-modal-footer {
    padding: 2rem;
    background: rgba(30, 58, 138, 0.1);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.project-modal-footer p {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials-section {
    background: var(--dark-bg);
    padding: 6rem 2rem;
}

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

.testimonial-card {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.15), rgba(15, 23, 42, 0.5));
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 5rem;
    color: rgba(59, 130, 246, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.2);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
}

.author-company {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.testimonial-project {
    color: var(--secondary-blue);
    font-size: 0.9rem;
    font-weight: 500;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.project-showcase {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.2), rgba(15, 23, 42, 0.6));
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.project-showcase h3 {
    font-size: 2rem;
    color: var(--secondary-blue);
    margin-bottom: 1.5rem;
}

.project-showcase > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    list-style: none;
}

.project-item {
    padding: 1.2rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-item:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateX(5px);
}

.project-item strong {
    color: var(--secondary-blue);
    font-weight: 600;
}

.project-item span {
    color: var(--text-muted);
    font-weight: 500;
}

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

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    margin-top: 3rem;
}

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

.contact-info-title {
    font-size: 2rem;
    color: var(--secondary-blue);
    margin-bottom: 2rem;
    font-weight: 700;
}

.contact-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    padding-left: 1.8rem;
    background: rgba(30, 58, 138, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: rgba(59, 130, 246, 0.8);
    transform: translateX(5px);
    background: rgba(30, 58, 138, 0.15);
}

.contact-item-content strong {
    display: block;
    color: var(--secondary-blue);
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.contact-item-content a {
    color: #06b6d4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item-content a:hover {
    color: var(--secondary-blue);
}

/* Contact Form */
.contact-form {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.2), rgba(15, 23, 42, 0.6));
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.contact-form h3 {
    font-size: 2rem;
    color: var(--secondary-blue);
    margin-bottom: 2rem;
    font-weight: 700;
}

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

.form-group label {
    display: block;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.6rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

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

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--secondary-blue), #2563eb);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.error-message {
    display: block;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    min-height: 1.25rem;
}

/* Message Modal */
.message-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.message-modal.show {
    display: flex;
    opacity: 1;
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    border: 2px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease;
}

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

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon {
    background: linear-gradient(135deg, var(--success-green), #059669);
    color: white;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.error-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.success-modal .modal-title {
    color: var(--success-green);
}

.error-modal .modal-title {
    color: #ef4444;
}

.modal-message {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-close-btn {
    background: linear-gradient(135deg, var(--primary-blue), #2563eb);
    color: white;
    border: none;
    padding: 0.9rem 2.5rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.modal-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* License Section */
.license-section {
    padding: 4rem 2rem;
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

.license-card {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.2), rgba(15, 23, 42, 0.6));
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.license-card h3 {
    font-size: 2rem;
    color: var(--secondary-blue);
    margin-bottom: 2rem;
    font-weight: 700;
}

.license-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    text-align: left;
}

.license-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.2rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.license-item:hover {
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-3px);
}

.license-item strong {
    color: var(--secondary-blue);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.license-item span {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
}

.status-active {
    color: var(--success-green) !important;
    font-weight: 600 !important;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

/* Footer */
footer {
    background: var(--darker-bg);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

footer p {
    color: var(--text-muted);
    margin: 0.5rem 0;
}

footer strong {
    color: var(--secondary-blue);
}

footer a {
    color: var(--secondary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #06b6d4;
    text-decoration: underline;
}

footer a:focus {
    outline: 2px solid var(--secondary-blue);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .project-modal-header {
        grid-template-columns: 1fr;
    }
    
    .project-modal-image {
        height: 250px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(10px);
        padding: 2rem;
        gap: 1.5rem;
        transition: left 0.3s ease;
        border-bottom: 1px solid var(--border-color);
        z-index: 1000;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

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

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

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

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

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

    .logo-img {
        height: 50px;
    }

    .company-name {
        font-size: 1.1rem;
    }

    .license-details {
        grid-template-columns: 1fr;
    }

    .license-card {
        padding: 2rem;
    }

    .license-card h3 {
        font-size: 1.5rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }

    .modal-icon {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-message {
        font-size: 1rem;
    }
    
    /* Portfolio Mobile Styles */
    .portfolio-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .portfolio-stat-number {
        font-size: 2rem;
    }
    
    .portfolio-stat-label {
        font-size: 0.85rem;
    }
    
    .portfolio-filters {
        overflow-x: auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding: 0 1rem 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .portfolio-filters::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        flex-shrink: 0;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-image-container {
        height: 220px;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .project-meta {
        gap: 0.5rem;
    }
    
    .project-detail {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    /* Project Modal Mobile */
    .project-modal-content {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }
    
    .project-modal-header {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }
    
    .project-modal-image {
        height: 200px;
    }
    
    /* Gallery Mobile Styles */
    .gallery-nav {
        width: 38px;
        height: 38px;
        font-size: 1.5rem;
        opacity: 1;
    }
    
    .gallery-prev {
        left: 0.5rem;
    }
    
    .gallery-next {
        right: 0.5rem;
    }
    
    .gallery-counter {
        bottom: 0.5rem;
        right: 0.5rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .gallery-thumbnail {
        width: 70px;
        height: 50px;
    }
    
    .project-modal-title {
        font-size: 1.5rem;
    }
    
    .project-modal-location {
        font-size: 0.95rem;
    }
    
    .project-modal-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .project-modal-body {
        padding: 1rem 1.5rem;
    }
    
    .project-modal-section {
        margin-bottom: 1rem;
    }
    
    .project-modal-section h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .project-modal-section p {
        font-size: 0.95rem;
    }
    
    .project-team-grid {
        grid-template-columns: 1fr;
    }
    
    .project-modal-footer {
        padding: 1.5rem;
    }
    
    .project-modal-footer p {
        font-size: 1rem;
    }
    
    /* Testimonials Mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem;
    }
    
    .testimonial-card::before {
        font-size: 4rem;
    }
    
    .testimonial-quote {
        font-size: 1rem;
    }
    
    /* Portfolio Hero Mobile */
    .portfolio-hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    .portfolio-hero-title {
        font-size: 2.2rem;
    }
    
    .portfolio-hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Portfolio CTA Mobile */
    .portfolio-cta-section {
        padding: 4rem 1.5rem;
    }
    
    .portfolio-cta-content h2 {
        font-size: 1.8rem;
    }
    
    .portfolio-cta-content p {
        font-size: 1rem;
    }
    
    .portfolio-cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .portfolio-cta-buttons .btn {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    header,
    .mobile-toggle,
    .hero-buttons,
    .contact-form,
    .message-modal,
    .skip-to-content {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero,
    .services,
    .stats,
    .projects,
    .contact {
        background: white;
        color: black;
        page-break-inside: avoid;
    }
    
    .service-card,
    .stat-card,
    .project-item {
        border: 1px solid #333;
        page-break-inside: avoid;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }
}
