.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 120px 64px 140px 64px;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Background accent */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* LEFT SIDE TEXT */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.8px;
    margin: 0;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.9s forwards 0.2s;
}

/* Divider */
.hero-divider {
    width: 95%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    margin: 12px 0;
    opacity: 0;
    animation: fadeUp 0.8s forwards 0.6s;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards 0.5s;
}

.btn-primary {
    background: #000;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: 0.6s;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
    background: #111;
}

.btn-primary:hover::before {
    left: 120%;
}

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

/* .btn-secondary styles (uncomment when needed) */
.btn-secondary {
    padding: 14px 28px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* IMAGE SIDE */
.hero-image {
    width: 480px;
    height: 480px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.hero-image:hover {
    transform: scale(1.04) rotate(1deg);
    box-shadow: 0 40px 80px -10px rgba(0, 0, 0, 0.6);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.hero-image:hover img {
    transform: scale(1.12);
}

/* STATS */
.hero-stats {
    display: flex;
    gap: 52px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.9s forwards 0.8s;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-8px);
}

.stat h5 {
    margin: 0;
    font-size: 52px;
    font-weight: 700;
    color: white;
    letter-spacing: -1.2px;
    line-height: 1;
    transition: all 0.4s ease;
}

.stat:hover h5 {
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.stat p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.3s ease;
}

.stat:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* ANIMATIONS */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 40px;
        gap: 60px;
    }

    .hero-image {
        width: 380px;
        height: 380px;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 48px;
    }
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 42px;
    }

    .hero-image {
        width: 320px;
        height: 320px;
    }
}

