      /* Global Styles */
        :root {
            --primary: #f8a5c2;
            --secondary: #574b90;
            --dark: #303952;
            --light: #f7f1e3;
            --accent: #f78fb3;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Montserrat', sans-serif;
        }
        
        body {
            background-color: var(--light);
            color: var(--dark);
            overflow-x: hidden;
        }
        
        /* Header & Navigation */
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 20px 10%;
            background-color: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }
        
        header.scrolled {
            padding: 15px 10%;
            background-color: rgba(248, 165, 194, 0.95);
        }
        
        .logo {
            font-size: 28px;
            font-weight: 700;
            color: var(--secondary);
            text-decoration: none;
        }
        
        .logo span {
            color: var(--primary);
        }
        
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav ul li {
            margin-left: 30px;
        }
        
        nav ul li a {
            text-decoration: none;
            color: var(--dark);
            font-weight: 500;
            font-size: 16px;
            transition: color 0.3s ease;
            position: relative;
        }
        
        nav ul li a:hover {
            color: var(--primary);
        }
        
        nav ul li a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            background: var(--primary);
            bottom: -5px;
            left: 0;
            transition: width 0.3s ease;
        }
        
        nav ul li a:hover::after {
            width: 100%;
        }
        
        .menu-toggle {
            display: none;
            cursor: pointer;
            font-size: 24px;
        }
        
        /* Hero Section */
        .hero {
            height: 100vh;
            display: flex;
            align-items: center;
            padding: 0 10%;
            position: relative;
            overflow: hidden;
        }
        
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, rgba(87, 75, 144, 0.1), rgba(248, 165, 194, 0.1));
            z-index: -1;
        }
        
        .hero-content {
            max-width: 600px;
        }
        
        .hero-content h1 {
            font-size: 56px;
            font-weight: 700;
            margin-bottom: 20px;
            color: var(--secondary);
            line-height: 1.2;
        }
        
        .hero-content h1 span {
            color: var(--primary);
        }
        
        .hero-content p {
            font-size: 16px;
            margin-bottom: 30px;
            line-height: 1.6;
        }
        
        .btn {
            display: inline-block;
            padding: 12px 30px;
            background-color: var(--primary);
            color: white;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            border: 2px solid var(--primary);
        }
        
        .btn:hover {
            background-color: transparent;
            color: var(--primary);
        }
        
        .btn-outline {
            background-color: transparent;
            color: var(--primary);
            margin-left: 15px;
        }
        
        .btn-outline:hover {
            background-color: var(--primary);
            color: white;
        }
        
        .hero-image {
            position: absolute;
            right: 10%;
            bottom: 0;
            height: 90%;
            animation: float 6s ease-in-out infinite;
        }
        
        @keyframes float {
            0%, 100% {
                transform: translateY(0);
            }
            50% {
                transform: translateY(-20px);
            }
        }
        
        /* About Section */
        .section {
            padding: 100px 10%;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }
        
        .section-title h2 {
            font-size: 36px;
            color: var(--secondary);
            position: relative;
            display: inline-block;
            padding-bottom: 15px;
        }
        
        .section-title h2::after {
            content: '';
            position: absolute;
            width: 70px;
            height: 3px;
            background-color: var(--primary);
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .about-content {
            display: flex;
            align-items: center;
            gap: 50px;
        }
        
        .about-image {
            flex: 1;
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
        }
        
        .about-image img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.5s ease;
        }
        
        .about-image:hover img {
            transform: scale(1.05);
        }
        
        .about-text {
            flex: 1;
        }
        
        .about-text h3 {
            font-size: 24px;
            margin-bottom: 20px;
            color: var(--secondary);
        }
        
        .about-text p {
            margin-bottom: 15px;
            line-height: 1.6;
        }
        
        .skills {
            margin-top: 30px;
        }
        
        .skill-item {
            margin-bottom: 20px;
        }
        
        .skill-info {
            display: flex;
            justify-content: space-between;
            margin-bottom: 5px;
        }
        
        .skill-bar {
            height: 10px;
            background-color: #e0e0e0;
            border-radius: 5px;
            overflow: hidden;
        }
        
        .skill-progress {
            height: 100%;
            background-color: var(--primary);
            border-radius: 5px;
            transition: width 1.5s ease;
        }
        
        /* Portfolio Section */
        .portfolio {
            background-color: #f9f9f9;
        }
        
        .portfolio-filters {
            display: flex;
            justify-content: center;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }
        
        .filter-btn {
            padding: 8px 20px;
            background-color: transparent;
            border: 1px solid var(--primary);
            color: var(--primary);
            border-radius: 30px;
            margin: 5px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .filter-btn.active, .filter-btn:hover {
            background-color: var(--primary);
            color: white;
        }
        
        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .portfolio-item {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }
        
        .portfolio-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }
        
        .portfolio-img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            display: block;
        }
        
        .portfolio-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(87, 75, 144, 0.8);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .portfolio-item:hover .portfolio-overlay {
            opacity: 1;
        }
        
        .portfolio-overlay h3 {
            color: white;
            font-size: 22px;
            margin-bottom: 10px;
            transform: translateY(20px);
            transition: transform 0.3s ease;
        }
        
        .portfolio-overlay p {
            color: white;
            margin-bottom: 20px;
            transform: translateY(20px);
            transition: transform 0.3s ease 0.1s;
        }
        
        .portfolio-item:hover .portfolio-overlay h3,
        .portfolio-item:hover .portfolio-overlay p {
            transform: translateY(0);
        }
        
        .portfolio-overlay a {
            color: white;
            font-size: 24px;
            margin: 0 10px;
            transform: translateY(20px);
            transition: transform 0.3s ease 0.2s;
        }
        
        .portfolio-item:hover .portfolio-overlay a {
            transform: translateY(0);
        }
        
        /* Video Showcase Section */
