/* 
   S7VEN Design - Digital Industrial Aesthetic
   Theme: Technical / Brutalist / Sharp
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    /* Colors - Digital Industrial */
    --bg-dark: #050505;
    --bg-dark-2: #0a0a0a;
    --text-main: #e2e2e2;
    --text-muted: #888888;

    --primary: #ccff00;
    /* Acid Green */
    --secondary: #ffffff;
    /* Sharp White */
    --accent: #FF3333;
    /* Critical Red for tiny details */

    --border-color: rgba(255, 255, 255, 0.15);
    --border-highlight: #ccff00;

    /* Gradients (Subtle now) */
    --gradient-brand: linear-gradient(135deg, var(--primary), #b3e600);
    --gradient-dark: linear-gradient(180deg, rgba(20, 20, 20, 0), rgba(20, 20, 20, 0.8));

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    /* Technical font */

    /* Spacing & Geometry */
    --container-width: 1300px;
    /* Wider for impact */
    --header-height: 90px;
    --radius-sharp: 0px;
    /* Brutalist default */
    --radius-sm: 2px;
}

/* RESET & BASE */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-heading);
    /* Heading font as base for modern feel */
    line-height: 1.2;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    /* Technical Grid Background */
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s cubic-bezier(0.2, 0, 0, 1);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* UTILS */
.container {
    width: 92%;
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
}

.text-highlight {
    color: var(--primary);
}

.mono {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* TECHNICAL DECORATIONS */
.tech-crosshair {
    position: absolute;
    width: 20px;
    height: 20px;
    border-top: 1px solid var(--text-muted);
    border-left: 1px solid var(--text-muted);
    opacity: 0.5;
    z-index: 10;
}

.tech-crosshair.top-right {
    top: 0;
    right: 0;
    transform: rotate(90deg);
}

.tech-crosshair.bottom-left {
    bottom: 0;
    left: 0;
    transform: rotate(-90deg);
}

.tech-crosshair.bottom-right {
    bottom: 0;
    right: 0;
    transform: rotate(180deg);
}

/* TYPOGRAPHY COMPONENTS */
.section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    /* Massive scale */
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: -2px;
    margin-bottom: 2rem;
    color: white;
}

.overline {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: inline-block;
    border: 1px solid var(--primary);
    padding: 4px 12px;
}

/* BUTTONS - INDUSTRIAL */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: var(--radius-sharp);
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: var(--primary);
    color: black;
    border: 1px solid var(--primary);
}

.btn--primary:hover {
    background: transparent;
    color: var(--primary);
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.2);
}

.btn--outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: white;
}

.btn--outline:hover {
    background-color: #CCFF00;
    color: #000;
    border-color: #CCFF00;
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.4);
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 100;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.header.scrolled {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
}

.logo__img {
    height: 75px;
    /* Increased from 45px */
    width: auto;
    filter: contrast(1.2);
    transition: 0.3s;
}

.nav__list {
    display: flex;
    gap: 3rem;
}

.nav__link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    position: relative;
    padding-bottom: 4px;
}

.nav__link:hover,
.nav__link.active {
    color: var(--primary);
}

.nav__link::before {
    content: '[';
    margin-right: 5px;
    opacity: 0;
    transition: 0.2s;
    color: var(--primary);
}

.nav__link::after {
    content: ']';
    margin-left: 5px;
    opacity: 0;
    transition: 0.2s;
    color: var(--primary);
}

.nav__link:hover::before,
.nav__link:hover::after,
.nav__link.active::before,
.nav__link.active::after {
    opacity: 1;
}

.mobile-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
}

/* HERO SECTION - SPLIT / STACKED */
.hero {
    min-height: 100vh;
    padding-top: var(--header-height);
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.hero__bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
}

.hero__img {
    width: 100%;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    mix-blend-mode: normal;
    filter: grayscale(100%) brightness(0.8);
}

.hero__content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.badge {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2rem;
    background: rgba(204, 255, 0, 0.05);
}

.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
}

.hero__title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    line-height: 1.2;
    letter-spacing: -3px;
    margin-bottom: 2rem;
}

