@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Jost:ital,wght@0,100..900;1,100..900&family=PT+Sans+Narrow&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --blue: #050241;
    --blue-strong: #2f20cf;
    --violet: #192ddd;
    --teal: #14b8a6;
    --background: #f8faff;
    --head-text: #003f91;
    --text: #ffffff;
    --surface: rgba(255, 255, 255, 0.86);
    --surface-strong: #ffffff;
    --border: rgba(15, 23, 42, 0.08);
    --shadow: 0 16px 45px rgba(22, 20, 44, 0.288);
}

html {
    scroll-behavior: smooth;
}

body{
    position: relative;
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 45%, #f5ebff 100%), url(img/background\ \(2\)\.png) center/cover no-repeat;
    color: #1f2937;
    font-family: 'Jost', Arial, sans-serif;
    z-index: 1;
    overflow-x: hidden;
    
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.16), transparent 25%),
                radial-gradient(circle at bottom right, rgba(20, 184, 166, 0.16), transparent 30%);
    pointer-events: none;
    z-index: -1;
}

body.dark-mode {
    --surface: rgba(8, 15, 34, 0.9);
    --surface-strong: #101a2f;
    --head-text: #ffffff;
    --border: rgba(255, 255, 255, 0.12);
    color: #f8fafc;
}

body.dark-mode nav,
body.dark-mode .about-card,
body.dark-mode .work-card,
body.dark-mode .startup-card,
body.dark-mode .testimonial-card,
body.dark-mode .cta-content,
body.dark-mode .footer {
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(2, 8, 23, 0.24);
}

body.dark-mode .sidebar {
    background: linear-gradient(135deg, #0f172a 0%, #111827 100%);
    box-shadow: -10px 0 30px rgba(2, 8, 23, 0.45);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-mode nav a,
body.dark-mode .close-icon {
    color: #0f172a;
}

body.dark-mode .sidebar a,
body.dark-mode .sidebar .mobile-theme span,
body.dark-mode .sidebar .close-icon {
    color: #f8fafc;
}

body.dark-mode .menu-icon {
    color: #ffffff;
}

body.dark-mode .hero h1,
body.dark-mode .about-intro h2,
body.dark-mode .recent-work h2,
body.dark-mode .startup-projects h2,
body.dark-mode .testimonials h2,
body.dark-mode .cta-title {
    color: #f8fafc;
}

body.dark-mode .hero p,
body.dark-mode .about-intro p,
body.dark-mode .recent-work p,
body.dark-mode .startup-projects .startup-intro,
body.dark-mode .startup-card p,
body.dark-mode .testimonial-card blockquote,
body.dark-mode .footer-text,
body.dark-mode .cta-desc,
body.dark-mode .about-card p,
body.dark-mode .footer-credit {
    color: #f8fafc;
}

/* ...existing code... */

nav {
    width: min(94%, 1200px);
    height: 74px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255,255,255,0.72), rgba(244,247,255,0.42));
    
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    opacity: 0.95;
    margin: 24px auto 0;
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255,255,255,0.7);
    position: sticky;
    top: 16px;
    z-index: 100;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

nav .navbar {
    flex: 1;
    justify-content: center;
    position: relative;
    padding-left: 74px;
    padding-right: 24px;
}

nav .navbar > img {
    width: 60px;
    height: 50px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: block;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: var(--head-text);
    text-decoration: none;
    text-align:right;
    padding: 10px 16px;
    font-size: 1rem;
    border-radius: 999px;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

nav ul li a:hover,
nav ul li a:focus-visible {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(20, 184, 166, 0.12));
    color: var(--blue);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.08);
}

nav ul button {
    margin-left: 12px;
    padding: 8px 20px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.24);
}

nav ul button a {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

nav ul button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.3);
}

.switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 46px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: linear-gradient(135deg, #cbd5e1, #94a3b8);
    border-radius: 999px;
    transition: 0.3s ease;
}

