@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --bg-color: #0c0c0c;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --primary-color: #ff4d00;
    --secondary-color: #ff7a00;
    --glow-color: rgba(255, 77, 0, 0.6);
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    --font-accent: 'Outfit', sans-serif;
    --header-height: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s ease;
}

header.scrolled {
    background: rgba(12, 12, 12, 0.9);
    backdrop-filter: blur(20px);
    height: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    font-style: italic;
    color: var(--text-color);
    text-decoration: none;
    z-index: 1001;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

nav ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--text-color);
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
}

/* Responsive Header */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(12, 12, 12, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    nav ul li a {
        font-size: 2rem;
        font-weight: 700;
        color: #fff;
    }

    /* Animate Hamburger to X */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

.btn-touch {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.btn-touch:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-touch .arrow {
    background: var(--primary-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

/* Background Glow Effect */
.hero-glow {
    position: absolute;
    top: 35%; /* Position behind the head area */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.8;
    filter: blur(40px);
    z-index: -1; /* Behind the image */
    border-radius: 50%;
    animation: glowPulse 5s infinite ease-in-out;
}

.hero-image-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    height: 90vh;
    display: flex;
    align-items: flex-end;
}


.user-pic {
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(0,0,0,0.5));
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-end;
    margin-top: 100px;
    position: relative;
    z-index: 3;
    height: 100%;
    padding-bottom: 150px;
}

.hero-left h2 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-family: var(--font-accent);
}

.hero-left h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 0.9;
    font-family: var(--font-sans);
}

.hero-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 50px;
}

.hero-right p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 400px;
    margin-bottom: 40px;
    backdrop-filter: blur(5px);
}

.btn-call {
    width: 100%;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 20px 30px;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.btn-call:hover {
    border-color: var(--primary-color);
    background: rgba(255, 77, 0, 0.05);
}

.btn-call .arrow {
    background: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Categories Section */
.hero-bottom {
    position: absolute;
    bottom: 50px;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    z-index: 10;
}

.category-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.category-item span {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.category-item span::before {
    content: '/';
    margin-right: 5px;
}

.category-item h4 {
    font-size: 1rem;
    font-weight: 500;
}

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

@keyframes glowPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
}

.hero-glow {
    animation: glowPulse 5s infinite ease-in-out;
}

.hero-left h1, .hero-right p, .btn-call, .hero-bottom {
    animation: fadeIn 1s ease forwards;
}

.hero-left h1 { animation-delay: 0.2s; }
.hero-right p { animation-delay: 0.4s; }
.btn-call { animation-delay: 0.6s; }
.hero-bottom { animation-delay: 0.8s; }

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 120px;
        padding-bottom: 50px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 0;
        padding-bottom: 40px;
        gap: 30px;
    }
    
    .hero-left h1 {
        font-size: 3.5rem;
        line-height: 1;
    }

    .hero-right {
        padding-left: 0;
        align-items: center;
    }

    .hero-right p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .btn-call {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .hero-image-wrapper {
        position: relative;
        transform: none;
        left: 0;
        top: 0;
        height: 50vh;
        width: 100%;
        margin-top: -20px;
        margin-bottom: 40px;
    }

    .user-pic {
        height: 100%;
        width: 100%;
        object-fit: contain;
    }

    .hero-glow {
        width: 350px;
        height: 350px;
        top: 30%; /* Align with the head on mobile */
    }


    .hero-bottom {
        position: relative;
        bottom: 0;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 30px;
        padding: 40px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}


/* New Sections Styling */
.section-header {
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.section-header h3 {
    font-size: 2rem;
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--text-color);
}

.section-header .line {
    width: 80px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Tech Stack */
.tech-stack {
    padding: 100px 5%;
    background: #0f0f0f;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px 40px;
    border-radius: 100px; /* Pill shape for premium feel */
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: antiGravity 6s ease-in-out infinite;
}

/* Staggered Floating for Organic Feel */
.skill-item:nth-child(2n) { animation-delay: -1s; animation-duration: 7s; }
.skill-item:nth-child(3n) { animation-delay: -2s; animation-duration: 8s; }
.skill-item:nth-child(4n) { animation-delay: -3s; animation-duration: 5s; }

.skill-item:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-15px) scale(1.1);
    box-shadow: 0 20px 40px rgba(255, 77, 0, 0.3);
    animation-play-state: paused;
}

.skill-item:hover i {
    color: #fff;
    transform: rotate(360deg);
}

.skill-item:hover span {
    color: #fff;
}

.skill-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.5s ease;
}

.skill-item span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

/* Special Antigravity Skill Effect */
.antigravity-skill {
    border: 1px solid var(--primary-color);
    animation: superFloat 4s ease-in-out infinite !important;
}

