/* --- Mobile Menu Redesign (Decentralized for Portfolio) --- */

/* Hamburger to X Animation */
.nav-toggle .bar {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-open .nav-toggle .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-open .nav-toggle .bar:nth-child(2) {
    opacity: 0;
}

.menu-open .nav-toggle .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Overlay Reset & Premium Redesign */
.nav-overlay {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-20px);
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: 2000;
    position: fixed;
    inset: 0;
}

.nav-overlay.open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0);
}

.nav-overlay-close {
    position: absolute;
    top: 12px;
    right: 42px;
    background: none;
    border: none;
    font-size: 48px;
    color: #111111;
    cursor: pointer;
    z-index: 2001;
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.nav-overlay-close:hover {
    transform: rotate(90deg);
    color: #6366f1;
}

.nav-overlay-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    z-index: 10;
}

.nav-overlay-menu li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.nav-overlay.open .nav-overlay-menu li {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.nav-overlay.open .nav-overlay-menu li:nth-child(1) {
    transition-delay: 0.1s;
}

.nav-overlay.open .nav-overlay-menu li:nth-child(2) {
    transition-delay: 0.2s;
}

.nav-overlay.open .nav-overlay-menu li:nth-child(3) {
    transition-delay: 0.3s;
}

.nav-overlay.open .nav-overlay-menu li:nth-child(4) {
    transition-delay: 0.4s;
}

.nav-overlay.open .nav-overlay-menu li:nth-child(5) {
    transition-delay: 0.5s;
}

.nav-overlay-item {
    font-family: "Raleway", sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: #111111;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    display: block;
}

.nav-overlay-item:hover {
    transform: scale(1.05);
    color: #6366f1;
}

/* Moving Bubbles Background */
.nav-overlay-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.overlay-blob {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    mix-blend-mode: multiply;
    animation: overlayDrift 20s infinite alternate ease-in-out;
}

.ob1 {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    top: -50px;
    left: -100px;
}

.ob2 {
    background: linear-gradient(135deg, #10b981, #3b82f6);
    bottom: 0px;
    right: -100px;
    animation-duration: 25s;
    animation-delay: -5s;
}

.ob3 {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    top: 40%;
    left: 60%;
    width: 250px;
    height: 250px;
    animation-duration: 18s;
}

@keyframes overlayDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(60px, -40px) scale(1.15);
    }
}

/* Desktop Hide */
@media (min-width: 761px) {
    .nav-overlay {
        display: none !important;
    }
}

/* Mobile Responsive Adjustments */
@media (max-width: 480px) {
    .nav-overlay-item {
        font-size: 34px;
    }

    .nav-overlay-menu {
        gap: 24px;
    }

    .nav-overlay-close {
        top: 12px;
        right: 42px;
    }
}

/* Base Layout overrides */
.portfolio-hero {
    padding: 160px 0 60px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: "Raleway", sans-serif;
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Projects Grid */
.projects-section {
    padding: 60px 0 120px;
    position: relative;
    z-index: 1;
}

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

.project-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    position: relative;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
}

.card-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background: transparent;
}

/* White background variant for specific cards */
.card-image.white-bg {
    background: #ffffff;
}

/* Project Image Styles */
.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.social-mockup .project-img {
    object-fit: contain;
}

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

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    pointer-events: none;
}

.tech-badges {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    z-index: 2;
}