.slider:before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.switch input:checked + .slider {
    background: linear-gradient(135deg, var(--blue), var(--violet));
}

.switch input:checked + .slider:before {
    transform: translateX(22px);
}

.mobile-theme {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 10px;
    margin-top: 8px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.mobile-theme span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--head-text);
}

.menu-icon, .sidebar {
    display: none;
}

/* ...existing code... */
/* filepath: c:\Users\SMD\Smd Project\Style.css */
/* ...existing code... */

.menu-icon {
    display: none;
    font-size: 30px;
    color:blue;
    cursor: pointer;
    z-index: 1;
    margin-right: -8px;
    transition: transform 0.25s ease, color 0.25s ease;
}

.menu-icon:hover {
    transform: rotate(90deg);
    color: var(--blue);
}

.close-icon {
    font-size: 2.3rem;
    color: var(--head-text);
    text-align: right;
    cursor: pointer;
    padding: 10px 28px 0 0;
    margin: 0 0 -10px;
    background: none;
    border: none;
    list-style: none;
}



@media (max-width:1270px) {
  body {
    max-width: 100%;
    overflow-y:scroll; 

  }
    nav ul img {
    width: 40px;
    height: 60px;
    margin-right: 22px;
    margin-left: -10px;
    display: block;
}

    .menu-icon {
        display: block;
    }
    nav .sidebar {
        display: block;
        position: fixed;
        top: 0;
        right: -100vw;
        width: min(78vw, 320px);
        color: black;
        height: 100vh;
        background: rgba(255, 253, 253, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: -10px 0 30px rgba(15, 23, 42, 0.16);
        z-index: 1000;
        padding: 24px 20px;
        transition: right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
        border-left: 1px solid rgba(15, 23, 42, 0.06);
        border-radius: 30px 0 0 30px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    nav .sidebar.active {
        right: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    nav .sidebar a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 10px;
        
        border-radius: 12px;
        margin-bottom: 6px;
    }
    nav .sidebar a:hover {
        background: rgba(79, 70, 229, 0.08);
    }
    nav .navbar li{
        display: none;
    }
    nav .navbar button{
        display: none;
    }
}


/* ...existing code... */

.hero {
    text-align: center;
    margin: 70px auto 0;
    max-width: 980px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(20, 184, 166, 0.12));
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(2.1rem, 4vw, 3rem);
    font-weight: 800;
    color: #0a194e;
    margin-bottom: 16px;
    font-family: 'Jost', Arial, sans-serif;
    line-height: 1.08;
}

.hero p {
    font-size: 1.15rem;
    color: #374151;
    margin: 0 auto 24px;
    max-width: 700px;
    font-family: 'PT Sans Narrow', Arial, sans-serif;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--violet));
    color: #fff;
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.22);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.1);
}



.avatar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.avatar-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #14b8a6);
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.22);
    transition: transform 0.35s ease;
}

.avatar-img:hover {
    transform: scale(1.04) rotate(1deg);
}

/* ...existing code... */

.about-section {
    width: 100%;
    margin: 60px 0 0 0;
    padding: 0;
    text-align: center;
}

.about-illustration img {
    width: 340px;
    max-width: 90vw;
    margin: 0 auto 0 auto;
    display: block;
}

.about-intro {
    background: #3403a0;
    color: #fff;
    padding: 38px 20px 32px 20px;
    margin: 0 auto;
}

.about-intro h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: 'Jost', Arial, sans-serif;
}

.about-intro p {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'PT Sans Narrow', Arial, sans-serif;
    margin-bottom: 65px;
}

.about-cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: -60px auto 0 auto;
    max-width: 1100px;
    padding: 0 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.about-card,
.work-card,
.startup-card,
.testimonial-card,
.cta-content,
.footer {
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-card:hover,
.work-card:hover,
.startup-card:hover,
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14);
}

.about-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px 24px 24px 24px;
    width: 320px;
    max-width: 95vw;
    margin-bottom: 32px;
    text-align: center;
    font-family:tahoma, Arial, sans-serifv;
}