.hero__description {
    font-size: 1.25rem;
    color: var(--text-muted);
    border-left: 2px solid var(--primary);
    padding-left: 1.5rem;
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero__actions {
    display: flex;
    gap: 1.5rem;
}

/* ABOUT SECTION */
.section {
    padding: 120px 0;
    border-bottom: 1px solid var(--border-color);
}

.about__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
    align-items: start;
}

.stats {
    display: flex;
    gap: 4rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 3rem;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.5rem;
    display: block;
}

.about__visual {
    display: block;
    position: relative;
}

.tech-card {
    background: #0a0a0a;
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    position: relative;
    margin-bottom: 2rem;
    transition: 0.3s;
}

.tech-card:hover {
    border-color: var(--primary);
}

.tech-card h3 {
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: white;
}

.tech-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* TESTIMONIAL CAROUSEL (ABOUT SECTION) */
.about-carousel {
    margin-top: 5rem;
    overflow: hidden;
    position: relative;
    width: 100%;
    /* Gradient Masks for fade effect */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    padding: 1rem 0;
}

.about-carousel__track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    /* Animation handled by JS for seamless loop cloning */
}

.about-testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 2rem;
    width: 320px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    transition: 0.3s;
    user-select: none;
}

.about-testimonial-card:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.about-testimonial-card p {
    font-size: 0.95rem;
    color: #e2e2e2;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-testimonial-card h5 {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
}

.about-testimonial-card h5 span {
    color: var(--text-muted);
    font-size: 0.75rem;
    display: block;
    margin-top: 4px;
    font-weight: 400;
}

/* SERVICES GRID */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
}

.service-card {
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 4rem 2.5rem;
    background: transparent;
    /* No blur */
    transition: 0.2s;
    border-radius: 0;
}

.service-card:hover {
    background: #0f0f0f;
}

.service-card:hover .service-icon {
    color: var(--primary);
    transform: scale(1.1);
}

.service-icon {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 2rem;
    transition: 0.3s;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

/* TESTIMONIALS */
.testimonials__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial-card {
    border: 1px solid var(--border-color);
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.02) 50%, rgba(255, 255, 255, 0.02) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    padding: 3rem;
}

/* TESTIMONIALS CAROUSEL REPLACING GRID */
/* TESTIMONIAL CAROUSEL (MAIN SECTION) */
.testimonials-carousel {
    margin-top: 4rem;
    overflow: hidden;
    position: relative;
    width: 100%;
    /* Gradient Masks for fade effect */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    padding: 1rem 0;
}

.testimonials-carousel__track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 45s linear infinite;
    /* Slightly slower */
}

.testimonials-carousel__track:hover {
    animation-play-state: paused;
}

.testimonials-card-simple {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    width: 400px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    transition: 0.3s;
    user-select: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonials-card-simple:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
}

.testimonials-card-simple .quote-icon {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.testimonials-card-simple p {
    font-size: 1rem;
    color: #e2e2e2;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonials-card-simple .author {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
}

.testimonials-card-simple .author span {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 5px;
    font-weight: 400;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* CTA */
/* CTA */
.cta__box {
    border: 1px solid var(--primary);
    background: #0a0a0a;
    padding: 6rem 3rem;
    /* Increased side padding */
    border-radius: 0;
    position: relative;
    overflow: visible;
}

.cta__content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta__title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.cta__content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 2rem 4rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--primary);
    font-size: 1.4rem;
}

.cta__actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta__box::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    bottom: -5px;
    right: -5px;
    border: 1px solid rgba(204, 255, 0, 0.3);
    z-index: 0;
}

/* FOOTER */
.footer {
    border-top: 1px solid var(--border-color);
    background: #020202;
    padding: 6rem 0 2rem 0;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    text-align: center;
}

.footer__col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer__col p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 1rem;
    max-width: 300px;
}

