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

/* Additional mobile-first resets */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
    cursor: pointer;
    transition: all 0.4s ease;
}

.nav-logo h2 {
    font-weight: 800;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    overflow: visible;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

.logo-name {
    display: flex;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.name-part {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 800;
    display: inline-block;
}

/* First Name - Khalid (Blue) */
.name-part.visible {
    color: #2563eb;
    opacity: 1;
    max-width: 20px;
    transform: translateX(0);
}

.name-part.hidden {
    color: #2563eb;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transform: translateX(0);
}

/* Last Name - Hamadeh (Gray) */
.name-part.last-name {
    color: #6b7280;
    margin-left: 0;
}

.name-part.last-name + .name-part.hidden {
    color: #6b7280;
}

.logo-divider {
    color: #d1d5db;
    font-weight: 300;
    margin: 0 8px;
    font-size: 1.2rem;
}

.logo-tagline {
    color: #6b7280;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
}

/* Hover Effect */
.nav-logo:hover .name-part.hidden {
    opacity: 1;
    max-width: 100px;
    transform: translateX(0);
}

.nav-logo:hover .logo-tagline {
    color: #2563eb;
    transform: translateY(-1px);
}

.nav-logo:hover .logo-divider {
    color: #2563eb;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.highlight {
    color: #2563eb;
}

.hero-description {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
}

.stat-label {
    font-size: 0.875rem;
    color: #475569;
    font-weight: 500;
}

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

/* Client Logos Carousel */
.client-logos-section {
    margin-top: 3rem;
    padding: 2rem 0;
    background: transparent;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.logos-label {
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.logos-carousel {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    mask: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, black 20%, black 80%, transparent);
}

.logos-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    animation: scroll 30s linear infinite;
    width: max-content;
    min-width: 100%;
}

.client-logo {
    height: 40px;
    width: auto;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.client-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #2563eb;
    color: white;
}

.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #64748b;
    color: white;
}

.btn-secondary:hover {
    background-color: #475569;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #2563eb;
    border-color: #2563eb;
}

.btn-outline:hover {
    background-color: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 8px solid white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #64748b;
}

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

.about-description {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2.5rem;
}

.about-highlights .highlight-item {
    padding: 0;
}

.about-highlights .highlight-item h4 {
    color: #2563eb !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    margin-bottom: 0.75rem !important;
    letter-spacing: -0.01em;
}

.about-highlights .highlight-item p {
    color: #4b5563 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-info {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: #2563eb;
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.info-item h4 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-item p {
    color: #64748b;
    font-size: 0.95rem;
}

.about-img {
    width: 100%;
    border-radius: 1rem;
    object-fit: cover;
    height: 300px;
}

/* Experience Section */
.experience {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 120px;
}

.timeline-marker {
    position: absolute;
    left: 35px;
    top: 0;
    width: 30px;
    height: 30px;
    background: white;
    border: 3px solid #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.company-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.company-initial {
    font-weight: 700;
    font-size: 0.75rem;
    color: #2563eb;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

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

.timeline-header h3 {
    color: #1e293b;
    font-weight: 600;
    font-size: 1.25rem;
}

.timeline-header h4 {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.timeline-date {
    color: #64748b;
    font-weight: 500;
    font-size: 0.95rem;
}

.expand-btn {
    background: #f1f5f9;
    border: none;
    padding: 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    color: #2563eb;
    transition: all 0.3s ease;
}

.expand-btn:hover {
    background: #e2e8f0;
}

.expand-btn.active i {
    transform: rotate(180deg);
}

.timeline-description {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.expandable-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.expandable-content.active {
    max-height: 1000px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.detail-item h5 {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.detail-item p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Projects Section */
.projects {
    padding: 80px 0;
    background-color: #ffffff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.project-card.expanded {
    transform: none;
    cursor: default;
}

.project-header {
    padding: 1.5rem 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.project-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.project-type,
.project-year,
.project-status {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.project-type {
    background: #dbeafe;
    color: #1d4ed8;
}

.project-year {
    background: #f3f4f6;
    color: #374151;
}

.project-status {
    background: #dcfce7;
    color: #166534;
}

.project-expand-btn {
    background: none;
    border: none;
    color: #2563eb;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-expand-btn:hover {
    background: #f1f5f9;
    color: #1d4ed8;
}

.project-expand-btn.expanded {
    transform: rotate(180deg);
}

.project-preview {
    padding: 0 1.5rem 1.5rem;
}

.project-preview h3 {
    color: #1e293b;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-preview p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-preview-image {
    margin-bottom: 1rem;
}

.preview-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.project-expanded-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.project-expanded-content.expanded {
    max-height: 2000px;
}

/* Project Expanded Area - Opens below all cards */
.project-expanded-area {
    grid-column: 1 / -1;
    margin-top: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, margin-top 0.5s ease;
}

.project-expanded-area.active {
    max-height: 2000px;
    margin-top: 2rem;
}

.project-expanded-area .project-details {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: flex-start;
    padding: 2rem;
}

.project-expanded-area .carousel-slide img {
    max-height: 600px;
}

.project-expanded-area .carousel-container {
    min-height: 500px;
}

.project-details {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.project-description {
    margin-bottom: 2rem;
}

.project-description p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
}

.stat-item .stat-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.project-carousel {
    margin-bottom: 2rem;
}

.carousel-container {
    position: relative;
    background: #f8fafc;
    border-radius: 0.75rem;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.carousel-slide img:hover {
    transform: scale(1.02);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    color: #374151;
}

.carousel-btn:hover {
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #2563eb;
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8fafc;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #2563eb;
    transform: scale(1.2);
}

.dot:hover {
    background: #64748b;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 0.75rem 1.5rem;
    background: #f1f5f9;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.project-link:hover {
    color: #1d4ed8;
    background: #dbeafe;
}

/* Image Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: #374151;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: #f3f4f6;
    transform: scale(1.1);
}

/* Clients Section */
.clients {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.client-showcase {
    margin-bottom: 4rem;
}

.client-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.client-info h3 {
    color: #1e293b;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.client-meta {
    color: #2563eb;
    font-weight: 600;
    margin-bottom: 1rem;
}

.client-description {
    color: #64748b;
    line-height: 1.6;
}

.client-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.client-logo-large {
    height: 60px;
    object-fit: contain;
}

.client-screenshot {
    width: 100%;
    max-width: 400px;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.client-logos-section {
    text-align: center;
}

.client-logos-section h4 {
    color: #1e293b;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.client-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.client-logo {
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0%);
}

/* Skills Section */
.skills {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.skill-category {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 1rem;
    border-left: 4px solid #2563eb;
}

.skill-category h3 {
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.skill-list {
    list-style: none;
}

.skill-list li {
    color: #475569;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    padding-left: 1.5rem;
}

.skill-list li:last-child {
    border-bottom: none;
}

.skill-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 700;
}

/* Achievements Section */
.achievements {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

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

.achievement-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
}

.achievement-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
}

.achievement-number .number {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
}

.achievement-number .suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-left: 0.25rem;
}

.achievement-card h4 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.achievement-card p {
    color: #64748b;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: #fafbfc;
}

.services-intro {
    margin: 3rem 0;
}

.value-props {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto 2rem;
}

.value-prop {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.value-prop i {
    color: #10b981;
    font-size: 1.25rem;
}

.value-prop span {
    color: #334155;
    font-weight: 500;
}


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

.service-column {
    position: relative;
}

.service-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 0.375rem 1.25rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
    letter-spacing: 0.05em;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}


/* Price Hero Styling */
.price-hero {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 1rem;
    color: #2563eb;
}

.price-currency {
    font-size: 1.25rem;
    font-weight: 600;
    margin-right: 0.25rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    font-weight: 500;
    margin-left: 0.5rem;
    color: #2563eb;
}

.price-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}


.service-card.featured {
    border-color: #2563eb;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.1);
}

.service-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.service-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.service-icon i {
    font-size: 1.75rem;
    color: #2563eb;
}

.service-header h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.price-tag {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2563eb;
    margin: 0.5rem 0;
}

.price-note {
    font-size: 0.875rem;
    color: #64748b;
    font-style: italic;
}

.service-description {
    margin: 1.5rem 0;
    flex: 1;
}

.service-description p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.ideal-for {
    background: #f0f9ff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin: 1rem 0 1.5rem !important;
    font-size: 0.95rem;
}

.ideal-for strong {
    color: #1e40af;
}

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

.service-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #475569;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Tech Stack Preview */
.tech-stack-preview {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tech-tag {
    background: #e0e7ff;
    color: #3730a3;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Service Card Buttons */
.btn-service-primary,
.btn-service-secondary,
.btn-service-tertiary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    gap: 0.5rem;
}

.btn-service-primary {
    background: #2563eb;
    color: white;
    border: 2px solid #2563eb;
}

.btn-service-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-service-secondary {
    background: white;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-service-secondary:hover {
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-service-tertiary {
    background: #f8fafc;
    color: #475569;
    border: 2px solid #e2e8f0;
}

.btn-service-tertiary:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-footer {
    padding-top: 1.5rem;
    margin-top: auto;
}


.services-cta {
    margin-top: 4rem;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
}

.cta-content h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.services-cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.services-cta .btn {
    padding: 0.875rem 2rem;
}

.services-cta .btn-primary {
    background: white;
    color: #2563eb;
}

.services-cta .btn-primary:hover {
    background: #f8fafc;
}

.services-cta .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.services-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cta-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
}

/* Comparison Section */
.comparison-section {
    margin: 4rem 0;
}

.comparison-section h3 {
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #1e293b;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.comparison-table thead {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.comparison-table th {
    padding: 1.25rem 1rem;
    text-align: center;
    font-weight: 700;
    color: #475569;
    border-bottom: 3px solid #e2e8f0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.comparison-table th.highlight-column {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    position: relative;
}

.comparison-table th.highlight-column::after {
    content: "\f521"; /* FontAwesome crown icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -8px;
    right: 8px;
    font-size: 1.25rem;
    color: #fbbf24;
}

.comparison-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.comparison-table tbody tr:hover {
    background-color: #f8fafc;
    transform: scale(1.01);
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table td {
    padding: 1.25rem 1rem;
    color: #475569;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
}

.comparison-table td:first-child {
    font-weight: 700;
    color: #1e293b;
    text-align: left;
    background: #fafbfc;
    border-right: 2px solid #e2e8f0;
}

.comparison-table td.highlight-column {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
    font-weight: 700;
    position: relative;
}

.comparison-table tbody tr:nth-child(even) {
    background-color: #fafbfc;
}

.comparison-table tbody tr:nth-child(even):hover {
    background-color: #f1f5f9;
}

.comparison-table tbody tr:nth-child(even) td.highlight-column {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

/* Comparison Table Icons */
.comparison-table .icon-yes {
    color: #10b981;
    margin-right: 0.5rem;
}

.comparison-table .icon-no {
    color: #ef4444;
    margin-right: 0.5rem;
}

.comparison-table .icon-warning {
    color: #f59e0b;
    margin-right: 0.5rem;
}


/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.contact-info h2 {
    color: #1e293b;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: #64748b;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

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

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

.contact-item i {
    color: #2563eb;
    font-size: 1.25rem;
    width: 20px;
}

.contact-item h4 {
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #1d4ed8;
}

.contact-item p {
    color: #64748b;
}

.contact-cta {
    background: #f8fafc;
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
}

.contact-cta h3 {
    color: #1e293b;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-cta p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
}

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

.cta-buttons .btn {
    min-width: 180px;
    justify-content: center;
}

/* Footer */
.footer {
    background-color: #1e293b;
    color: white;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left h3 {
    color: #2563eb;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-left p {
    color: #94a3b8;
}

.footer-right p {
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* ABM card medium screen adjustments */
    .tech-content-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tech-stack-compact {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .hero-stats {
        justify-content: center;
    }

    .client-logos-section {
        margin-top: 2rem;
    }

    .logos-track {
        gap: 2rem;
    }

    .client-logo {
        height: 32px;
    }

    .profile-img {
        width: 300px;
        height: 300px;
    }

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

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-marker {
        left: 5px;
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-expanded-area .project-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-expanded-area .carousel-slide img {
        max-height: 400px;
    }
    
    .carousel-slide img {
        max-height: 350px;
    }
    
    .carousel-container {
        min-height: 300px;
    }
    
    .project-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .stat-item .stat-number {
        font-size: 1.25rem;
    }

    .client-feature {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .client-logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

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

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

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .course-grid {
        grid-template-columns: 1fr;
    }
    
    /* Services Section Responsive */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .value-props {
        grid-template-columns: 1fr;
    }
    
    .services-cta {
        padding: 2rem;
    }
    
    .services-cta .cta-buttons {
        flex-direction: column;
    }
    
    .services-cta .btn {
        width: 100%;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .price-currency {
        font-size: 1rem;
    }
    
    .price-period {
        font-size: 0.875rem;
    }
    
    .comparison-table {
        font-size: 0.8rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .comparison-table th {
        font-size: 0.75rem;
    }
    
    .comparison-table th.highlight-column::after {
        font-size: 1rem;
        top: -6px;
        right: 4px;
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        color: #fbbf24;
    }
    
    /* Mobile table scroll container */
    .comparison-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        border-radius: 8px;
        margin: 0 -15px; /* Extend to container edges for better mobile UX */
        border-radius: 0; /* Remove border radius for edge-to-edge design */
    }
    
    .comparison-table thead,
    .comparison-table tbody,
    .comparison-table tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }
    
    .comparison-table thead {
        width: calc(100% - 17px);
    }
    
    .comparison-table th,
    .comparison-table td {
        min-width: 120px;
        padding: 0.5rem 0.25rem;
        font-size: 0.7rem;
    }
    
    /* Mobile icon adjustments */
    .comparison-table .icon-yes,
    .comparison-table .icon-no,
    .comparison-table .icon-warning {
        margin-right: 0.35rem;
        font-size: 0.75rem;
    }
    
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        min-width: 100px;
        position: sticky;
        left: 0;
        background: white;
        z-index: 1;
        border-right: 2px solid #e2e8f0;
    }
    
    /* Fix all rigid 2-column layouts for mobile */
    .hero-container,
    .about-content,
    .about-highlights,
    .detail-grid,
    .client-feature,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .tech-projects {
        flex-direction: column;
    }
    
    .project-stats {
        grid-template-columns: 1fr;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-buttons .btn {
        justify-content: center;
        width: 100%;
        max-width: 300px;
    }

    .profile-img {
        width: 250px;
        height: 250px;
    }

    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Client portfolio cards mobile fix */
    .client-logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1.25rem;
    }
    
    .client-logo {
        height: 35px;
        object-fit: contain;
        width: 100%;
        max-width: 100px;
    }
    
    /* Ultra-small table adjustments */
    .comparison-table th,
    .comparison-table td {
        min-width: 100px;
        padding: 0.4rem 0.2rem;
        font-size: 0.65rem;
    }
    
    /* Ultra-small icon adjustments */
    .comparison-table .icon-yes,
    .comparison-table .icon-no,
    .comparison-table .icon-warning {
        margin-right: 0.25rem;
        font-size: 0.7rem;
    }
    
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        min-width: 80px;
    }
    
    /* Reduce tech card metric widths for small screens */
    .project-impact-inline .impact-metric {
        min-width: 100px !important;
    }
    
    /* Architecture diagram mobile fixes */
    .diagram-flow {
        justify-content: flex-start !important;
        gap: 10px;
    }
    
    .flow-step {
        min-width: 60px;
        max-width: 80px;
        text-align: center;
    }
    
    .flow-step span {
        font-size: 0.7rem;
    }
    
    .flow-step small {
        font-size: 0.6rem;
    }
    
    .flow-arrow {
        font-size: 0.8rem;
        margin: 0 2px;
    }
    
    /* Universal word-breaking for technical content */
    .tech-tag,
    .highlight-item span,
    .tech-description,
    .project-description,
    .about-description,
    .comparison-table td {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        word-break: break-word !important;
        hyphens: auto;
    }
    
    /* Final overflow protection for all major sections */
    section,
    .hero,
    .about,
    .experience,
    .projects,
    .technical-engineering,
    .services,
    .contact {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
}

/* Extra small mobile devices */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .profile-img {
        width: 200px;
        height: 200px;
    }
    
    /* Ultra-small screen client cards */
    .client-logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
        gap: 1rem;
    }
    
    .client-logo {
        height: 30px;
        max-width: 90px;
    }
    
    /* Ultra-narrow screen tech metrics */
    .project-impact-inline .impact-metric {
        min-width: 80px !important;
        flex: 0 1 auto;
    }
    
    .project-impact-inline {
        gap: 10px !important;
    }
    
    /* Ultra-small architecture diagrams */
    .flow-step {
        min-width: 50px !important;
        max-width: 65px !important;
    }
    
    .flow-step span {
        font-size: 0.6rem !important;
    }
    
    .flow-step small {
        font-size: 0.55rem !important;
    }
    
    .diagram-flow {
        gap: 5px !important;
    }
    
    /* Full-width project responsive for mobile */
    .tech-project-fullwidth .tech-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .project-impact-inline {
        margin-left: 0;
        gap: 20px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .project-impact-inline .impact-metric {
        flex: 1;
        min-width: 140px;
    }

    /* Completely restructure ABM card for mobile */
    .tech-project-fullwidth {
        padding: 20px;
        margin-bottom: 30px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .tech-project-fullwidth * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .tech-content-row {
        display: block !important;
        grid-template-columns: none !important;
        gap: 0;
    }
    
    .tech-project-fullwidth .tech-description {
        width: 100%;
        margin-bottom: 25px;
    }
    
    .tech-stack-compact {
        width: 100%;
        margin-top: 25px;
    }
    
    .tech-stack-compact .stack-category {
        margin-bottom: 20px;
    }
    
    /* Allow tech tags to wrap naturally without constraints */
    .tech-stack-compact .tech-tags {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .tech-stack-compact .tech-tag {
        max-width: none !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: normal !important;
        flex-shrink: 0;
        font-size: 0.85rem;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr !important;
    }

    .differentiator-points {
        flex-direction: column;
    }
}

/* Desktop-specific styles to ensure proper layout */
@media (min-width: 769px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    
    .tech-projects {
        display: flex;
        flex-direction: row;
        gap: 30px;
    }
    
    /* Ensure optimal desktop client logos */
    .client-logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 2rem;
    }
    
    .client-logo {
        height: 40px;
        max-width: 150px;
    }
}

/* Technical Marketing Engineering Section */
.technical-engineering {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.tech-showcase {
    max-width: 1000px;
    margin: 0 auto;
}

.tech-intro {
    text-align: center;
    margin-bottom: 60px;
}

.tech-intro h3 {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 20px;
    font-weight: 700;
}

.tech-intro p {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Tech Projects */
.tech-projects {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
}

.tech-project {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    flex: 1;
}

.tech-project.featured {
    border-left: 4px solid #2563eb;
    transform: scale(1.02);
}

/* Full-width tech project styling */
.tech-project-fullwidth {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    border-left: 4px solid #10b981;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.tech-project-fullwidth:hover {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.tech-project-fullwidth .tech-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.project-impact-inline {
    display: flex;
    gap: 30px;
    margin-left: auto;
}

.tech-content-row {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.tech-stack-compact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tech-stack-compact .stack-category {
    margin-bottom: 0;
}

.tech-project-fullwidth .architecture-diagram {
    margin-top: 30px;
}

.tech-project:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.tech-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.tech-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.tech-icon i {
    color: white;
    font-size: 1.2rem;
}

.tech-title h4 {
    font-size: 1.5rem;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 5px;
}

.tech-label {
    background: #dbeafe;
    color: #1d4ed8;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tech-description {
    margin-bottom: 25px;
}

.tech-description p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}

/* Tech Stack */
.tech-stack {
    margin-bottom: 25px;
}

.stack-category {
    margin-bottom: 15px;
}

.stack-category strong {
    color: #374151;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 8px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

/* Tech Highlights */
.tech-highlights {
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.highlight-item i {
    color: #059669;
    margin-right: 12px;
    width: 16px;
}

.highlight-item span {
    color: #374151;
    font-size: 0.9rem;
}

/* Automation Capabilities */
.automation-capabilities {
    margin-bottom: 60px;
}

.automation-capabilities h3 {
    text-align: center;
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 40px;
    font-weight: 700;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.capability-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.capability-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px -3px rgba(0, 0, 0, 0.1);
}

.capability-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

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

.capability-item h4 {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 12px;
    font-weight: 600;
}

.capability-item p {
    color: #64748b;
    line-height: 1.6;
}

/* Technical Differentiator */
.technical-differentiator {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.differentiator-content h3 {
    text-align: center;
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 40px;
    font-weight: 700;
}

.differentiator-points {
    display: flex;
    gap: 40px;
}

.point {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.point i {
    color: #f59e0b;
    font-size: 1.2rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.point strong {
    color: #1e293b;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 8px;
}

.point p {
    color: #64748b;
    line-height: 1.6;
}

/* Project Impact Metrics */
.project-impact {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.impact-metric {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.metric-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.metric-content strong {
    display: block;
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.metric-content span {
    color: #64748b;
    font-size: 0.8rem;
}

/* Architecture Diagrams */
.architecture-diagram {
    margin-bottom: 25px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.diagram-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #e2e8f0;
}

.diagram-header:hover {
    background: #f1f5f9;
}

.diagram-header h5 {
    color: #374151;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.toggle-icon {
    color: #6b7280;
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.toggle-icon.rotated {
    transform: rotate(180deg);
}

.diagram-content {
    padding: 20px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.diagram-content.collapsed {
    max-height: 0;
    padding: 0 20px;
}

.diagram-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 80px;
    transition: transform 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-3px);
}

.step-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.flow-step:hover .step-icon {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.flow-step span {
    font-size: 0.8rem;
    color: #374151;
    font-weight: 500;
    text-align: center;
}

.flow-arrow {
    color: #9ca3af;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Enhanced Tech Tag Hover Effects */
.tech-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-tag:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Enhanced Project Hover Effects */
.tech-project {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.tech-project::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.8s ease;
}

.tech-project:hover::before {
    left: 100%;
}

.tech-project:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.15);
}

/* Enhanced Capability Items */
.capability-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.capability-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #10b981, #059669);
    transition: width 0.4s ease;
}

.capability-item:hover::before {
    width: 100%;
}

.capability-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.15);
}

.capability-item:hover .capability-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Success Stories Section */
.success-stories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.story-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.story-card.featured {
    border-left: 4px solid #10b981;
    transform: scale(1.02);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.15);
}

.story-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.story-card .client-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
}

.story-card .client-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.story-meta h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
}

.industry-tag {
    background: #f1f5f9;
    color: #64748b;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.story-impact {
    margin-bottom: 20px;
}

.primary-result {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-radius: 12px;
    border: 1px solid #bbf7d0;
}

.result-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #059669;
    line-height: 1;
    margin-bottom: 4px;
}

.result-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #047857;
    margin-bottom: 4px;
}

.result-context {
    font-size: 0.9rem;
    color: #065f46;
    font-weight: 500;
}

.story-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
}

.metric {
    font-size: 0.9rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
}

.metric strong {
    color: #2563eb;
    font-weight: 700;
    min-width: 50px;
}

.story-description {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Success Summary */
.success-summary {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 40px;
    border-radius: 16px;
    text-align: center;
}

.success-summary h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: white;
}

.portfolio-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.portfolio-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #10b981;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 500;
}