@keyframes antiGravity {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(5px, -15px) rotate(2deg); }
    66% { transform: translate(-5px, -10px) rotate(-2deg); }
}

@keyframes superFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}



/* Certificates */
.certificates {
    padding: 100px 0;
    background: var(--bg-color);
}

.marquee-container {
    overflow: hidden;
    padding: 20px 0;
    display: flex;
}

.marquee {
    display: flex;
    gap: 30px;
    animation: scroll 60s linear infinite;
    width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.marquee-container.reverse .marquee {
    animation-direction: reverse;
}

.cert-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 20px;
    width: 300px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.cert-card:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.cert-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

.cert-card p {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-33.3333%, 0, 0); }
}

/* Services Section */
.services {
    padding: 100px 5%;
    background: var(--bg-color);
}

.services-list {
    max-width: 1200px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
}

.service-row {
    display: grid;
    grid-template-columns: 100px 1fr 1.5fr;
    padding: 50px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
    transition: all 0.4s ease;
}

.service-row:hover {
    padding-left: 20px;
    border-bottom-color: var(--primary-color);
    background: rgba(255, 77, 0, 0.02);
}

.service-num {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-accent);
}

.service-title {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-serif);
}

.service-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 500px;
}

/* Process Section */
.process {
    padding: 100px 5%;
    background: #0a0a0a;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.process-step span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.process-step p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .service-row {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 0;
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .service-title {
        font-size: 1.8rem;
    }
}


/* Projects Section */
.projects {
    padding: 100px 5%;
    background: #0a0a0a;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.project-img {
    height: 280px; /* Slightly taller for better spacing */
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


.project-img img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Show full image without cropping */
    padding: 20px; /* Add space around the image */
    transition: transform 0.5s ease;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3)); /* Premium floating effect */
}


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


.project-img h4 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    opacity: 0.5;
}

.project-img h4.secondary {
    color: var(--secondary-color);
}

.project-img .overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 77, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .overlay {
    opacity: 1;
}

.overlay a {
    width: 60px;
    height: 60px;
    background: #fff;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    text-decoration: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.project-card:hover .overlay a {
    transform: translateY(0);
}

.project-info {
    padding: 30px;
}

.tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tags span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(255, 77, 0, 0.1);
    padding: 5px 12px;
    border-radius: 50px;
}

.project-info h5 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Modern Contact Section */
.contact {
    padding: 150px 5%;
    background: #0d0d0d;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 77, 0, 0.05) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.contact-container-modern {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-left h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 40px;
}

.contact-left h2 span {
    color: var(--primary-color);
}

.contact-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}

.contact-perks li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.contact-perks li i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-direct p {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
}

.contact-direct span {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    max-width: 300px;
}

.btn-minimal {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s ease;
}

.btn-minimal:hover {
    gap: 15px;
}

/* Form Styling */
.contact-right {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 40px;
    backdrop-filter: blur(10px);
}

.contact-form-modern {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.form-group-selection label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.selection-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.selection-pills input {
    display: none;
}

.selection-pills label {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0; /* Override default label margin */
}

.selection-pills input:checked + label {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.form-row-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-modern label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.form-group-modern input,
.form-group-modern textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
    color: #fff;
    font-family: inherit;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-group-modern input:focus,
.form-group-modern textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.btn-submit-modern {
    margin-top: 20px;
    background: #fff;
    color: #000;
    border: none;
    padding: 20px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit-modern:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .contact-container-modern {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .contact-right {
        padding: 30px;
    }
    
    .form-row-modern {
        grid-template-columns: 1fr;
    }
}



/* Footer Styling */
.footer {
    padding: 150px 5% 50px;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 100px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-top h2 {
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.85;
    font-weight: 800;
    font-family: var(--font-sans);
    color: #fff;
}

.footer-top h2 span {
    color: var(--primary-color);
}

.footer-cta {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.footer-cta:hover {
    gap: 30px;
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-left p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 40px;
}

.footer-socials a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.footer-socials a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-socials a:hover {
    color: var(--primary-color);
}

.footer-socials a:hover::after {
    width: 100%;
}

@media (max-width: 992px) {
    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 50px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-socials {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}




/* Success Modal Styling */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.success-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 40px;
    border-radius: 40px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    transform: translateY(50px) scale(0.9);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.success-modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.success-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    margin: 0 auto 30px;
    box-shadow: 0 15px 30px rgba(255, 77, 0, 0.3);
    animation: bounceIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.modal-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: var(--font-sans);
    background: linear-gradient(to right, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.btn-close-modal {
    background: #fff;
    color: #000;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close-modal:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.05);
}

@keyframes bounceIn {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}