.about-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 12px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.14), rgba(20, 184, 166, 0.14));
    color: var(--blue);
    font-size: 1.3rem;
}

.about-card h3 {
    font-size: 1.2rem;
    color: #04175a;
    margin-bottom: 10px;
    font-family: 'Jost', Arial, sans-serif;
}

.about-card p {
    font-size: 1rem;
    color: #000000;
    margin-bottom: 10px;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.work-card img,
.startup-card img,
.testimonial-img,
.footer-logo img {
    transition: transform 0.35s ease;
}

.work-card:hover img,
.startup-card:hover img,
.testimonial-card:hover .testimonial-img,
.footer-logo:hover img {
    transform: scale(1.04);
}

@media (max-width: 1000px) {
    .about-cards {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .about-card {
        margin-bottom: 24px;
    }
}

@media (max-width: 640px) {
    nav {
        padding: 0 16px;
        height: 68px;
    }

    .hero {
        margin-top: 40px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: min(100%, 260px);
        justify-content: center;
    }
}

/* ...existing code... */

.recent-work {
    text-align: center;
    margin: 60px 0 0 0;
    padding: 0 0 40px 0;
}

.recent-work h2 {
    font-size: 2rem;
    font-family: 'Jost', Arial, sans-serif;
    color: #0a194e;
    margin-bottom: 10px;
    font-weight: 700;
}

.recent-work p {
    color: #222;
    font-size: 1rem;
    margin-bottom: 32px;
    font-family: 'PT Sans Narrow', Arial, sans-serif;
}

.recent-work p a {
    color: #6c2ff7;
    text-decoration: underline;
    font-weight: 500;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto 32px auto;
}

.work-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.work-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(108,47,247,0.13);
    cursor: pointer;
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

.image-modal.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

#modalImage {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.modal-close {
    position: absolute;
    top: -40px;
    right: -20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.2s;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    pointer-events: none;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    pointer-events: auto;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.nav-btn:active {
    transform: scale(0.95);
}

.modal-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.prev-btn:active,
.next-btn:active {
    transform: scale(0.95);
}

.work-dribbble {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 28px;
    border: 2px solid #6c2ff7;
    border-radius: 30px;
    color: #6c2ff7;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Jost', Arial, sans-serif;
    transition: background 0.2s, color 0.2s;
    font-size: 1rem;
}

.work-dribbble:hover {
    background: #6c2ff7;
    color: #fff;
}

@media (max-width: 900px) {
    .work-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
    .work-card {
        height: 140px;
    }
}

@media (max-width: 600px) {
    .work-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .work-card {
        height: 110px;
    }
}

/* ...existing code... */

.startup-projects {
    margin: 0;
    padding: 60px 20px 60px 20px;
    background: none;
    text-align: center;
}

.startup-projects h2 {
    font-size: 2rem;
    font-family: 'Jost', Arial, sans-serif;
    color: #0a194e;
    margin-top: 0;
    margin-bottom: 50px;
    font-weight: 700;
}

.projects-list {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.project-item {
    display: flex;
    gap: 28px;
    margin-bottom: 32px;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.project-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(108,47,247,0.13);
}

.project-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: 'Jost', Arial, sans-serif;
}

.project-content h3 {
    font-size: 1.1rem;
    color: #0a194e;
    margin-bottom: 8px;
    font-family: 'Jost', Arial, sans-serif;
    font-weight: 700;
}

.project-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    font-family: 'PT Sans Narrow', Arial, sans-serif;
}

/* Old startup styles for backward compatibility */
.startup-intro {
    color: #fff;
    background: #6c2ff7;
    padding: 32px 20px 32px 20px;
    margin: 0 auto 40px auto;
    font-size: 1rem;
    font-family: 'PT Sans Narrow', Arial, sans-serif;
    display: none;
}

.startup-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    justify-content: center;
    max-width: 900px;
    margin: -60px auto 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.startup-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    padding: 28px 18px 18px 18px;
    text-align: center;
    font-family: 'PT Sans Narrow', Arial, sans-serif;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.startup-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #6c2ff7;
    margin-bottom: 8px;
}

