/* ============================================================
   GLOBAL STYLES
============================================================ */
body {
    background: linear-gradient(180deg, #0a0a0a, #0e1a2b);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

/* Headings */
h2 {
    color: #4cc9f0;
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ============================================================
   PROJECTS GRID
============================================================ */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 32px;
    padding: 0 20px;
}

/* Project Card */
.project-card {
    background: #141414;
    border-radius: 20px;
    border: 2px solid rgba(56, 189, 248, 0.2);
    overflow: hidden;
    transition: 0.4s ease-in-out;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.25);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: #38bdf8;
    box-shadow: 0 0 28px rgba(56, 189, 248, 0.6);
}

.project-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: 0.4s ease-in-out;
}

.project-card:hover img {
    filter: brightness(0.75);
    transform: scale(1.06);
}

/* Card Body */
.card-body {
    text-align: center;
    padding: 28px 22px;
}

/* Title + Description */
.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
    transition: 0.3s;
}

.card-title:hover {
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.9);
}

.card-text {
    font-size: 0.95rem;
    color: #d0d0d0;
    margin-bottom: 16px;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn-dark {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 50px;
    transition: 0.3s;
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.4);
}

.btn-dark:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.6);
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonial-card {
    background: #161616;
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    color: #fff;
    border: 1px solid rgba(56, 189, 248, 0.25);
    transition: 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 22px rgba(56, 189, 248, 0.5);
}

.testimonial-card img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: 3px solid #38bdf8;
    margin-bottom: 15px;
    object-fit: cover;
}

.testimonial-card p {
    font-size: 0.9rem;
    font-style: italic;
    color: #d4d4d4;
    margin: 15px 0;
}

.testimonial-card h6 {
    color: #fff;
    font-weight: 600;
}

/* ============================================================
   FOOTER
============================================================ */
footer {
    background-color: #041124;
    padding: 40px 0;
    color: #cce5ff;
}

footer h5 {
    color: #ffffff;
    font-weight: 600;
}

footer a {
    color: #dfe8f3;
    text-decoration: none;
    transition: 0.3s;
}

footer a:hover {
    color: #38bdf8;
}

footer .d-flex a {
    width: 45px;
    height: 45px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: 0.3s;
}

footer .d-flex a:hover {
    transform: scale(1.2);
    border-color: #38bdf8;
}

/* ============================================================
   RESPONSIVE MEDIA QUERIES
============================================================ */

/* Medium Devices */
@media (max-width: 992px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .project-card img {
        height: 210px;
    }
}

/* Small Devices */
@media (max-width: 576px) {
    .project-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card img {
        height: 190px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .card-body {
        padding: 20px 15px;
    }

    .testimonial-card {
        padding: 22px;
    }
}


:root {
    --bg-1: #0a0a0a;
    /* outer */
    --bg-2: #0e1a2b;
    /* inner */
    --accent: #2bd4ff;
    --accent-2: #38bdf8;
    --glass: rgba(255, 255, 255, 0.04);
    --muted: #cbdcee;
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    background: radial-gradient(1200px 600px at 10% 10%, rgba(56, 189, 248, 0.06), transparent),
        linear-gradient(180deg, var(--bg-1), var(--bg-2));
    color: #e9f6ff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: 80px;
}

.container {
    max-width: 1180px;
}

/* ====== Header / Intro ====== */
.intro {
    padding: 48px 0 16px;
    text-align: center;
}

.intro .kicker {
    display: inline-block;
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
    color: var(--muted);
    border: 1px solid rgba(56, 189, 248, 0.07);
}

.intro h1 {
    font-size: 2.3rem;
    margin: 18px 0 6px;
    letter-spacing: 0.6px;
    color: #e6fbff;
    text-shadow: 0 6px 24px rgba(10, 30, 60, 0.35);
}

.intro p {
    color: #bcdff6;
    max-width: 760px;
    margin: 0 auto;
    font-size: 0.98rem;
}

/* ====== Filter Tabs ====== */
.filters {
    margin: 28px 0 8px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--glass);
    color: var(--muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 18px rgba(14, 26, 43, 0.35);
}

.filter-btn.active {
    color: #00202b;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    box-shadow: 0 6px 28px rgba(56, 189, 248, 0.18), 0 0 24px rgba(56, 189, 248, 0.06) inset;
    transform: translateY(-3px);
}

/* ====== Grid Layout (masonry-esque) ====== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    margin-top: 26px;
}

/* large hero card spans more cols */
.card-large {
    grid-column: span 6;
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.card-regular {
    grid-column: span 3;
    min-height: 260px;
    display: flex;
    flex-direction: column;
}

/* card base */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    box-shadow: 0 10px 30px rgba(2, 8, 24, 0.6);
    transition: transform .35s cubic-bezier(.2, .9, .3, 1), box-shadow .35s;
}

.project-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 30px 60px rgba(2, 8, 24, 0.7), 0 0 36px rgba(56, 189, 248, 0.08);
}

/* project image */
.project-media {
    position: relative;
    min-height: 160px;
    overflow: hidden;
}

.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform .6s ease, filter .4s ease;
    will-change: transform;
}

.project-card:hover .project-media img {
    transform: scale(1.07);
    filter: brightness(.78);
}

