/* ============================================
           CRITICAL CSS - Inlined for Faster LCP
           ============================================ */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #26a9e0;
    --primary-dark: #1e8bc3;
    --text-color: #333333;
    --background-color: #f7f9fc;
    --white: #ffffff;
    --gray-light: #e5e7eb;
    --gray-medium: #6b7280;
    --section-padding: 80px;
    --container-max: 1200px;
    --border-radius: 6px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(32px, 5vw, 48px);
}

h2 {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(22px, 3vw, 28px);
}

p {
    margin-bottom: 1rem;
    font-size: 18px;
    line-height: 1.7;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styles */
section {
    padding: var(--section-padding) 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Button Styles - Optimized for Interaction */
.btn {
    display: inline-block !important;
    padding: 14px 32px !important;
    background: var(--primary-color) !important;
    color: var(--white) !important;
    text-decoration: none;
    border-radius: var(--border-radius) !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    border: none !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    text-align: center !important;
}

.btn:hover,
.btn:focus {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(38, 169, 224, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* ============================================
           HERO SECTION - Above the Fold Optimization
           ============================================ */
.HeroArea .hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #26a9e0 0%, #1e8bc3 100%);
    color: var(--white);
    overflow: hidden;
    padding: 0;
    text-align: left;
    cursor: auto;
}

.HeroArea .container {
    max-width: 650px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Define dimensions to prevent CLS */
.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.gallery-image {
}
.gallery-image img {
    max-height: 600px;
}

/* ============================================
           CLIENT OVERVIEW
           ============================================ */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.overview-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.overview-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ============================================
           TIMELINE
           ============================================ */
.project-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 3rem 0;
}

.stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.stat-detail {
    font-size: 14px;
    color: var(--gray-medium);
    margin: 0;
}

/* Vertical Timeline */
.vertical-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.vertical-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--gray-light);
    top: 0;
}

.timeline-phase {
    display: flex;
    align-items: flex-start;
    margin-bottom: 60px;
    position: relative;
}

.timeline-phase:nth-child(odd) {
    flex-direction: row;
    text-align: right;
}

.timeline-phase:nth-child(odd) .phase-content {
    margin-right: 40px;
    margin-left: 0;
}

.timeline-phase:nth-child(odd) .phase-icon {
    order: 2;
}

.timeline-phase:nth-child(even) {
    flex-direction: row-reverse;
    text-align: left;
}

.timeline-phase:nth-child(even) .phase-content {
    margin-left: 40px;
    margin-right: 0;
}

.phase-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.phase-content {
    flex: 1;
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    max-width: 400px;
}

.phase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.phase-header h3 {
    font-size: 20px;
    margin: 0;
}

.phase-duration {
    font-size: 14px;
    color: var(--gray-medium);
    font-weight: 600;
}

.phase-content p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-medium);
    margin-bottom: 15px;
}

.phase-status {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.completed-status {
    background: #d1fae5;
    color: #065f46;
}

.progress-status {
    background: #dbeafe;
    color: #1e40af;
}

.upcoming-status {
    background: #f3f4f6;
    color: #6b7280;
}

/* Timeline phase states */
.timeline-phase.completed .phase-content {
    border-left: 4px solid #10b981;
}

.timeline-phase.in-progress .phase-content {
    border-left: 4px solid #3b82f6;
}

.timeline-phase.upcoming .phase-content {
    border-left: 4px solid #9ca3af;
    opacity: 0.85;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 3rem auto;
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-date {
    min-width: 120px;
    font-weight: 600;
    color: var(--primary-color);
    padding-right: 20px;
}

.timeline-content {
    flex: 1;
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
}

.timeline-content::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 20px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary-color);
}

/* ============================================
           TEAM COMPOSITION
           ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.team-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
}

.team-role {
    font-weight: 600;
    margin-bottom: 5px;
}

.team-count {
    color: var(--gray-medium);
    font-size: 14px;
}

/* ============================================
           DESIGN HIGHLIGHTS
           ============================================ */
.typography-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.type-sample {
    text-align: center;
    padding: 25px;
    background: var(--background-color);
    border-radius: 8px;
}

.type-display {
    color: var(--text-color);
}

.type-info strong {
    display: block;
    margin-top: 15px;
    font-size: 16px;
}

.color-palette-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.color-item-large {
    background: var(--background-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.color-box-large {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.color-details h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-color);
}

.color-palette-secondary {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--gray-light);
}

