:root {
    --bg: #000000;
    --text: #ffffff;
    --text-dim: #a1a1a1;
    --border: rgba(255, 255, 255, 0.1);
    --font: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 1. Reset the Navbar to be thin and sleek */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    /* This forces the bar to stay thin */
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Vertically centers logo and links */
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 4rem;
    /* Horizontal spacing */
}

/* 2. Fix the Logo container */
.logo {
    display: flex;
    align-items: center;
    height: 100%;
    /* Takes full height of the 70px bar */
}

/* 3. Force the Logo image to fit without stretching the bar */
.logo-img {
    height: 110px;
    width: auto;
    filter: invert(1) brightness(1.5) contrast(200%);
    mix-blend-mode: screen;
    transition: transform 0.3s ease;
    transform-origin: left center;
}

.logo-img:hover {
    transform: scale(1.05); /* Slight pop on hover */
}

/* 4. Ensure nav-links are also centered */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin-left: auto;
    /* Pushes links to the right */
    margin-right: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--text);
}

/* 5. Match the button from your image */
.nav-cta {
    background: #e0e0e0;
    color: #000;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

#star-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

/* Galaxy Glow Effect */
.galaxy-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 150px solid rgba(255, 255, 255, 0.05);
    /* Base subtle ring */
    border-top-color: rgba(255, 255, 255, 0.3);
    /* Bright part 1 */
    border-right-color: rgba(255, 255, 255, 0.1);
    /* Medium part */
    border-bottom-color: transparent;
    /* Let it fade out completely */
    border-left-color: rgba(255, 255, 255, 0.08);
    /* Fade in part */
    filter: blur(60px);
    z-index: -1;
    animation: rotateGalaxy 20s linear infinite;
    opacity: 0.9;
}

@keyframes rotateGalaxy {
    0% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.1) rotate(180deg);
    }

    100% {
        transform: scale(1) rotate(360deg);
    }
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 600;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 1.2rem;
}

.hero-content p {
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Buttons */
.btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
}

.btn-white {
    background: #fff;
    color: #000;
}

.btn-outline {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: 1px solid #333;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Services (Legacy/Credibility) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: 0.3s;
}

.card:hover {
    border-color: #555;
    background: rgba(255, 255, 255, 0.05);
}

.card i {
    width: 30px;
    height: 30px;
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* Packages / Services */
section {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.section-header .subtext {
    font-size: 0.95rem;
    color: #777;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.package-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: 0.3s;
    height: 100%;
}

.package-card:hover {
    border-color: #555;
    background: rgba(255, 255, 255, 0.05);
}

.package-card.popular {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    z-index: 1;
}

.package-card.popular:hover {
    border-color: #fff;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
    white-space: nowrap;
}

.package-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
}

.package-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.package-header .price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.package-header .price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-dim);
}

.package-desc {
    color: var(--text-dim);
    font-size: 0.95rem;
}

.package-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.package-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #ddd;
}

.package-features li i {
    width: 18px;
    height: 18px;
    color: #fff;
    flex-shrink: 0;
    margin-top: 2px;
}

.package-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.footnote {
    text-align: center;
    margin-top: 3rem;
    color: #666;
    font-size: 0.9rem;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    aspect-ratio: 9/16;
    background: #0a0a0a;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.portfolio-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.stat-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #fff;
    color: #000;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 800;
    z-index: 2;
}

/* Trust Section */
.stats-row {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--text-dim);
}

.footer {
    padding: 50px 0;
    text-align: center;
    color: #444;
    font-size: 0.8rem;
}

/* Animation Classes */
.reveal {
    animation: fadeInUp 0.8s ease forwards;
}

.reveal-delay {
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Section */
.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.contact-header p {
    color: var(--text-dim);
    font-size: 1.1rem;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
}

.step-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #fff;
    text-align: center;
}

.step-text.step-2 {
    margin-top: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-dim);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #0a0a0a;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: #fff;
    font-family: var(--font);
    font-size: 0.95rem;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #555;
    background: rgba(255, 255, 255, 0.05);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.form-group option {
    background: #000;
    color: #fff;
}

.form-group textarea {
    resize: vertical;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem;
    }

    .portfolio-item {
        border-radius: 8px;
    }

    .stat-tag {
        font-size: 0.65rem;
        padding: 2px 8px;
        bottom: 10px;
        left: 10px;
    }

    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .package-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .package-card.popular {
        transform: scale(1);
    }

    .stats-row {
        flex-direction: column;
        gap: 3rem;
    }

    .navbar {
        padding: 0 1.5rem;
    }

    .logo-img {
        height: 65px;
        transform: none;
        /* Render directly at full resolution for sharp quality */
    }

    .contact-form-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
}