.startup-title img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.startup-card p {
    color: #222;
    font-size: 1rem;
    margin-bottom: 10px;
}

.startup-card a {
    color: #6c2ff7;
    text-decoration: underline;
    font-weight: 500;
    font-size: 0.98rem;
}

.startup-status {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
}

.startup-status.error {
    background: #ffeaea;
    color: #e74c3c;
}

.startup-status.success {
    background: #eaffea;
    color: #27ae60;
}

.startup-collab {
    margin: 40px auto 0 auto;
    text-align: center;
}

.startup-collab h3 {
    font-size: 1.1rem;
    font-family: 'Jost', Arial, sans-serif;
    color: #0a194e;
    margin-bottom: 8px;
    font-weight: 700;
}

.startup-collab p {
    font-size: 1rem;
    color: #222;
    margin-bottom: 18px;
    font-family: 'PT Sans Narrow', Arial, sans-serif;
}

.startup-btn {
    display: inline-block;
    padding: 10px 28px;
    border: 2px solid #6c2ff7;
    border-radius: 30px;
    color: #6c2ff7;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Jost', Arial, sans-serif;
    transition: background 0.2s, color 0.2s;
    font-size: 1rem;
    background: #fff;
}

.startup-btn:hover {
    background: #6c2ff7;
    color: #fff;
}

@media (max-width: 900px) {
    .startup-grid {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .startup-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* Suggested additions to Style.css */

.stats-section {
    padding: 60px 20px;
    background-color: var(--background-color-secondary); /* Use a slightly different background for contrast */
    text-align: center;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px; /* Space between stat items */
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    flex: 1;
    min-width: 200px; /* Ensure items don't get too small on smaller screens */
    padding: 20px;
    background-color: var(--card-background); /* Or a subtle variant */
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.stat-number {
    font-size: 3.5em; /* Large, prominent number */
    font-weight: 700;
    color: var(--primary-color); /* Your brand's primary color */
    margin-bottom: 10px;
    font-family: 'Jost', sans-serif; /* Consistent with your existing fonts */
}

.stat-label {
    font-size: 1.2
}
/* ...existing code... */

.testimonials {
    text-align: center;
    margin: 80px 0 0 0;
    padding: 0 0 40px 0;
}

.testimonials h2 {
    font-size: 1.5rem;
    font-family: 'Jost', Arial, sans-serif;
    color: #0a194e;
    margin-bottom: 8px;
    font-weight: 700;
}

.testimonials-sub {
    color: #222;
    font-size: 1rem;
    margin-bottom: 24px;
    font-family: 'PT Sans Narrow', Arial, sans-serif;
}

.testimonials-carousel {
    position: relative;
    max-width: 420px;
    margin: 0 auto 18px auto;
    min-height: 300px;
    overflow: hidden;
}

.testimonial-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    padding: 32px 28px 24px 28px;
    max-width: 420px;
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    transform: translateX(20px);
}

.testimonial-card.active {
    opacity: 1;
    position: relative;
    transform: translateX(0);
}

.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 14px;
    object-fit: cover;
}

.testimonial-card blockquote {
    font-size: 1.1rem;
    color: #222;
    font-style: italic;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.testimonial-author {
    font-size: 1rem;
    color: #6c2ff7;
    font-weight: 600;
}

.testimonial-dots {
    margin-top: 10px;
    text-align: center;
}

.testimonial-dots .dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 6px;
    background: #e0e0e0;
    border-radius: 50%;
    transition: background 0.3s, transform 0.3s;
    cursor: pointer;
}

.testimonial-dots .dot:hover {
    background: #b8a8ff;
    transform: scale(1.2);
}

.testimonial-dots .dot.active {
    background: #6c2ff7;
    transform: scale(1.15);
}



.cta-content {
    background: #181c2f;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 700px;
    width: 100%;
    margin: -40px auto 0 auto;
    padding: 28px 32px;
    gap: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.cta-title {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Jost', Arial, sans-serif;
}

.cta-desc {
    font-size: 1rem;
    font-family: 'PT Sans Narrow', Arial, sans-serif;
    flex: 1;
    color: #fff;
}

.cta-btn {
    background: linear-gradient(135deg, var(--blue), var(--violet));
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 10px 28px;
    font-size: 1rem;
    font-family: 'Jost', Arial, sans-serif;
    font-weight: 600;
    text-decoration: none;
    margin-left: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(79, 70, 229, 0.2);
}

.cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(79, 70, 229, 0.24);
}

/* Project Form Styles */
.project-form-container {
    max-width: 800px;
    margin: 60px auto 60px auto;
    padding: 0 20px;
}

.project-form {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0a194e;
    margin-bottom: 8px;
    font-family: 'Jost', Arial, sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'PT Sans Narrow', Arial, sans-serif;
    color: #333;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6c2ff7;
    box-shadow: 0 0 0 3px rgba(108, 47, 247, 0.1);
}

.form-group textarea {
    resize: vertical;
    font-family: 'PT Sans Narrow', Arial, sans-serif;
}

.form-group.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
}