/* overlay details */
.project-info {
    padding: 18px;
}

.project-meta {
    font-size: 12px;
    color: #bfeeff;
    opacity: .8;
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.project-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.project-desc {
    color: #c6e9ff;
    opacity: .9;
    font-size: 0.95rem;
    line-height: 1.35;
    margin-bottom: 12px;
}

.project-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: auto;
}

.btn-ghost {
    background: transparent;
    color: var(--muted);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 8px 12px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s;
}

.btn-ghost:hover {
    color: #fff;
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.18);
}

.btn-primary {
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    color: #00141a;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border: none;
    box-shadow: 0 8px 26px rgba(56, 189, 248, 0.12);
}

.btn-primary:active {
    transform: scale(.99);
}

/* subtle neon accent line */
.neon-edge {
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(56, 189, 248, 0.18));
    mix-blend-mode: screen;
    pointer-events: none;
}

/* badges */
.tag {
    font-size: 11px;
    background: rgba(255, 255, 255, 0.02);
    padding: 6px 8px;
    border-radius: 8px;
    color: #cdeffb;
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: inline-block;
    margin-right: 8px;
}

/* ====== Testimonials compact carousel ====== */
.testimonials {
    margin-top: 56px;
    display: flex;
    gap: 18px;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.testi-card {
    width: 340px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
    border-radius: 12px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
    box-shadow: 0 10px 30px rgba(2, 8, 24, 0.5);
    transition: transform .35s;
}

.testi-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(2, 8, 24, 0.6);
}

.testi-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(56, 189, 248, 0.8);
    margin: 0 auto 12px;
    display: block;
}

.testi-text {
    color: #cfeeff;
    font-style: italic;
    margin-bottom: 12px;
}

.testi-name {
    color: #e8fbff;
    font-weight: 700;
    font-size: 0.95rem;
}

/* ====== Responsive behavior ====== */
@media (max-width: 1150px) {
    .card-large {
        grid-column: span 12;
    }

    .card-regular {
        grid-column: span 6;
    }

    .projects-grid {
        gap: 16px;
    }
}

@media (max-width: 700px) {
    .card-regular {
        grid-column: span 12;
    }

    .filters {
        gap: 8px;
    }

    .intro h1 {
        font-size: 1.6rem;
    }

    .testi-card {
        width: 100%;
    }
}

/* small utilities */
.muted {
    color: #a6d9ee;
    opacity: .8;
    font-size: 0.92rem;
}

.spacer {
    height: 26px;
}

/* another content css code  */
.pm-projects-section {
    padding: 80px 20px;
    background: #0a1b3c;
    color: #fff;
}

.pm-container {
    max-width: 1180px;
    margin: 0 auto;
}

/* Title */
.pm-section-title {
    font-size: 30px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #80bfff;
    text-shadow: 0 0 8px #1e90ff;
}

/* Grid */
.pm-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Card */
.pm-project-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 18px rgba(0, 102, 255, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.pm-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(0, 150, 255, 0.5);
    border-color: rgba(0, 150, 255, 0.5);
}

/* Icon */
.pm-project-icon {
    font-size: 45px;
    margin-bottom: 15px;
    text-shadow: 0 0 10px #1e90ff;
}

/* Heading / Desc */
.pm-project-heading {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

.pm-project-desc {
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 20px;
    color: #e6f7ff;
}

/* Button */
.pm-btn-project {
    padding: 10px 18px;
    border: none;
    border-radius: 35px;
    background: #1e90ff;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
}

.pm-btn-project:hover {
    background: #66b3ff;
    box-shadow: 0 0 12px #1e90ff;
    transform: translateY(-3px);
}

/* Responsive tweaks (optional) */
@media (max-width: 768px) {
    .pm-section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .pm-project-card {
        padding: 22px;
    }

    .pm-project-icon {
        font-size: 38px;
    }
}

/* client information css code  */
.testimonial-section {
            background: linear-gradient(180deg, #071526, #0A1A2F);
            padding: 80px 20px;
        }

        .testimonial-wrapper {
            max-width: 500px;
            margin: auto;
            position: relative;
        }

        .glass-card {
            background: rgba(255, 255, 255, 0.06);
            border-radius: 18px;
            padding: 28px;
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            box-shadow: 0 8px 30px rgba(0,0,0,0.3);
            text-align: center;
            color: #fff;
        }

        .glass-card img {
            width: 65px;
            height: 65px;
            border-radius: 50%;
            border: 2px solid #4dd0e1;
            object-fit: cover;
        }

        .client-name {
            margin-top: 15px;
            font-size: 18px;
            font-weight: 600;
        }

        .client-role {
            font-size: 13px;
            opacity: 0.7;
            margin-bottom: 10px;
        }

        .client-text {
            font-size: 14px;
            line-height: 1.5;
            opacity: 0.9;
        }

        /* UNIQUE SLIDER */
        .slider-container {
            overflow: hidden;
            position: relative;
            height: 260px;
        }

        .slide {
            position: absolute;
            width: 100%;
            transition: opacity 0.9s ease, transform 0.9s ease;
            opacity: 0;
            transform: scale(0.92);
        }

        .slide.active {
            opacity: 1;
            transform: scale(1);
        }