/* Modern FineTech Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #22c55e;
    --primary-yellow: #eab308;
    --primary-red: #ef4444;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(34, 197, 94, 0.1);
    --shadow-lg: 0 20px 60px rgba(34, 197, 94, 0.15);
    --gradient: linear-gradient(135deg, var(--primary-green), var(--primary-yellow));
    --nav-height: 80px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --primary-green: #22c55e;
    --primary-yellow: #eab308;
    --primary-red: #ef4444;
    --dark-bg: #0f172a;
    --light-bg: #1e293b;
    --text-dark: #f8fafc;
    --text-light: #94a3b8;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    --gradient: linear-gradient(135deg, var(--primary-green), var(--primary-yellow));
    --nav-height: 80px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Styles */
[data-theme="dark"] body {
    background: var(--dark-bg);
    color: var(--text-dark);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
}

[data-theme="dark"] .nav-link {
    color: var(--text-dark);
}

[data-theme="dark"] .nav-link:hover {
    background: rgba(34, 197, 94, 0.15);
    color: var(--primary-green);
}

[data-theme="dark"] .nav-link.active {
    background: var(--gradient);
    color: white;
}

[data-theme="dark"] .dropdown-menu {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .dropdown-item {
    color: var(--text-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .dropdown-item:hover {
    background: rgba(34, 197, 94, 0.15);
    color: var(--primary-green);
}

[data-theme="dark"] .dropdown-item i {
    background: rgba(34, 197, 94, 0.2);
    color: var(--primary-green);
}

[data-theme="dark"] .theme-toggle {
    background: rgba(34, 197, 94, 0.15);
    color: var(--primary-green);
}

[data-theme="dark"] .theme-toggle:hover {
    background: var(--gradient);
    color: white;
}

[data-theme="dark"] .nav-toggle .hamburger-line {
    background: var(--text-dark);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

[data-theme="dark"] .section-title {
    color: var(--text-dark);
}

[data-theme="dark"] .section-description {
    color: var(--text-light);
}

[data-theme="dark"] .service-card {
    background: var(--light-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .project-card {
    background: var(--light-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form textarea {
    background: var(--light-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-dark);
}

[data-theme="dark"] .contact-form input::placeholder,
[data-theme="dark"] .contact-form textarea::placeholder {
    color: var(--text-light);
}

[data-theme="dark"] .step-card {
    background: var(--light-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .about-content {
    color: var(--text-dark);
}

[data-theme="dark"] .feature-item {
    color: var(--text-dark);
}

/* Dark mode for sections */
[data-theme="dark"] .services {
    background: var(--dark-bg);
}

[data-theme="dark"] .process {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

[data-theme="dark"] .about {
    background: var(--dark-bg);
}

[data-theme="dark"] .projects {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

[data-theme="dark"] .contact {
    background: var(--dark-bg);
}

[data-theme="dark"] .contact-form {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

[data-theme="dark"] .contact-info h2,
[data-theme="dark"] .contact-info h4 {
    color: var(--text-dark);
}

[data-theme="dark"] .contact-info p {
    color: var(--text-light);
}

[data-theme="dark"] .contact-item i {
    background: rgba(34, 197, 94, 0.2);
    color: var(--primary-green);
}

[data-theme="dark"] .service-card h3,
[data-theme="dark"] .step-content h3,
[data-theme="dark"] .project-info h3 {
    color: var(--text-dark);
}

[data-theme="dark"] .service-card p,
[data-theme="dark"] .step-content p,
[data-theme="dark"] .project-info p {
    color: var(--text-light);
}

[data-theme="dark"] .service-link {
    color: var(--primary-green);
}

[data-theme="dark"] .project-tag {
    background: rgba(34, 197, 94, 0.2);
    color: var(--primary-green);
    border-color: rgba(34, 197, 94, 0.3);
}

[data-theme="dark"] .project-tech span {
    background: rgba(34, 197, 94, 0.1);
    color: var(--text-dark);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .about-badge {
    background: var(--light-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .about-badge h4 {
    color: var(--text-dark);
}

[data-theme="dark"] .about-badge p {
    color: var(--text-light);
}

[data-theme="dark"] .step-number {
    color: var(--text-dark);
}

[data-theme="dark"] .step-icon i {
    color: var(--primary-green);
}

[data-theme="dark"] .section-badge {
    background: rgba(34, 197, 94, 0.15);
    color: var(--primary-green);
}

/* Dark mode for mobile menu */
[data-theme="dark"] .nav-menu {
    background: var(--dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .nav-menu .nav-link {
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Modern Header & Navbar */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0;
    height: var(--nav-height);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Modern Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 2px;
}

.logo-accent {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    transition: var(--transition);
    position: relative;
    font-size: 0.95rem;
}

.nav-link:hover {
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary-green);
    transform: translateY(-1px);
}

.nav-link.active {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.nav-link i {
    font-size: 0.9rem;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 0.25rem;
    transition: var(--transition);
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-item:first-child {
    border-radius: 16px 16px 0 0;
}

.dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 16px 16px;
}

.dropdown-item:hover {
    background: rgba(34, 197, 94, 0.08);
    color: var(--primary-green);
}

.dropdown-item i {
    width: 40px;
    height: 40px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1rem;
}

.dropdown-item div {
    display: flex;
    flex-direction: column;
}

.dropdown-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.dropdown-desc {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Toggle */
.theme-toggle {
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 12px;
    color: var(--primary-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.1rem;
}

.theme-toggle:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

/* CTA Button */
.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
    font-size: 0.95rem;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.4);
}

.nav-btn i {
    font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary-green);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gradient-text {
    color: var(--primary-green);
}

.typing-text {
    display: inline-block;
    color: var(--primary-green);
    position: relative;
    min-width: 300px;
}

.typing-text::after {
    content: '|';
    position: absolute;
    right: -10px;
    animation: blink 0.5s infinite;
    color: inherit;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--white);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
}

.stat-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.visual-card {
    position: absolute;
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
}

.visual-card i {
    font-size: 2rem;
    color: var(--primary-green);
}

.card-1 {
    top: 10%;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 30%;
    right: 0;
    animation-delay: 0.5s;
}

.card-3 {
    bottom: 30%;
    left: 10%;
    animation-delay: 1s;
}

.card-4 {
    bottom: 10%;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Section Styles */
section {
    padding: 100px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary-green);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-green);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 1rem;
}

/* Process Section */
.process {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    position: relative;
    overflow: visible;
    padding: 100px 40px;
    /* Increased side padding for margins */
}

/* Remove any covering pseudo-elements from process section */
.process::before,
.process::after {
    display: none;
}

/* Ensure container doesn't clip content */
.process .container {
    overflow: visible;
    position: relative;
    z-index: 1;
    max-width: 100%;
    /* Use full width with padding */
    padding: 0;
}

.process-timeline {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    /* Center the cards */
    gap: 1.5rem;
    max-width: 100%;
    /* Use full available width */
    margin: 0 auto;
    padding: 3rem 0;
    overflow: visible;
    /* Remove scrolling */
    flex-wrap: nowrap;
    /* Keep cards in one row */
}

/* Remove any pseudo-elements that might cover the cards */
.process-timeline::before,
.process-timeline::after {
    display: none;
}

.process-step {
    position: relative;
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    min-width: 280px;
    /* Reduced minimum width */
    max-width: 300px;
    /* Reduced maximum width */
    z-index: 2;
    /* Ensure cards are above any background elements */
}

.process-step.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.process-step:nth-child(1) {
    transition-delay: 0.1s;
}

.process-step:nth-child(2) {
    transition-delay: 0.3s;
}

.process-step:nth-child(3) {
    transition-delay: 0.5s;
}

.process-step:nth-child(4) {
    transition-delay: 0.7s;
}

.step-connector {
    position: absolute;
    top: 40px;
    left: calc(100% + 0.75rem);
    width: calc(1.5rem + 0.75rem);
    height: 2px;
    background: linear-gradient(90deg, #e2e8f0 0%, #cbd5e1 100%);
    z-index: 1;
    overflow: visible;
}

.step-connector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-green) 0%, #22c55e 100%);
    transition: width 1.5s ease-in-out;
}

.step-connector::after {
    content: '';
    position: absolute;
    top: -6px;
    right: -8px;
    width: 0;
    height: 0;
    border-left: 12px solid var(--primary-green);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease-in-out 0.3s;
}

.process-step.active .step-connector::before {
    width: 100%;
}

.process-step.active .step-connector::after {
    opacity: 1;
    transform: translateX(0);
}

/* Animated arrow flow */
.step-connector .arrow-flow {
    position: absolute;
    top: -4px;
    left: -10px;
    width: 10px;
    height: 10px;
    background: var(--primary-green);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.8);
}

.step-connector .arrow-flow.active {
    animation: arrowFlow 2s ease-in-out infinite;
}

@keyframes arrowFlow {
    0% {
        left: -10px;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        left: calc(100% + 10px);
        opacity: 0;
    }
}

/* Remove connector from last step */
.process-step:last-child .step-connector {
    display: none;
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--white);
    padding: 2rem 1.5rem;
    /* Reduced padding for smaller cards */
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 360px;
    /* Reduced height */
    width: 100%;
    z-index: 3;
    /* Ensure card content is above connectors */
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
    /* Keep background behind content */
}

.step-card:hover::before {
    opacity: 1;
}

.step-card:hover {
    transform: translateY(-8px) scale(1.02);
    /* Reduced hover effect */
    box-shadow: 0 20px 50px rgba(34, 197, 94, 0.15);
    border-color: var(--primary-green);
}

.step-icon {
    position: relative;
    width: 80px;
    /* Reduced icon size */
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green) 0%, #16a34a 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 4;
    /* Ensure icon is above everything */
    margin-bottom: 1.5rem;
    /* Reduced margin */
}

.step-icon i {
    font-size: 2rem;
    /* Reduced icon font size */
    color: var(--white);
    animation: iconPulse 2s ease-in-out infinite;
}

.step-number {
    position: absolute;
    bottom: -10px;
    /* Adjusted position */
    right: -10px;
    width: 40px;
    /* Reduced size */
    height: 40px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    /* Reduced font size */
    color: var(--white);
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.4);
    animation: numberFloat 3s ease-in-out infinite;
    z-index: 5;
    /* Ensure number is visible */
}

.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 3;
    /* Ensure content is visible */
}

.step-content h3 {
    font-size: 1.3rem;
    /* Reduced font size */
    font-weight: 700;
    margin-bottom: 1rem;
    /* Reduced margin */
    color: var(--text-dark);
    transition: color 0.3s;
}

.step-card:hover .step-content h3 {
    color: var(--primary-green);
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    /* Reduced margin */
    flex: 1;
    font-size: 0.95rem;
    /* Reduced font size */
}

.step-progress {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    margin-top: auto;
    z-index: 3;
    /* Ensure progress bar is visible */
}

.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-green) 0%, #16a34a 100%);
    border-radius: 3px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    animation: shimmer 2s infinite;
}

.process-step.active .progress-bar {
    width: 100%;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes numberFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* About Section */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.about-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow);
}

.about-badge i {
    font-size: 2.5rem;
    color: var(--primary-yellow);
}

.about-badge h4 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.about-badge p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-content {
    text-align: left;
}

.about-content .section-badge {
    margin-bottom: 1rem;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-content>p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-item i {
    color: var(--primary-green);
    font-size: 1.5rem;
}

.feature-item span {
    font-weight: 600;
}

/* Projects Section */
.projects {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    position: relative;
    min-height: 320px;
    /* Changed to min-height for content flexibility */
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(34, 197, 94, 0.15);
    border-color: var(--primary-green);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 140px;
    /* Decreased image height */
    flex-shrink: 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95) 0%, rgba(16, 185, 129, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.2rem;
    text-decoration: none;
    transform: scale(0.8);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.project-card:hover .project-link {
    transform: scale(1);
}

.project-link:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: scale(1.1) rotate(15deg);
}

.project-info {
    padding: 1.2rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Changed from space-between */
}

.project-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    color: var(--primary-green);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    /* Removed line-clamp properties */
}

.project-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    /* Increased spacing */
    line-height: 1.5;
    font-size: 0.85rem;
    /* Removed line-clamp properties */
    flex: 1;
}

.project-tech {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: auto;
    /* Push tech stack to bottom */
}

.project-tech span {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-dark);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.project-tech span:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

.section-footer {
    text-align: center;
}

/* Team Section */
.team {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(34, 197, 94, 0.15);
    border-color: var(--primary-green);
}

.team-avatar {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 4px solid rgba(34, 197, 94, 0.2);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-initials {
    width: 100%;
    height: 100%;
    background: var(--gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.6rem;
}

.team-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    color: var(--primary-green);
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid #e2e8f0;
}

.team-info {
    margin-top: 0.75rem;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.team-skills {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
}

.team-skills span {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-dark);
    border: 1px solid #e2e8f0;
}

.team-links {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
}

.team-links a {
    width: 40px;
    height: 40px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s;
}

.team-links a:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
}

/* Dark Mode - Team */
[data-theme="dark"] .team {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

[data-theme="dark"] .team-card {
    background: var(--light-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .team-role {
    color: var(--text-light);
}

[data-theme="dark"] .team-skills span {
    background: rgba(34, 197, 94, 0.1);
    color: var(--text-dark);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.contact-info>p {
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    padding: 3rem;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
}

.contact-form button {
    width: 100%;
}

/* Footer */
/* Modern Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #1e293b 100%);
    color: var(--white);
    padding: 80px 20px 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-green), transparent);
    opacity: 0.3;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col {
    position: relative;
}

/* Company Info Section */
.company-info {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

.company-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.company-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* Footer Titles */
.footer-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.footer-title i {
    color: var(--primary-green);
    font-size: 1rem;
}

/* Footer Links */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links li a:hover {
    color: var(--primary-green);
    transform: translateX(5px);
}

.footer-links li a i {
    font-size: 0.7rem;
    color: var(--primary-green);
}

/* Newsletter Section */
.newsletter-contact {
    max-width: 350px;
}

.newsletter-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.newsletter-form {
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
}

.subscribe-btn {
    width: 45px;
    height: 45px;
    background: var(--gradient);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.subscribe-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

/* Contact Info */
.contact-info {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-title {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    width: 32px;
    height: 32px;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 0.8rem;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.copyright p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-green);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
    border-color: transparent;
}

/* Responsive adjustments for desktop layout */
@media (max-width: 1200px) {
    .process {
        padding: 100px 30px;
    }

    .process-step {
        min-width: 260px;
        max-width: 280px;
    }

    .step-card {
        padding: 1.8rem 1.3rem;
        min-height: 340px;
    }

    .step-icon {
        width: 75px;
        height: 75px;
    }

    .step-icon i {
        font-size: 1.8rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .step-content h3 {
        font-size: 1.2rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }
}

/* Responsive adjustments for project cards */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .project-card {
        min-height: 300px;
        /* Adjusted min-height */
    }

    .project-image {
        height: 120px;
    }

    .project-info {
        padding: 1rem 1.2rem;
    }

    .project-info h3 {
        font-size: 1rem;
    }

    .project-info p {
        font-size: 0.8rem;
    }
}

@media (max-width: 968px) {

    /* Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: white;
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s;
        box-shadow: var(--shadow);
        gap: 1rem;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    /* Hide dropdowns on mobile */
    .dropdown-menu {
        display: none;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
        justify-content: center;
        background: rgba(34, 197, 94, 0.05);
        border-radius: 12px;
        margin-bottom: 0.5rem;
    }

    .nav-link:hover {
        background: rgba(34, 197, 94, 0.1);
        transform: none;
    }

    .nav-link.active {
        background: var(--gradient);
        color: white;
    }

    /* Hide theme toggle on mobile */
    .theme-toggle {
        display: none;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .nav-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    /* Responsive Content */
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Responsive Footer */
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .company-info {
        max-width: 100%;
    }

    .newsletter-contact {
        max-width: 100%;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        min-height: 200px;
        flex-direction: row;
    }

    .project-image {
        width: 140px;
        height: 100%;
        flex-shrink: 0;
    }

    .project-info {
        padding: 1rem;
        flex: 1;
    }

    .project-tag {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
        margin-bottom: 0.4rem;
    }

    .project-info h3 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
        /* Removed line-clamp properties */
    }

    .project-info p {
        font-size: 0.75rem;
        margin-bottom: 0.6rem;
        /* Removed line-clamp properties */
    }

    .project-tech span {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }

    /* Mobile Process Timeline - Vertical Staggered Layout */
    .process {
        padding: 80px 20px;
    }

    .process-timeline {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        max-width: 100%;
        padding: 1rem 0;
    }

    .process-step {
        opacity: 0;
        transform: translateX(-30px) scale(0.9);
        transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
        flex: none;
        min-width: auto;
        max-width: 100%;
    }

    .process-step.animate-in {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    /* Mobile staggered animation delays */
    .process-step:nth-child(1) {
        transition-delay: 0.1s;
        transform-origin: left center;
    }

    .process-step:nth-child(2) {
        transition-delay: 0.2s;
        transform-origin: right center;
        transform: translateX(30px) scale(0.9);
    }

    .process-step:nth-child(2).animate-in {
        transform: translateX(0) scale(1);
    }

    .process-step:nth-child(3) {
        transition-delay: 0.3s;
        transform-origin: left center;
    }

    .process-step:nth-child(4) {
        transition-delay: 0.4s;
        transform-origin: right center;
        transform: translateX(30px) scale(0.9);
    }

    .process-step:nth-child(4).animate-in {
        transform: translateX(0) scale(1);
    }

    .step-connector {
        position: absolute;
        left: 40px;
        top: calc(100% + 1rem);
        width: 2px;
        height: calc(2rem + 1rem);
        background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%);
        z-index: 1;
    }

    .step-connector::before {
        width: 100%;
        height: 0;
        background: linear-gradient(180deg, var(--primary-green) 0%, #22c55e 100%);
        transition: height 1s ease-in-out;
    }

    .process-step:last-child .step-connector {
        display: none;
    }

    .step-card {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 1.5rem;
        min-height: auto;
        transform: translateZ(0);
    }

    .step-card:hover {
        transform: translateY(-5px) scale(1.01);
    }

    .step-icon {
        margin-bottom: 0;
        margin-right: 1.5rem;
        width: 60px;
        height: 60px;
    }

    .step-icon i {
        font-size: 1.5rem;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        bottom: -8px;
        right: -8px;
    }

    .step-content h3 {
        font-size: 1.2rem;
    }

    .step-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 640px) {

    /* Mobile Navigation Adjustments */
    .nav-container {
        padding: 0 1rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .logo-tagline {
        display: none;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .nav-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .nav-btn span {
        display: none;
    }

    /* Mobile Content */
    .hero-title {
        font-size: 2rem;
    }

    .typing-text {
        min-width: 200px;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    /* Mobile Footer */
    .footer {
        padding: 60px 15px 30px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .company-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    /* Enhanced mobile project cards */
    .projects-grid {
        gap: 1rem;
    }

    .project-card {
        min-height: 180px;
    }

    .project-image {
        width: 120px;
    }

    .project-info {
        padding: 0.8rem;
    }

    .project-tag {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }

    .project-info h3 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
        /* Removed line-clamp properties */
    }

    .project-info p {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
        /* Removed line-clamp properties */
    }

    .project-tech span {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
    }

    .project-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Enhanced mobile animations for smaller screens */
    .step-card {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
    }

    .step-icon {
        align-self: center;
        margin-right: 0;
        margin-bottom: 1rem;
        width: 50px;
        height: 50px;
    }

    .step-icon i {
        font-size: 1.3rem;
    }

    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
        bottom: -6px;
        right: -6px;
    }

    .step-content h3 {
        font-size: 1.1rem;
    }

    .step-content p {
        font-size: 0.85rem;
    }

    /* Mobile-specific hover effects */
    .step-card:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 15px 40px rgba(34, 197, 94, 0.2);
    }

    /* Enhanced mobile entrance animations */
    .process-step {
        transform: translateY(30px) rotateX(-10deg);
        opacity: 0;
    }

    .process-step:nth-child(even) {
        transform: translateY(-30px) rotateX(10deg);
    }

    .process-step.animate-in {
        transform: translateY(0) rotateX(0);
        opacity: 1;
    }
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg) scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Play Button Styles */
.video-play-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition);
}

.video-play-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(34, 197, 94, 0.9);
    border-radius: 50%;
    transition: var(--transition);
}

.video-play-btn i {
    position: relative;
    z-index: 1;
    color: white;
    font-size: 1.5rem;
    margin-left: 3px;
}

.video-play-btn:hover::before {
    transform: scale(1.2);
    background: rgba(34, 197, 94, 1);
}

.video-play-btn:hover {
    transform: scale(1.1);
}

/* Responsive Video Modal */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
    }

    .video-modal-close {
        top: -40px;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .video-container {
        border-radius: 12px;
    }

    .video-play-btn {
        width: 50px;
        height: 50px;
    }

    .video-play-btn i {
        font-size: 1.2rem;
    }
}