.form-group.checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.form-group.checkbox label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
}

.submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--blue), var(--violet));
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Jost', Arial, sans-serif;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.2);
    margin-top: 12px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 12px;
    font-family: 'PT Sans Narrow', Arial, sans-serif;
}

.footer {
    background: #150241;
    color: #fff;
    padding: 48px 0 24px 0;
    text-align: center;
}

.footer-content {
    max-width: 700px;
    margin: 0 auto;
}

.footer-logo img {
    height: 72px;
    margin-bottom: 12px;
}

.footer-text {
    font-size: 1rem;
    margin-bottom: 18px;
    font-family: 'PT Sans Narrow', Arial, sans-serif;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    text-decoration: none;
    transition: transform 0.25s ease, background 0.25s ease;
}

.footer-social a:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.24);
}

.footer-social i {
    font-size: 1rem;
}

.footer-credit {
    margin-top: 18px;
    font-size: 0.95rem;
    color: #e0e0e0;
}

@media (max-width: 700px) {
    .cta-content {
        flex-direction: column;
        align-items: stretch;
        padding: 18px 10px;
        gap: 10px;
    }
}

/* Switch styles */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    margin-left: 18px;
    vertical-align: middle;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 26px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 20px; width: 20px;
    left: 3px; bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #6c2ff7;
}
input:checked + .slider:before {
    transform: translateX(24px);
}

/* Dark mode styles */
body.dark-mode {
    background: #000;
    color: #e0e0e0;
}
body.dark-mode nav {
    background-color: #181818;
    box-shadow: 0 4px 24px rgba(0,0,0,0.6);
}
body.dark-mode .about-intro,
body.dark-mode .startup-intro {
    background: #222;
    color: #fff;
}
body.dark-mode .about-card,
body.dark-mode .startup-card,
body.dark-mode .project-item,
body.dark-mode .testimonial-card,
body.dark-mode .cta-content {
    background: #181818;
    color: #e0e0e0;
}
body.dark-mode .work-card {
    background: #181818;
}

/* Dark mode modal styles */
body.dark-mode .image-modal {
    background: rgba(0, 0, 0, 0.95);
}

body.dark-mode .nav-btn {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
}

body.dark-mode .nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.55);
}

body.dark-mode .modal-close {
    color: #ffffff;
}