.video-showcase {
    text-align: center;
    background-color: var(--secondary);
    color: white;
    padding: 80px 20%; /* Reduced padding */
}

.video-container {
    position: relative;
    max-width: 700px; /* Reduced from 800px */
    margin: 30px auto 0; /* Reduced margin */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); /* Slightly reduced shadow */
    aspect-ratio: 16/9; /* Maintain aspect ratio */
}

.video-container video {
    width: 100%;
    height: 100%; /* Ensure video fills container */
    display: block;
    object-fit: cover; /* Maintain aspect ratio */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(87, 75, 144, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-btn {
    width: 70px; /* Reduced from 80px */
    height: 70px; /* Reduced from 80px */
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
}

.play-btn i {
    color: white;
    font-size: 25px; /* Reduced from 30px */
    margin-left: 5px;
}
        /* Testimonials Section */
        .testimonials {
            background-color: #f9f9f9;
        }
        
        .testimonial-slider {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
        }
        
        .testimonial-slide {
            background-color: white;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            text-align: center;
            display: none;
        }
        
        .testimonial-slide.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }
        
        .client-img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            margin: 0 auto 20px;
            border: 5px solid var(--primary);
        }
        
        .client-rating {
            color: #ffc107;
            font-size: 18px;
            margin-bottom: 20px;
        }
        
        .client-quote {
            font-style: italic;
            margin-bottom: 20px;
            line-height: 1.8;
        }
        
        .client-info h4 {
            font-size: 20px;
            margin-bottom: 5px;
            color: var(--secondary);
        }
        
        .client-info p {
            color: #777;
        }
        
        .slider-nav {
            display: flex;
            justify-content: center;
            margin-top: 30px;
        }
        
        .slider-dot {
            width: 12px;
            height: 12px;
            background-color: #ddd;
            border-radius: 50%;
            margin: 0 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        
        .slider-dot.active {
            background-color: var(--primary);
        }
        
        /* Contact Section */
        .contact-content {
            display: flex;
            gap: 50px;
        }
        
        .contact-info {
            flex: 1;
        }
        
        .contact-info h3 {
            font-size: 24px;
            margin-bottom: 20px;
            color: var(--secondary);
        }
        
        .contact-info p {
            margin-bottom: 30px;
            line-height: 1.6;
        }
        
        .contact-details {
            margin-bottom: 30px;
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .contact-item i {
            width: 40px;
            height: 40px;
            background-color: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-right: 15px;
            font-size: 16px;
        }
        
        .social-links {
            display: flex;
        }
        
        .social-links a {
            width: 40px;
            height: 40px;
            background-color: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-right: 15px;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .social-links a:hover {
            background-color: var(--secondary);
            transform: translateY(-5px);
        }
        
        .contact-form {
            flex: 1;
            background-color: white;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
        }
        
        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
            transition: border-color 0.3s ease;
        }
        
        .form-control:focus {
            border-color: var(--primary);
            outline: none;
        }
        
        textarea.form-control {
            resize: vertical;
            min-height: 150px;
        }
        
        .submit-btn {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 30px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .submit-btn:hover {
            background-color: var(--secondary);
        }
        
        /* Footer */
        footer {
            background-color: var(--secondary);
            color: white;
            text-align: center;
            padding: 30px 10%;
        }
        
        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .footer-logo {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 20px;
        }
        
        .footer-logo span {
            color: var(--primary);
        }
        
        .footer-links {
            display: flex;
            margin-bottom: 20px;
        }
        
        .footer-links a {
            color: white;
            margin: 0 15px;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .footer-links a:hover {
            color: var(--primary);
        }
        
        .footer-social a {
            color: white;
            font-size: 20px;
            margin: 0 10px;
            transition: color 0.3s ease;
        }
        
        .footer-social a:hover {
            color: var(--primary);
        }
        
        .copyright {
            margin-top: 20px;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
        }
        
        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background-color: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 20px;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            z-index: 99;
        }
        
        .back-to-top.active {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top:hover {
            background-color: var(--secondary);
            transform: translateY(-5px);
        }
        
        /* Animation Classes */
        .animate {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }
        
        .animate.show {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Responsive Styles */
       /* Global Mobile-First Adjustments */
@media (max-width: 992px) {
    /* Header */
    header {
        padding: 15px 5%;
    }
    
    .logo {
        font-size: 24px;
    }
    
    /* Hero Section */
    .hero {
        padding: 100px 5% 60px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-image {
        position: relative;
        height: auto;
        max-width: 80%;
        margin: 30px auto 0;
        right: auto;
    }
    
    /* About Section */
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    /* Testimonials */
    .testimonial-slide {
        padding: 30px 20px;
    }
    
    /* Contact */
    .contact-content {
        flex-direction: column;
    }
    
    .contact-form {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    nav ul {
        flex-direction: column;
        background: white;
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        padding: 20px 0;
        transition: left 0.3s ease;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    /* Hero */
    @media (max-width: 992px) {
  .hero {
    padding: 100px 5% 60px;
    text-align: center;
  }
}
    
    .btn-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-outline {
        margin-left: 0;
        margin-top: 15px;
    }
    
    /* Video Showcase */
    .video-showcase {
        padding: 40px 5%;
    }
    
    .play-btn {
        width: 50px;
        height: 50px;
    }
    
    .play-btn i {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    /* Typography */
    .section-title h2 {
        font-size: 28px;
    }
    
    /* Hero */
    .hero-content h1 {
        font-size: 28px;
    }
    
    /* Portfolio Filters */
    .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        margin: 5px 0;
        width: 100%;
        max-width: 200px;
    }
    
    /* Testimonials */
    .client-img {
        width: 80px;
        height: 80px;
    }
    
    /* Footer */
    .footer-links {
        flex-direction: column;
    }
    
    .footer-links a {
        margin: 10px 0;
    }
}

/* Mobile-Specific Enhancements */
@media (hover: none) {
    /* Disable hover effects on touch devices */
    .portfolio-item:hover {
        transform: none;
    }
    
    .play-btn:hover {
        transform: none;
    }
    
    .social-links a:hover {
        transform: none;
    }
}

/* Touch Target Sizes */
@media (max-width: 768px) {
    .btn, .filter-btn, .slider-dot {
        min-height: 44px; /* Apple recommended minimum touch target */
        padding: 12px 20px;
    }
    
    .menu-toggle {
        padding: 15px;
    }
}

/* Performance Optimizations */
@media (max-width: 768px) {
    /* Reduce animations on mobile */
    .animate {
        transition: none;
        opacity: 1;
        transform: none;
    }
    
    /* Simplify shadows */
    .portfolio-item, .video-container {
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
}