/* =========================================
   EDIT HYPE - COLORFUL VIDEO EDITOR THEME
   ========================================= */

:root {
    --bg-main: #0a0a0c;        /* Deep dark background */
    --bg-card: #141418;        /* Slightly lighter dark for cards */
    --text-main: #ffffff;      /* Pure white text */
    --text-muted: #a0a0b0;     /* Grey text for paragraphs */
    
    /* Colorful Neon Accents */
    --accent-cyan: #00f0ff;
    --accent-pink: #ff0055;
    --accent-purple: #8a2be2;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-pink), var(--accent-purple), var(--accent-cyan));
    --gradient-hover: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple), var(--accent-pink));
    
    --font-head: 'Montserrat', sans-serif; /* Bold & Modern */
    --font-body: 'Poppins', sans-serif;    /* Clean & Readable */
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; 
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden; 
    width: 100%;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: #0e0e11; /* Alternate dark section */
}

/* --- ANIMATED GRADIENT TEXT --- */
.gradient-text {
    background: var(--gradient-primary);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- NAVBAR --- */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
}

#navbar.scrolled {
    background-color: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent-pink);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.nav-cta {
    background: var(--gradient-primary);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: none;
    color: var(--text-main) !important;
    box-shadow: 0 4px 15px rgba(255, 0, 85, 0.3);
}

.nav-cta:hover {
    background: var(--gradient-hover);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.4);
    transform: translateY(-2px);
}

/* --- HERO SECTION --- */
#hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 5rem;
    position: relative;
    overflow: hidden;
}

/* Background glow effect for hero */
#hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(138,43,226,0.15) 0%, rgba(0,0,0,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.tagline {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 600;
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 2rem;
    min-height: 40px; /* Space for typing animation */
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-main);
    box-shadow: 0 5px 20px rgba(255, 0, 85, 0.4);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--gradient-hover);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.5);
    transform: translateY(-3px);
}

/* --- ABOUT & SERVICES --- */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Neon Top Border Effect */
.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-card h3 {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 700;
}

/* --- PORTFOLIO (YOUTUBE VIDEOS) --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2.5rem;
}

.portfolio-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: var(--accent-purple); /* Glow border on hover */
}

/* 16:9 Aspect Ratio Hack for YouTube Iframes */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; 
    background-color: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border: none;
}

.portfolio-info {
    padding: 1.5rem;
    flex-grow: 1;
}

.portfolio-info h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.portfolio-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- PROCESS SECTION --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.process-card {
    position: relative;
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: var(--transition);
}

.process-card:hover {
    background: linear-gradient(to bottom right, var(--bg-card), rgba(138,43,226,0.1));
}

.process-num {
    font-family: var(--font-head);
    font-size: 5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: absolute;
    top: -10px; right: 10px;
    line-height: 1;
    opacity: 0.3;
}

.process-card h3 {
    font-family: var(--font-head);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

/* --- POLICY SECTION --- */
.policy-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.policy-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.policy-item:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    transform: translateY(-3px);
}

/* --- CONTACT SECTION --- */
.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.contact-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
}

.contact-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0.5;
    filter: blur(10px);
}

.contact-card h3 {
    font-family: var(--font-head);
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
    border: 1px solid transparent;
}

.contact-item:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.05);
    transform: translateX(5px);
}

.contact-item span { color: var(--text-muted); font-size: 0.9rem; }
.contact-item strong { font-weight: 600; font-size: 1rem; color: var(--accent-cyan); }

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 2rem 0;
    background-color: #050505;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- ANIMATIONS (FADE IN + SCALE) --- */
.fade-in {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* =========================================
   MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .section { padding: 4rem 0; }
    .contact-card { padding: 2rem 1.5rem; }
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
@media (max-width: 480px) {
    .hero-title { font-size: 2.8rem; }
    .btn { width: 100%; padding: 1rem; }
    .portfolio-grid { grid-template-columns: 1fr; }
}