.footer__col h4 {
    font-family: var(--font-mono);
    text-transform: uppercase;
    color: white;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer__col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__links li {
    color: var(--text-muted);
}

.footer__links a:hover {
    color: var(--primary);
    /* Removed padding-left movement for cleaner centered look */
}

.footer__bottom {
    margin-top: 6rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 968px) {

    .section-title,
    .hero__title {
        font-size: 3rem;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats {
        flex-wrap: wrap;
        gap: 2rem;
    }

    /* Mobile Navigation */
    .mobile-toggle {
        display: block;
        z-index: 200;
        position: relative;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(15px);
        z-index: 150;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav.active {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .nav__link {
        font-size: 1.5rem;
        color: white;
    }

    .header .btn {
        display: none;
        /* Hide CTA in header on mobile to save space */
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 150px;
    }

    .hero__description {
        margin: 0 auto 2rem auto;
        border-left: none;
        padding-left: 0;
    }

    .hero__actions {
        justify-content: center;
    }

    .section {
        padding: 80px 0;
    }

    .about-carousel__track,
    .testimonials-carousel__track {
        gap: 1rem;
    }

    .testimonials-card-simple,
    .about-testimonial-card {
        width: 280px;
        padding: 1.5rem;
    }

    .cta__box {
        padding: 3rem 1.5rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

/* PORTFOLIO PAGE STYLES */
.hero--compact {
    min-height: 60vh;
    padding-top: var(--header-height);
}

.hero--compact .hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.center-text {
    text-align: center;
    margin: 0 auto;
}

.center-text-margin {
    margin-top: 4rem;
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Portfolio Grid */
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: #0a0a0a;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.project-card__image-container {
    height: 220px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

/* Placeholder styles */
.project-placeholder {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-placeholder i {
    font-size: 4rem;
    color: var(--text-muted);
    opacity: 0.5;
    transition: 0.3s;
}

.project-card:hover .project-placeholder i {
    color: var(--primary);
    opacity: 1;
    transform: scale(1.1);
}

.project-card__content {
    padding: 2.5rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-card__title {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.project-card__category {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.project-card__desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Image styles */
.project-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-card__img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .portfolio__grid {
        grid-template-columns: 1fr;
    }

    .hero--compact {
        min-height: 50vh;
        padding-top: 120px;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease-out forwards;
}

.lightbox__content {
    margin: auto;
    display: block;
    max-width: 95%;
    max-height: 90vh;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    /* Bouncy zoom */
}

.lightbox__caption {
    margin-top: 1rem;
    color: var(--text-main);
    font-family: var(--font-mono);
    text-align: center;
    font-size: 1.2rem;
    animation: slideUp 0.4s ease-out 0.1s forwards;
    opacity: 0;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1001;
}

.lightbox__close:hover,
.lightbox__close:focus {
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
    transform: rotate(90deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* --- VISUAL EFFECTS --- */

/* 1. Glassmorphism */
.glass {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* 2. Glow Effects */
.glow-text {
    text-shadow: 0 0 10px rgba(204, 255, 0, 0.3), 0 0 20px rgba(204, 255, 0, 0.1);
}

.glow-box:hover {
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.2), 0 0 30px rgba(204, 255, 0, 0.1);
    border-color: var(--primary);
}

/* 3. Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    /* Javascript will remove this or add .active to trigger animation */
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.8s cubic-bezier(0.5, 0, 0, 1) forwards;
}

/* Enhanced Hover States */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    border-color: var(--primary);
}

.project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px -15px rgba(0, 0, 0, 0.7);
}

/* Button Glow */
.btn--primary:hover {
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.4);
}

/* Header Glass update */
.header {
    background: rgba(10, 10, 10, 0.85);
    /* Slightly transparent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}


@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Form Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.modal.active {
    display: flex;
    opacity: 1;
    animation: fadeIn 0.3s ease-out forwards;
}

.modal__content {
    background: #0a0a0a;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 2.5rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.modal__close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-muted);
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.modal__close:hover {
    color: var(--primary);
}

.modal__title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: white;
    text-align: center;
}

.modal__subtitle {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-main);
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    background: #111;
    border: 1px solid var(--border-color);
    color: white;
    font-family: inherit;
    border-radius: var(--radius-sm);
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #151515;
}

.full-width {
    width: 100%;
    margin-top: 1rem;
}

/* NOTIFICATIONS / TOASTS */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0a0a0a;
    border: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2000;
    max-width: 400px;
}

.notification.active {
    transform: translateY(0);
    opacity: 1;
}

.notification.success {
    border-color: var(--primary);
}

.notification.success i {
    color: var(--primary);
}

.notification.error {
    border-color: var(--accent);
}

.notification.error i {
    color: var(--accent);
}

.notification__content h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.notification__content p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.notification__icon {
    font-size: 1.5rem;
}