.color-swatch-small {
    text-align: center;
    min-width: 120px;
}

.color-box-small {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    margin: 0 auto 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.color-label-small strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.color-label-small span {
    font-size: 12px;
    color: var(--gray-medium);
}

.design-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.design-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

/* Prevent CLS by defining aspect ratio */
.design-image {
    width: 100%;
    height: 250px;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-medium);
    font-size: 14px;
}

.design-card-content {
    padding: 20px;
}

.color-palette {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.color-swatch {
    text-align: center;
}

.color-box {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 2px solid var(--gray-light);
}

.color-label {
    font-size: 14px;
    font-weight: 600;
}

/* ============================================
           DELIVERABLES
           ============================================ */
.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.deliverable-card {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.deliverable-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.deliverable-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.deliverable-card h3 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-color);
}

.platform-badge {
    text-align: center;
    margin-bottom: 15px;
}

.platform-badge span {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin: 0 4px;
}

.badge-android {
    background: #3ddc84;
    color: #fff;
}

.badge-ios {
    background: #000000;
    color: #fff;
}

.badge-web {
    background: var(--primary-color);
    color: #fff;
}

.deliverable-card > p {
    text-align: center;
    color: var(--gray-medium);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.deliverable-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.deliverable-features li {
    padding: 8px 0 8px 28px;
    position: relative;
    font-size: 14px;
    color: var(--text-color);
}

.deliverable-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
}

/* ============================================
           TECH STACK
           ============================================ */
.tech-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 2rem;
}

.tech-item {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.tech-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.tech-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.tech-category {
    font-size: 14px;
    color: var(--gray-medium);
}

/* ============================================
           CHALLENGES & SOLUTIONS
           ============================================ */
.challenge-solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.challenge,
.solution {
    position: relative;
}

.challenge h4 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

.solution h4 {
    color: #27ae60;
    margin-bottom: 1rem;
}

.challenge::before,
.solution::before {
    content: "";
    position: absolute;
    top: 0;
    left: -15px;
    width: 4px;
    height: 100%;
    border-radius: 2px;
}

.challenge::before {
    background: #e74c3c;
}

.solution::before {
    background: #27ae60;
}

/* ============================================
           ARCHITECTURE DIAGRAM
           ============================================ */
.architecture-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 3rem;
    align-items: start;
}

.architecture-left {
    display: flex;
    justify-content: center;
}

.aws-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 3px solid #2196f3;
    border-radius: 16px;
    padding: 40px 30px;
    width: 100%;
    max-width: 450px;
}

.aws-logo {
    text-align: center;
    margin-bottom: 30px;
}

.monolith-box {
    background: var(--white);
    border: 3px solid #2196f3;
    border-radius: 12px;
    padding: 30px 25px;
}

.api-layer {
    background: linear-gradient(135deg, #bbdefb 0%, #90caf9 100%);
    border: 2px solid #2196f3;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    color: #1565c0;
}

.api-layer:last-child {
    margin-bottom: 0;
}

.architecture-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.app-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid var(--gray-light);
    position: relative;
}

.app-item::before {
    content: "";
    position: absolute;
    left: -42px;
    top: 50%;
    width: 40px;
    height: 2px;
    background: #2196f3;
    border-top: 2px dashed #2196f3;
}

.app-icon-box {
    width: 70px;
    height: 70px;
    background: var(--background-color);
    border: 2px solid #2196f3;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-icon-dual {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.app-details {
    flex: 1;
}

.app-details h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.app-platform {
    font-size: 13px;
    color: var(--gray-medium);
    font-weight: 600;
    margin-bottom: 10px;
}

.app-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.app-features li {
    font-size: 14px;
    color: var(--text-color);
    padding: 3px 0;
    position: relative;
    padding-left: 16px;
}

.app-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-color);
}

