/* Ultimate Professional Video Editing Website */

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

:root {
    --primary: #ff3d00;
    --secondary: #2196f3;
    --dark: #0a0a0a;
    --light: #ffffff;
    --gray: #f5f5f5;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
}

/* Navbar - Modern Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-logo i {
    margin-right: 12px;
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 45px;
}

.nav-menu a {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a:hover::before {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--light);
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero - Full Screen Video Background */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('assets/cover.jpg');
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    display: none;
}

.video-slideshow {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.video-slide.active {
    opacity: 1;
}

.slideshow-container {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 61, 0, 0.7), rgba(33, 150, 243, 0.7));
    mix-blend-mode: multiply;
}

.slide.active {
    opacity: 1;
    animation: kenburns 20s ease-in-out infinite;
}

@keyframes kenburns {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.slide:nth-child(1) { 
    background-image: url('https://images.unsplash.com/photo-1574717024653-61fd2cf4d44d?w=1920&h=1080&fit=crop&q=80');
}
.slide:nth-child(2) { 
    background-image: url('https://images.unsplash.com/photo-1551434678-e076c223a692?w=1920&h=1080&fit=crop&q=80');
}
.slide:nth-child(3) { 
    background-image: url('https://images.unsplash.com/photo-1611162616475-46b635cb6868?w=1920&h=1080&fit=crop&q=80');
}
.slide:nth-child(4) { 
    background-image: url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?w=1920&h=1080&fit=crop&q=80');
}
.slide:nth-child(5) { 
    background-image: url('https://images.unsplash.com/photo-1461749280684-dccba630e2f6?w=1920&h=1080&fit=crop&q=80');
}
.slide:nth-child(6) { 
    background-image: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?w=1920&h=1080&fit=crop&q=80');
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
    padding: 0 30px;
}

.hero-content h1 {
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
    color: #fff;
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 50px;
    color: #fff;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.3s backwards;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #ff6b00);
    color: var(--light);
    padding: 20px 50px;
    border: none;
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 40px rgba(255, 61, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(255, 61, 0, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--light);
    padding: 20px 50px;
    border: 3px solid var(--light);
    border-radius: 50px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.btn-secondary:hover {
    background: var(--light);
    color: var(--dark);
    transform: translateY(-5px);
}

/* Services - Bold & Colorful */
.services {
    padding: 120px 50px;
    background: var(--dark);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.services h2 {
    text-align: center;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services h2::after {
    content: '';
    display: block;
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 30px auto 80px;
    border-radius: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-card {
    background: linear-gradient(135deg, rgba(255, 61, 0, 0.1), rgba(33, 150, 243, 0.1));
    backdrop-filter: blur(10px);
    padding: 60px 40px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    transition: all 0.5s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 61, 0, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-20px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(255, 61, 0, 0.3);
}

.service-card i {
    font-size: 5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    display: block;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Portfolio - Image Gallery Focus */
.portfolio {
    padding: 120px 50px;
    background: linear-gradient(180deg, var(--dark) 0%, #1a1a1a 100%);
}

.portfolio h2 {
    text-align: center;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portfolio h2::after {
    content: '';
    display: block;
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 30px auto 60px;
    border-radius: 10px;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 70px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--light);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 61, 0, 0.4);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    height: 400px;
    transition: all 0.5s;
    background: #000;
}

.portfolio-video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #000;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    padding-bottom: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}



.portfolio-item .photo-image {
    transition: transform 0.5s ease;
}

.portfolio-item:hover .photo-image {
    transform: scale(1.2);
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 30px 20px 20px;
    z-index: 4;
}

.portfolio-info h4 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.portfolio-photo-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.photo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.portfolio-item:hover .photo-overlay {
    opacity: 1;
}

.zoom-icon {
    font-size: 3rem;
    color: #fff;
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(255, 61, 0, 0.4);
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s;
}

.portfolio-item:hover .portfolio-placeholder {
    transform: scale(1.2) rotate(5deg);
}

.video-bg { 
    background-image: url('https://images.unsplash.com/photo-1574717024653-61fd2cf4d44d?w=800&h=600&fit=crop&q=80');
}
.video-bg2 { 
    background-image: url('https://images.unsplash.com/photo-1611162616475-46b635cb6868?w=800&h=600&fit=crop&q=80');
}
.photo-bg { 
    background-image: url('https://images.unsplash.com/photo-1606857521015-7f9fcf423740?w=800&h=600&fit=crop&q=80');
}
.photo-bg2 { 
    background-image: url('https://images.unsplash.com/photo-1542038784456-1ea8e935640e?w=800&h=600&fit=crop&q=80');
}
.web-bg { 
    background-image: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?w=800&h=600&fit=crop&q=80');
}
.web-bg2 { 
    background-image: url('https://images.unsplash.com/photo-1461749280684-dccba630e2f6?w=800&h=600&fit=crop&q=80');
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 61, 0, 0.95), rgba(33, 150, 243, 0.95));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.portfolio-overlay p {
    font-size: 1.1rem;
}

/* About - Complex Layout */
.about {
    padding: 120px 50px;
    background: var(--dark);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about h2 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about h2::after {
    content: '';
    display: block;
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin-top: 30px;
    border-radius: 10px;
}

.about p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 2;
    font-size: 1.15rem;
    margin-bottom: 50px;
}

.stats {
    display: flex;
    gap: 60px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin: 0;
}

.about-slideshow {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 61, 0, 0.3);
}

.about-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.about-slide.active {
    opacity: 1;
}

.about-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 61, 0, 0.2), rgba(33, 150, 243, 0.2));
}

/* Contact - Modern Form */
.contact {
    padding: 120px 50px;
    background: linear-gradient(180deg, var(--dark) 0%, #1a1a1a 100%);
}

.contact h2 {
    text-align: center;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact h2::after {
    content: '';
    display: block;
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 30px auto 80px;
    border-radius: 10px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 100px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

.contact-item i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 25px;
}

.contact-item h4 {
    margin-bottom: 10px;
    font-size: 1.4rem;
    font-weight: 700;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    color: var(--light);
    font-size: 1.05rem;
    font-family: inherit;
    transition: all 0.3s;
}

.contact-form select option {
    background: #1a1a1a;
    color: var(--light);
    padding: 10px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 30px rgba(255, 61, 0, 0.2);
}

.contact-form button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    padding: 20px;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 40px rgba(255, 61, 0, 0.4);
}

.contact-form button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(255, 61, 0, 0.6);
}

/* Footer - Dark Theme */
.footer {
    background: #000;
    padding: 80px 50px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.footer-section h3,
.footer-section h4 {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.9;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 61, 0, 0.4);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 15px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.05rem;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Chatbot - Modern Design */
#chatbot-toggle {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 10px 40px rgba(255, 61, 0, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

#chatbot-window {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.bot-message {
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-message {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

#chatbot-input {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--light);
}

#chatbot-input:focus {
    border-color: var(--primary);
}

#chatbot-send {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 40px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}