.tech-badge {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Dark variant for light backgrounds */
.tech-badge-dark {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

/* Mockup specific backgrounds */
.mobile-mockup {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* Gradient background for mobile mockup */
.mobile-mockup.gradient-bg {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.social-mockup {
    background: linear-gradient(135deg, #fdf2f8, #fce7f3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.social-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    padding: 0 40px;
}

.social-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.social-icon svg {
    width: 16px;
    height: 16px;
}

.social-icon.pink {
    background: #fce7f3;
    color: #ec4899;
}

.social-icon.blue {
    background: #dbeafe;
    color: #3b82f6;
}

.social-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.line {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
}

.line.short {
    width: 50%;
}

.line.long {
    width: 75%;
}

.line.medium {
    width: 66%;
}

.line.full {
    width: 100%;
}

.desktop-mockup {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.desktop-frame {
    width: 90%;
    height: 80%;
    background: #1e293b;
    border-radius: 12px 12px 0 0;
    border: 1px solid #334155;
    padding: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

.browser-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    opacity: 0.5;
}

.dot.red {
    background: #ef4444;
}

.dot.yellow {
    background: #eab308;
}

.dot.green {
    background: #22c55e;
}

.browser-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.content-box {
    height: 60px;
    background: rgba(71, 85, 105, 0.5);
    border-radius: 8px;
}

.content-bar {
    height: 90px;
    background: rgba(71, 85, 105, 0.5);
    border-radius: 8px;
    width: 100%;
}

/* Card Content */
.card-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Category Tags (above project name) */
.card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.tag {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 12px;
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: var(--text);
    font-family: "Raleway", sans-serif;
}

/* Category Badges */
.category-badge {
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.category-badge.featured {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
}

.category-badge.utility {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
}

.category-badge.private {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.lock-icon {
    width: 12px;
    height: 12px;
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 2px;
}

.star-rating svg {
    width: 14px;
    height: 14px;
    fill: #fbbf24;
}

.card-desc {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: gap 0.3s ease, color 0.3s ease;
}

.card-link:hover {
    gap: 12px;
    color: #6366f1;
}

.card-link.disabled {
    color: #9ca3af;
    cursor: default;
    font-style: italic;
    font-size: 13px;
}

.visibility-icon {
    width: 16px;
    height: 16px;
}

.icon-arrow {
    width: 20px;
    height: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.project-card:nth-child(1) {
    animation-delay: 0.1s;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card:nth-child(3) {
    animation-delay: 0.3s;
}

.project-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .portfolio-hero {
        padding-top: 140px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-title {
        font-size: 36px;
    }

    .card-image {
        height: 240px;
    }

    .mobile-mockup {
        padding: 30px;
    }


    .social-cards {
        padding: 0 20px;
        gap: 12px;
    }

    .social-card.card-1 {
        height: 100px;
    }

    .social-card.card-2 {
        height: 130px;
    }

    .desktop-frame {
        padding: 12px;
    }

    .content-box {
        height: 50px;
    }

    .content-bar {
        height: 70px;
    }
}

/* Moving Background Circles - Custom for this page */
.custom-blobs {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.fast-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.4;
    mix-blend-mode: multiply;
    animation: fastFloat 3s infinite alternate ease-in-out;
}

/* Define different sizes, positions, colors and delays */
.fb1 {
    width: 300px;
    height: 300px;
    background: #a9d3ff;
    /* Blue-ish */
    top: 10%;
    left: -50px;
    animation-duration: 3s;
}

.fb2 {
    width: 400px;
    height: 400px;
    background: #ffe0bf;
    /* Orange-ish */
    bottom: 20%;
    right: -80px;
    animation-duration: 4s;
    /* slightly different to avoid sync */
    animation-delay: 0.5s;
}

.fb3 {
    width: 250px;
    height: 250px;
    background: #d7ffe6;
    /* Green-ish */
    top: 40%;
    left: 30%;
    animation-duration: 3.5s;
    animation-delay: 1s;
}

.fb4 {
    width: 350px;
    height: 350px;
    background: #e0c3fc;
    /* Purple-ish */
    bottom: -50px;
    left: 20%;
    animation-duration: 3.2s;
    animation-delay: 0.2s;
}

/* Fast animation keyframes */
@keyframes fastFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

/* ========================================
   WHY CLIENTS TRUST US SECTION
   ======================================== */
.trust-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: "Raleway", sans-serif;
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

.trust-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 32px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.trust-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.2);
}

.trust-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    margin-bottom: 20px;
}

.trust-icon svg {
    width: 24px;
    height: 24px;
}

.trust-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    font-family: "Raleway", sans-serif;
}

.trust-card-desc {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.cta-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    border-radius: 32px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.cta-title {
    font-family: "Raleway", sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
    gap: 16px;
}

.cta-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

/* ===== MOBILE APP IMAGE PERFECT FIT FIX ===== */

.mobile-mockup {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: transparent;
}

/* Gradient background for mobile mockup */
.mobile-mockup.gradient-bg {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

/* phone frame */
.mobile-frame {
    height: 200px;
    /* control phone height here */
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-frame img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    border-radius: 20px;
}

/* actual image */
.mobile-screen {
    height: 115%;
    width: auto;
    object-fit: contain;
    /* VERY IMPORTANT */
    border-radius: 18px;
    transform: scale(1.15);
    transition: transform 0.6s cubic-bezier(.4, 0, .2, 1);
    display: block;
}

.project-card:hover .mobile-screen {
    transform: scale(1.22);
}

.mcan-img {
    object-fit: contain;
    transform: scale(0.88);
    /* zoom out */
    transition: transform .5s ease;
    border-radius: 40px;
}

.project-card:hover .mcan-img {
    transform: scale(0.95);
    /* adjust zoom */
}

.resecan-img {
    object-fit: contain;
    transform: scale(0.98);
    /* zoom out */
    transition: transform .5s ease;
    border-radius: 40px;
}

/* VEER image default zoom */
.veer-img {
    object-fit: contain;
    transform: scale(1.05);
    /* normal zoom */
    transition: transform .5s ease;
    border-radius: 40px;
}

/* VEER hover zoom */
.project-card:hover .veer-img {
    transform: scale(1.12);
    /* hover zoom */
}

.card-image {
    border-radius: 20px;
    /* main curve */
    overflow: hidden;
    /* IMPORTANT */
}

/* Make inner images follow curve */
.project-img {
    border-radius: 15px;
}

/*zoom panchayat card image*/
@media (min-width: 769px) {

    .mobile-screen {
        transform: scale(1.25);
        /* increase zoom */
        height: 115%;
    }

    .project-card:hover .mobile-screen {
        transform: scale(1.32);
        /* hover zoom */
    }
}

/* ========================================
   IMPROVED MOBILE RESPONSIVENESS
   ======================================== */
@media (max-width: 768px) {
    .portfolio-hero {
        padding-top: 120px;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .card-image {
        height: 220px;
    }

    .card-content {
        padding: 24px;
    }

    .card-title {
        font-size: 20px;
    }

    .card-desc {
        font-size: 14px;
    }

    /* Mobile mockup adjustments */
    .mobile-mockup {
        padding: 24px;
    }

    .mobile-frame {
        width: 140px;
        height: 280px;
        border-radius: 32px;
        border-width: 6px;
    }

    /* Social mockup adjustments */
    .social-mockup {
        padding: 24px;
    }

    .social-cards {
        padding: 0 16px;
        gap: 10px;
    }

    .social-card {
        padding: 16px;
    }

    .social-card.card-1 {
        height: 100px;
    }

    .social-card.card-2 {
        height: 120px;
        margin-top: -12px;
    }

    .social-icon {
        width: 28px;
        height: 28px;
    }

    .social-icon svg {
        width: 14px;
        height: 14px;
    }

    /* Desktop mockup adjustments */
    .desktop-mockup {
        padding: 20px;
    }

    .desktop-frame {
        padding: 10px;
    }

    .browser-dots {
        gap: 6px;
        margin-bottom: 12px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .content-box {
        height: 40px;
    }

    .content-bar {
        height: 60px;
    }

    /* Tech badges responsive */
    .tech-badges {
        bottom: 12px;
        left: 12px;
        right: 12px;
        gap: 6px;
    }

    .tech-badge {
        padding: 4px 10px;
        font-size: 10px;
    }

    /* Category tags responsive */
    .card-tags {
        gap: 6px;
        margin-bottom: 12px;
    }

    .tag {
        padding: 4px 10px;
        font-size: 10px;
    }

    /* Category badge responsive */
    .category-badge {
        padding: 3px 10px;
        font-size: 9px;
    }

    .lock-icon {
        width: 10px;
        height: 10px;
    }

    /* Star rating responsive */
    .star-rating svg {
        width: 12px;
        height: 12px;
    }

    /* Trust section responsive */
    .trust-section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .trust-card {
        padding: 24px;
    }

    .trust-icon {
        width: 40px;
        height: 40px;
    }

    .trust-icon svg {
        width: 20px;
        height: 20px;
    }

    .trust-card-title {
        font-size: 18px;
    }

    .trust-card-desc {
        font-size: 13px;
    }

    /* CTA section responsive */
    .cta-section {
        padding: 60px 0;
    }

    .cta-content {
        padding: 40px 24px;
        border-radius: 24px;
    }

    .cta-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .cta-subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .cta-button {
        padding: 14px 32px;
        font-size: 16px;
        width: 100%;
        justify-content: center;
    }

    .mobile-screen {
        height: 100%;
        /* reduce height */
        transform: scale(0.95);
        /* zoom out image */
    }

    /* optional hover disable on mobile */
    .project-card:hover .mobile-screen {
        transform: scale(1);
        /* prevent extra zoom on hover */
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .projects-grid {
        padding: 0 16px;
    }

    .card-content {
        padding: 20px;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .mobile-frame {
        width: 120px;
        height: 240px;
    }

    .social-cards {
        grid-template-columns: 1fr;
    }

    .social-card.card-2 {
        margin-top: 0;
    }

    .trust-grid {
        padding: 0 16px;
    }

    .cta-content {
        padding: 32px 20px;
    }
}