.architecture-diagram {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin-top: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.architecture-placeholder {
    width: 100%;
    height: 400px;
    background: var(--gray-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-medium);
    font-size: 18px;
}

/* ============================================
           KEY FEATURES GRID
           ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 1rem;
}

/* ============================================
           METRICS / RESULTS
           ============================================ */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.metric-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.metric-value {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.metric-label {
    font-size: 16px;
    color: var(--gray-medium);
}

/* ============================================
           TESTIMONIAL
           ============================================ */
.testimonial {
    background: var(--white);
    padding: 50px;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.quote-icon {
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 30px;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-size: 20px;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gray-light);
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-title {
    color: var(--gray-medium);
    font-size: 14px;
}

/* ============================================
           AWARDS / MEDIA MENTIONS
           ============================================ */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.award-badge {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.award-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

/* ============================================
           GALLERY / CAROUSEL
           ============================================ */
.gallery {
    margin-top: 2rem;
    position: relative;
    padding: 0 60px;
}

.gallery-container {
    display: flex;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.gallery-item {
    min-width: 300px;

    scroll-snap-align: start;

    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-medium);

    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-nav:hover {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(38, 169, 224, 0.3);
}

.gallery-nav span {
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
}

.gallery-nav:hover span {
    color: var(--white);
}

.gallery-nav-prev {
    left: 0;
}

.gallery-nav-next {
    right: 0;
}

.gallery-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.gallery-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-light);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-indicator.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 6px;
}

/* ============================================
           RELATED PROJECTS
           ============================================ */
.related-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.project-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-color);
    display: block;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: 200px;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-medium);
}

.project-info {
    padding: 25px;
}

.project-tag {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* ============================================
           FINAL CTA SECTION
           ============================================ */
.final-cta {
    background: linear-gradient(135deg, #26a9e0 0%, #1e8bc3 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
}

.final-cta h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.final-cta p {
    font-size: 20px;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.final-cta .btn {
    background: var(--white);
    color: var(--primary-color);
    font-size: 18px;
    padding: 16px 40px;
}

.final-cta .btn:hover {
    background: var(--background-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.case-studies-section {
    background-color: var(--background-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.case-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    opacity: 1;
    transform: translateY(0);
}

.case-card.hidden {
    display: none;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.case-card-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    position: relative;
    overflow: hidden;
}

.case-card-image::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.case-card-image::after {
    content: attr(data-domain);
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    opacity: 0.3;
}

.case-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.domain-tag {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(38, 169, 224, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    width: fit-content;
}

.case-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.case-card-description {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.view-case-study {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.view-case-study:hover {
    color: var(--accent-color);
    gap: 12px;
}

.view-case-study::after {
    content: "→";
    font-size: 1.25rem;
}

.no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
    display: none;
}

.no-results.visible {
    display: block;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

/* ============================================
           FOOTER
           ============================================ 
        footer {
            background: var(--text-color);
            color: var(--white);
            padding: 40px 0 20px;
            text-align: center;
        }*/

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* ============================================
           RESPONSIVE DESIGN - Mobile First
           ============================================ */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .HeroArea .hero {
        min-height: 500px;
    }

    .hero-image {
        width: 100%;
        opacity: 0.1;
    }

    .challenge-solution {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Architecture Responsive */
    .architecture-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .app-item::before {
        display: none;
    }

    .aws-box {
        max-width: 100%;
    }

    /* Gallery Responsive */
    .gallery {
        padding: 0 40px;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
    }

    .gallery-nav span {
        font-size: 28px;
    }

    .gallery-item {
        min-width: 250px;
        height: 400px;
    }

    /* Mobile Timeline */
    .vertical-timeline::before {
        left: 30px;
    }

    .timeline-phase {
        flex-direction: row !important;
        text-align: left !important;
    }

    .timeline-phase:nth-child(odd) .phase-content,
    .timeline-phase:nth-child(even) .phase-content {
        margin-left: 20px;
        margin-right: 0;
        max-width: 100%;
    }

    .timeline-phase:nth-child(odd) .phase-icon {
        order: 0;
    }

    .phase-icon {
        width: 50px;
        height: 50px;
    }

    .phase-icon span {
        font-size: 20px !important;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-date {
        margin-bottom: 10px;
    }

    .testimonial {
        padding: 30px 20px;
    }

    .testimonial-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    p {
        font-size: 16px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .metric-value {
        font-size: 36px;
    }
}

.Comming {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 100px;
}

/* ============================================
           ANIMATIONS - Performance Optimized
           ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
.btn:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}


/* ============================================
           FAQ SECTION
           ============================================ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: var(--white);
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--background-color);
}

.faq-question::after {
    content: "+";
    font-size: 28px;
    font-weight: 300;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-question.active::after {
    content: "−";
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 30px;
}

.faq-answer.active {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    color: var(--gray-medium);
    line-height: 1.7;
}

.faq-answer ul {
    margin-top: 10px;
    padding-left: 25px;
    color: var(--gray-medium);
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-answer li {
    margin-bottom: 8px;
}