.projects {
    padding: 160px 64px;
    color: white;
    background: linear-gradient(135deg, #2b0000 0%, #5d0000 100%);
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

/* HEADER */
.projects-header {
    text-align: center;
    margin-bottom: 64px;
}

.projects-header p {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.75;
    margin: 0 0 8px 0;
}

.projects-header h2 {
    font-size: 52px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -1.5px;
}

/* GRID */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
}

/* CARD */
.project-card {
    background: rgba(0, 0, 0, 0.55);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-card:hover {
    transform: translateY(-16px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
}

/* IMAGE */
.project-image {
    height: 260px;
    overflow: hidden;
    position: relative;
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-image::after {
    opacity: 1;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* CONTENT */
.project-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-content h3 {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.project-content p {
    font-size: 17px;
    opacity: 0.6;
    margin: 0;
}

.project-content a {
    color: white;
}

/* TAGS */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.project-tags span {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project-card:hover .project-tags span {
    background: rgba(255, 255, 255, 0.18);
}

/* LINK */
.project-link {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.project-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.4s ease;
}

.project-link:hover {
    color: #fff;
    padding-left: 4px;
}

.project-link:hover::after {
    width: 100%;
}

/* Animations */
.project-card {
    opacity: 0;
    transform: translateY(40px);
    animation: cardFadeUp 0.8s forwards;
}

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

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

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

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

/* Responsive */
@media (max-width: 1024px) {
    .projects {
        padding: 120px 40px;
    }

    .projects-header h2 {
        font-size: 44px;
    }
}

@media (max-width: 640px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .project-card {
        max-width: 100%;
    }
}

/* Ongoing Project Styling */
.project-card.ongoing {
    position: relative;
    border: 2px solid #ffcc00;
    background: linear-gradient(145deg, #1a1a1a, #111);
}

.project-card.ongoing .project-image {
    position: relative;
}

.ongoing-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #ffcc00;
    color: #000;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }
}

.ongoing-text {
    color: #ffcc00;
    font-weight: 500;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ffcc00;
    border-radius: 50%;
    animation: blink 1.4s infinite;
    vertical-align: middle;
    margin: 0 6px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.ongoing-link {
    color: #ffcc00 !important;
    font-weight: 600;
}

.ongoing-link:hover {
    color: #ffd633 !important;
}

/* Optional: Make image slightly desaturated for "work in progress" feel */
.project-card.ongoing .project-image img {
    filter: saturate(0.85) brightness(0.95);
}

.project-card.ongoing:hover .project-image img {
    filter: none;
}

.gallery {
    padding: 120px 0 120px 0;
}

.masonry {
    column-count: 3;
    column-gap: 24px;
    padding: 0 10%;
}

.masonry img {
    width: 100%;
    margin-bottom: 24px;
    border-radius: 12px;
    break-inside: avoid;
    cursor: pointer;
    transition: transform .3s ease;
}

.masonry img:hover {
    transform: scale(1.03);
}

/* Lightbox */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fade .25s ease;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    animation: zoom .25s ease;
}

.close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    user-select: none;
}

/* View More Button */
.gallery-cta {
    text-align: center;
    margin-top: 80px;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: white;
    border: 2px solid #ffcc00;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    background: #ffcc00;
    color: #111;
    transform: translateY(-3px);
}

.view-more-btn .arrow {
    transition: transform 0.3s ease;
}

.view-more-btn:hover .arrow {
    transform: translate(4px, -4px);
}

/* Optional: Make masonry slightly more compact on mobile */
@media (max-width: 768px) {
    .masonry {
        column-count: 2;
        padding: 0 5%;
    }

    .gallery-cta {
        margin-top: 60px;
    }
}

@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoom {
    from {
        transform: scale(.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* TESTIMONIALS */
.testimonials {
    padding: 140px 0 160px;
    background: linear-gradient(90deg, #120000, #4C0000);
    color: white;
}

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

.marquee {
    overflow: hidden;
    width: 100%;
}

.marquee-content {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: marquee 28s linear infinite;
}

.marquee:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50%));
    }
}

/* === TESTIMONIAL CARD === */
.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 36px 32px;
    width: 360px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 204, 0, 0.3);
}

.quote-icon {
    font-size: 72px;
    line-height: 1;
    font-weight: 700;
    color: rgba(255, 204, 0, 0.25);
    margin-bottom: 8px;
    height: 50px;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.65;
    color: #eee;
    flex-grow: 1;
    margin-bottom: 32px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.testimonial-author h4 {
    margin: 0;
    font-size: 17px;
    color: white;
}

.testimonial-author span {
    color: #ccc;
    font-size: 14.5px;
}

/* Optional: Add star rating */
.testimonial-card::after {
    content: "★★★★★";
    color: #ffcc00;
    font-size: 18px;
    letter-spacing: 2px;
    margin-top: auto;
    opacity: 0.9;
}

.cta {
    padding: 160px 64px;
    background: linear-gradient(135deg, #0f0a0a 0%, #2e0000 100%);
}

.cta-container {
    max-width: 1100px;
    margin: 0 auto;
    color: white;
}

.cta-header {
    text-align: center;
    margin-bottom: 80px;
}

.cta-header h2 {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    letter-spacing: -1.2px;
    margin-bottom: 12px;
}

.cta-subheader {
    font-size: 20px;
    opacity: 0.85;
    max-width: 500px;
    margin: 0 auto;
}

.cta-content {
    background: linear-gradient(90deg, #1a0000, #4C0000);
    padding: 70px 80px;
    border-radius: 28px;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.cta-column {
    flex: 1;
    min-width: 240px;
}

.cta-column h3 {
    font-size: 26px;
    margin-bottom: 28px;
    position: relative;
    display: inline-block;
}

.cta-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary, #ffcc00);
    border-radius: 999px;
}

/* Contact Links */
.contact-link {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 18px;
    color: white;
    text-decoration: none;
    padding: 14px 0;
    border-radius: 12px;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.contact-link:hover {
    opacity: 1;
    transform: translateX(12px);
    background: rgba(255, 255, 255, 0.08);
    padding-left: 16px;
}

.contact-link img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.contact-link:hover img {
    transform: scale(1.15);
}

/* Responsive */
@media (max-width: 768px) {
    .cta-content {
        padding: 50px 40px;
        gap: 40px;
    }

    .cta-column {
        min-width: 100%;
    }
}