/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #100f1c, #0f0c29, #0c0827);
    color: #ffffff;
    overflow-x: hidden;
}

/* Header and Navigation Bar */
header {
    background-color: rgba(16, 15, 28, 0.5);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(51, 51, 51, 0.5);
}

 /* Custom font setup using a fallback system */
        html { font-family: 'Inter', sans-serif; }
        
        /* Ensures smooth height transition for mobile menu */
        .nav-links-hidden {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
        }
        .nav-links-show {
            max-height: 500px; /* Sufficient height to show content */
            transition: max-height 0.3s ease-in;
        }
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* ADDED: Styles for the new logo structure */
nav .logo {
    display: flex; /* To align image and text */
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #4f46e5;
    text-decoration: none;
    letter-spacing: 1px;
    z-index: 1001;
    transition: text-shadow 0.3s;
}

nav .logo .logo-img {
    height: 65px; /* Adjust as needed */
    margin: right 0;
    filter: drop-shadow(0 0 5px rgba(79, 70, 229, 0.5)); /* Initial subtle glow */
    transition: filter 0.3s;
}

nav .logo:hover .logo-img {
    filter: drop-shadow(0 0 25px #4f46e5); /* Enhanced glow on hover */
}

nav .logo .logo-text {
    color: #4f46e5; /* Main text color */
    transition: text-shadow 0.3s;
}

nav .logo .logo-text .sub-text {
    display: block;
    font-size: 0.8rem; /* Smaller for "Video Editor" */
    font-weight: 500;
    color: #ccc; /* Subtler color */
    letter-spacing: 0.5px;
    line-height: 1; /* Adjust spacing */
}

nav .logo:hover .logo-text {
    text-shadow: 0 0 10px #4f46e5;
}

/* Mobile Menu Icon */
.menu-icon {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, text-shadow 0.3s;
}

nav ul li a:hover {
    color: #4f46e5;
    text-shadow: 0 0 8px rgba(79, 70, 229, 0.8);
}

/* ===== HERO SECTION STYLING ===== */
.new-hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 5% 50px;
    width: 100%;
}

.hero-content-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.hero-text {
    flex: 1;
    max-width: 550px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-text h1 .highlight {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4f46e5;
    display: block;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-text p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 400px;
}

.spotlight-effect {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, rgba(79, 70, 229, 0.3) 0%, rgba(79, 70, 229, 0) 65%);
}

.letter-3d {
    font-size: 250px;
    font-weight: bold;
    color: #e0e0e0;
    text-shadow:
        0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa,
        0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3),
        0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 10px 10px rgba(0,0,0,.2),
        0 20px 20px rgba(0,0,0,.15),
        0 0 10px #4f46e5, 0 0 20px #4f46e5, 0 0 40px #4f46e5, 0 0 80px #4f46e5;
}

.cta-button {
    background-color: #4f46e5;
    color: #ffffff;
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.cta-button:hover {
    background-color: #4338ca;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(79, 70, 229, 0.5);
}

/* Assets Section */
.assets-section {
    padding: 6rem 5%;
    text-align: center;
    background-color: rgba(16, 15, 28, 0.7);
}

.assets-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.assets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.asset-card {
    background-color: #1a182f;
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 1px solid #2a2846;
    text-align: center;
}

.asset-card i {
    font-size: 3rem;
    color: #4f46e5;
    margin-bottom: 1rem;
}

.asset-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.asset-link:hover .asset-card {
    transform: translateY(-10px);
    border-color: #4f46e5;
    box-shadow: 0 0 25px rgba(79, 70, 229, 0.4);
}


.asset-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.asset-card p {
    color: #cccccc;
}

/* About Section */
.about-section {
    padding: 8rem 5% 6rem;
    text-align: center;
    background-color: #0c0827;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid #4f46e5;
    transition: transform 0.3s, box-shadow 0.3s;
}

.profile-pic:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px #4f46e5;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #cccccc;
    margin-bottom: 1.5rem;
    text-align: left;
}

/* --- FOOTER SECTION --- */
/* MODIFIED: Changed footer styles for clarity and new effects */
footer {
    text-align: center;
    padding: 4rem 5% 2rem;
    border-top: 1px solid #2a2846; /* Added a separator line */
}

footer h2 {
    margin-bottom: 0.5rem;
}

footer p {
    margin-bottom: 1.5rem;
    color: #cccccc;
}

/* MODIFIED: Replaced old social links styles with this new, cleaner look */
.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #1a182f;
    border: 1px solid #2a2846;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ADDED: New hover effect for social icons */