body.dark-mode .modal-counter {
    color: #e0e0e0;
}
body.dark-mode .footer {
    background: #181818;
    color: #e0e0e0;
}
body.dark-mode .cta-content {
    background: #000;
    color: #fff;
}
body.dark-mode .cta-btn,
body.dark-mode .startup-btn {
    background: #222;
    color: #fff;
    border-color: #222;
}
body.dark-mode .cta-btn:hover,
body.dark-mode .startup-btn:hover {
    background: #6c2ff7;
    color: #fff;
}
body.dark-mode .startup-status.error {
    background: #2a0a0a;
    color: #e74c3c;
}
body.dark-mode .startup-status.success {
    background: #0a2a0a;
    color: #27ae60;
}

body.dark-mode,
body.dark-mode .hero p,
body.dark-mode .about-card p,
body.dark-mode .about-card h3,
body.dark-mode .about-intro h2,
body.dark-mode .about-intro p,
body.dark-mode .startup-card p,
body.dark-mode .startup-title,
body.dark-mode .startup-card a,
body.dark-mode .startup-collab h3,
body.dark-mode .startup-collab p,
body.dark-mode .project-content h3,
body.dark-mode .project-content p,
body.dark-mode .recent-work h2,
body.dark-mode .recent-work p,
body.dark-mode .work-dribbble,
body.dark-mode .testimonial-card blockquote,
body.dark-mode .testimonial-author,
body.dark-mode .testimonials h2,
body.dark-mode .testimonials-sub,
body.dark-mode .cta-title,
body.dark-mode .cta-desc,
body.dark-mode .footer-text,
body.dark-mode .footer-credit,
body.dark-mode .project-form,
body.dark-mode .form-group label,
body.dark-mode .form-note {
    color: #e0e0e0 !important;
}

body.dark-mode .project-form {
    background: #181818;
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background: #222;
    color: #e0e0e0;
    border-color: #333;
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder {
    color: #777;
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group select:focus,
body.dark-mode .form-group textarea:focus {
    border-color: #a88cff;
    box-shadow: 0 0 0 3px rgba(168, 140, 255, 0.1);
}

body.dark-mode .form-group label {
    color: #a88cff;
}

body.dark-mode .about-card h3,
body.dark-mode .startup-title,
body.dark-mode .recent-work h2,
body.dark-mode .startup-projects h2,
body.dark-mode .testimonials h2,
body.dark-mode .cta-title {
    color: #a88cff !important;
}

body.dark-mode .work-dribbble,
body.dark-mode .startup-btn,
body.dark-mode .cta-btn {
    color: #fff !important;
    border-color: #a88cff !important;
}

body.dark-mode a {
    color: #a88cff !important;
}

body.dark-mode .about-card p,
body.dark-mode .startup-card p,
body.dark-mode .recent-work p,
body.dark-mode .testimonials-sub,
body.dark-mode .testimonial-card blockquote,
body.dark-mode .footer-text,
body.dark-mode .footer-credit {
    color: #d6d6f7 !important;
}

/* Mobile responsive modal styles */
@media (max-width: 768px) {
    .modal-close {
        top: 10px !important;
        right: 10px !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 28px !important;
    }

    .nav-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
    }

    .modal-nav {
        padding: 0 10px !important;
    }

    .modal-counter {
        bottom: -30px !important;
        font-size: 12px !important;
    }

    .modal-content {
        max-width: 95vw !important;
        max-height: 95vh !important;
    }

    #modalImage {
        max-height: 80vh !important;
    }

    .project-item {
        flex-direction: column;
        gap: 12px;
    }

    .project-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .project-content h3 {
        font-size: 1rem;
    }

    .project-content p {
        font-size: 0.95rem;
    }

    .testimonials-carousel {
        min-height: 280px;
    }

    .testimonial-card {
        padding: 24px 18px 18px 18px;
        max-width: 100%;
    }

    .testimonial-card blockquote {
        font-size: 1rem;
    }

    .testimonial-author {
        font-size: 0.95rem;
    }

    .project-form-container {
        margin: 40px auto 40px auto;
    }

    .project-form {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 12px 18px;
        font-size: 0.95rem;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        margin: 40px auto;
        padding: 20px 16px;
    }
}