.social-links a:hover {
    background-color: #4f46e5;
    border-color: #4f46e5;
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.7);
}

.copyright {
    color: #777;
    font-size: 0.9rem;
    margin-top: 3rem; /* Added space above copyright text */
}

/* --- ASSETS PAGE SPECIFIC STYLES --- */
.asset-pack img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.download-button {
    display: inline-block;
    background-color: #4f46e5;
    color: #ffffff;
    padding: 0.7rem 1.5rem;
    margin-top: 1rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.download-button:hover {
    background-color: #4338ca;
}

/* Ensure the form elements are visible and styled correctly */
.contact-form {
    display: flex; /* Make sure all items are aligned */
    flex-direction: column;
    gap: 15px;
    max-width: 600px; /* Optional: Keep the form centered and contained */
    margin: 30px auto;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    /* Main fix: set a proper padding and font size */
    padding: 12px;
    font-size: 16px; /* Reset font size to default readable size */
    border: 1px solid #ddd;
    border-radius: 6px;
    /* Agar koi width: 0; ya height: 0; rule laga ho to use hata dein */
    width: 100%; /* Make sure they take full width of the form container */
    box-sizing: border-box; /* Padding and border included in width */
}

/* Optional: Placeholder text ko normal size mein laane ke liye */
.contact-form ::placeholder {
    font-size: 16px;
}

/* ======================================= */
/* ========== RESPONSIVE DESIGN ========== */
/* ======================================= */

/* Tablets and below (e.g., iPads) */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 3rem;
    }

    .letter-3d {
        font-size: 200px;
    }

    .spotlight-effect {
        width: 350px;
        height: 350px;
    }
}

/* Mobile phones and small tablets */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background-color: rgba(16, 15, 28, 0.9);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
    }

    nav ul.nav-active {
        transform: translateX(0);
    }

    nav ul li a {
        font-size: 1.2rem;
    }

    .hero-content-area {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }

    .hero-text h1 .highlight {
        font-size: 1.2rem;
    }

    .hero-graphic {
        margin-top: 2rem;
        min-height: 300px;
    }

    .spotlight-effect {
        width: 300px;
        height: 300px;
    }

    .letter-3d {
        font-size: 180px;
    }
}
main {
    /* Header ki height approx 80px hai. 100px safe hai. */
    padding-top: 100px; 
}
/* ADD THIS CODE AT THE END OF YOUR style.css FILE */

/* --- REVIEW SYSTEM STYLES --- */
.review-container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
}

.review-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 2rem;
    background-color: #1a182f; /* Using your existing card color */
    border-radius: 10px;
    border: 1px solid #2a2846;
    margin-bottom: 2rem;
}

.average-rating-display {
    text-align: center;
    flex-basis: 150px;
}

.average-rating-display .score {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
}

.average-rating-display .stars .fa-star {
    font-size: 1.2rem;
    color: #f59e0b; /* Bright yellow for stars */
}

.average-rating-display .total-reviews {
    color: #cccccc;
    margin-top: 0.5rem;
}

.rating-breakdown {
    flex-grow: 1;
    min-width: 250px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
}
.rating-bar .star-label {
    width: 30px; /* To align numbers */
    color: #cccccc;
}
.rating-bar .fa-star { color: #f59e0b; }


.progress-bar-container {
    flex-grow: 1;
    background-color: #2a2846;
    border-radius: 5px;
    height: 10px;
    overflow: hidden;
}

.progress-bar {
    background-color: #4f46e5; /* Using your primary accent color */
    height: 100%;
    transition: width 0.5s ease-in-out;
}

.rating-bar .percentage {
    width: 40px;
    text-align: right;
    color: #cccccc;
}

/* Star Input in Form */
.star-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center; /* Center the stars */
    gap: 5px;
    margin-bottom: 1rem;
}

.star-input input[type="radio"] { display: none; }

.star-input label {
    font-size: 2.5rem;
    color: #777;
    cursor: pointer;
    transition: color 0.2s;
}

.star-input input[type="radio"]:checked ~ label,
.star-input label:hover,
.star-input label:hover ~ label {
    color: #f59e0b;
}

/* Individual Review Card */
.review-card {
    display: flex;
    gap: 20px;
    padding: 1.5rem;
    background-color: #1a182f;
    border-radius: 10px;
    border: 1px solid #2a2846;
}

.review-card .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-card .review-content { flex-grow: 1; }
.review-card .review-stars .fa-star { color: #f59e0b; }

.review-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
}