/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0b0e1a; /* Dark navy background */
    color: #ffffff;
    overflow-x: hidden;
}


/* Header Styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: #131829
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo span{
    color: #5581f0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #b0b0b0;
    font-size: 1rem;
    transition: 0.3s;
}

nav ul li a.active, nav ul li a:hover {
    color: #fff;
    border-bottom: 2px solid #fff;
    padding-bottom: 5px;
}

/* Button Styling */
.btn {
    padding: 12px 28px;
    border-radius: 8px;
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #4f46e5, #9333ea); /* Purple/Blue gradient */
    transition: transform 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding-left: 8%;
    position: relative;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-content span{
    color: #5581f0;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: #d1d1d1;
    margin-bottom: 40px;
}

/* Hero Image & Fading Effect */
.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* This creates the smooth fade from the text to the image */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #0b0e1a 0.5%, rgba(11, 14, 26, 0) 50%);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding: 50px 5%;
        text-align: center;
    }
    .hero-image {
        position: relative;
        width: 100%;
        margin-top: 30px;
    }
    .image-overlay {
        background: linear-gradient(to bottom, #0b0e1a 5%, transparent 30%);
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}


/* Services Section Styling */
.services-section {
    padding: 80px 8%;
    background-color: #131829; /* Ensure consistency with body background */
    text-align: center;
}

.services-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #ffffff;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; /* Allows cards to wrap on smaller screens */
}

.service-card {
    background-color: #262c45; /* Darker background for the cards */
    padding: 30px;
    border-radius: 12px;
    width: 400px; /* Fixed width for consistent cards */
    text-align: left;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid transparent; /* Subtle border for hover effect */
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: #2a2f44; /* Slightly lighter on hover */
    border-color: #4f46e5; /* Highlight border on hover */
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.service-card p {
    font-size: 0.95rem;
    color: #b0b0b0;
    line-height: 1.6;
}

.service-card img{
    width: 70px;
    height: 70px;
}

/* Icon Styling - Using a placeholder for now */
/* .icon-placeholder {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3b3f5b;  Default icon background
} */

/* Specific icon colors/backgrounds to match the image */
/* .video-editing-icon {
     background-color: #6a0dad; 
    In a real scenario, you'd use an SVG or font icon here 
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M18 9.5l4-4v13l-4-4V18c0 .55-.45 1-1 1H3c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h14c.55 0 1 .45 1 1v3.5zm-2-1.29V6H4v12h12V8.21zM9 16l-3-3 3-3V7.5L5.79 11l-2.79 3h6z"></path></svg>') no-repeat center / contain;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M18 9.5l4-4v13l-4-4V18c0 .55-.45 1-1 1H3c-.55 0-1-.45-1-1V6c0-.55.45-1 1-1h14c.55 0 1 .45 1 1v3.5zm-2-1.29V6H4v12h12V8.21zM9 16l-3-3 3-3V7.5L5.79 11l-2.79 3h6z"></path></svg>') no-repeat center / contain;
}

.motion-graphics-icon {
    background-color: #3f7e52;  Greenish shade 
     mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2L6 5v6c0 5.5 4 10.5 6 11s6-5.5 6-11V5l-6-3zm0 2.45L16.29 6H7.71L12 4.45zM7 7.96l4.29 2.15L12 12.55l.71-2.44L17 7.96v7.35c0 3.75-2.26 6.78-5 7.69-2.74-.91-5-3.94-5-7.69V7.96z"></path></svg>') no-repeat center / contain;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2L6 5v6c0 5.5 4 10.5 6 11s6-5.5 6-11V5l-6-3zm0 2.45L16.29 6H7.71L12 4.45zM7 7.96l4.29 2.15L12 12.55l.71-2.44L17 7.96v7.35c0 3.75-2.26 6.78-5 7.69-2.74-.91-5-3.94-5-7.69V7.96z"></path></svg>') no-repeat center / contain;
}

.post-production-icon {
    background-color: #d8542c;  Orange shade
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-2-9h4v2h-4v-2z"></path></svg>') no-repeat center / contain;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-2-9h4v2h-4v-2z"></path></svg>') no-repeat center / contain;
} */

/* Responsive adjustments for services */
@media (max-width: 768px) {
    .services-container {
        flex-direction: column;
        align-items: center;
    }

    .service-card {
        width: 90%; /* Make cards take more width on small screens */
    }
}

/* Featured Work Section */
.featured-work {
    padding: 60px 8%;
    background-color: #0b0e1a;
}

.section-header h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 40px;
    font-weight: 700;
}

.section-header .dot {
    color: #4f46e5;
    margin: 0 10px;
}

.section-header small {
    font-size: 1rem;
    color: #71717a;
    font-weight: 400;
}

/* Grid Layout */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Project Card */
.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden; /* Clips the image to the border radius */
    aspect-ratio: 16 / 10;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Bottom Title Bar */
.project-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(15, 17, 26, 0.85); /* Dark semi-transparent bar */
    padding: 15px;
    text-align: center;
    backdrop-filter: blur(5px); /* Modern frosted glass effect */
}

.project-info h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

/* Hover Effects */
.project-card:hover {
    transform: scale(1.03);
}

.project-card:hover .project-info {
    background: rgba(79, 70, 229, 0.9); /* Changes to primary color on hover */
}

/* Responsive adjustment */
@media (max-width: 600px) {
    .work-grid {
        grid-template-columns: 1fr;
    }
}

/* About Me Section */
.about-me {
    padding: 100px 8%;
    background-color: #131829;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
}

/* Text Styling */
.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 20px;
}

.about-text h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-text p {
    font-size: 1.1rem;
    color: #f9f7f7;
    line-height: 1.7;
    margin-bottom: 30px;
}

.decorative-line {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0.2), transparent);
}

/* Image Styling */
.about-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Purple Glow Effect behind/around the image */
.glow-effect {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, transparent 70%);
    z-index: -1;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-image {
        justify-content: center;
        order: -1; /* Image appears above text on mobile */
    }

    .decorative-line {
        margin: 0 auto;
    }
}

/* Work Together Section */
.work-together {
    padding: 80px 8%;
    background-color: #0b0e1a;
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Subtle separator */
}

.cta-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-text-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cta-text-group h2 {
    font-size: 1.8rem;
    color: #ffffff;
    white-space: nowrap;
}

.cta-text-group p {
    font-size: 1rem;
    color: #b0b0b0;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

/* Reusing the gradient button style from the hero section */
.work-together .btn {
    text-decoration: none;
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    color: #fff;
}

.btn-secondary {
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    color: #fff;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #4f46e5, #8109f0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-text-group {
        flex-direction: column;
        gap: 5px;
    }

    .cta-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Skills & Tools Section */
.skills-tools-section {
    padding: 80px 8%;
    background-color: #131829;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Separator line */
}

.skills-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    gap: 20px;
}

.skills-header h2 {
    font-size: 2rem;
    color: #ffffff;
    font-weight: 600;
    white-space: nowrap; /* Prevents text from wrapping */
}

.skills-header .line {
    width: 100px; /* Length of the line */
    height: 2px;
    background: linear-gradient(to right, #4f46e5, #9333ea);
    /* For the left line, we want the gradient to go from right to left */
}

.skills-header .left-line {
    background: linear-gradient(to left, rgba(147, 51, 234, 0.8), rgba(79, 70, 229, 0.8), transparent);
}

.skills-header .right-line {
    background: linear-gradient(to right, rgba(147, 51, 234, 0.8), rgba(79, 70, 229, 0.8), transparent);
}


/* Tools Grid */
.tools-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allows cards to wrap on smaller screens */
    gap: 30px;
}

.tool-card {
    background: rgba(255, 255, 255, 0.05); /* Transparent background with opacity */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tool-card:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(79, 70, 229, 0.5);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 30px rgba(79, 70, 229, 0.4);
}

.tool-card img {
    width: 80px; /* Adjust icon size as needed */
    height: 80px;
    object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .skills-header {
        flex-direction: column;
        gap: 15px;
    }
    .skills-header .line {
        width: 80%; /* Lines span more width on small screens */
    }
    .skills-header h2 {
        font-size: 1.6rem;
    }
    .tools-grid {
        gap: 20px;
    }
    .tool-card {
        width: 100px;
        height: 100px;
    }
    .tool-card img {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .skills-header .line {
        width: 60%;
    }
}



/* Footer Styling */
.site-footer {
    background-color: #0b0e1a; /* Consistent dark background */
    padding: 40px 8%;
    text-align: center;
    color: #b0b0b0;
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Separator line from content */
}

.site-footer p {
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    color: #b0b0b0; /* Default icon color */
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    border-radius: 50%; /* Circular background */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden; /* To contain the hover effect */
    background: rgba(255, 255, 255, 0.05); /* Subtle transparent background */
}

/* Specific icon colors on hover */
.social-icons a:nth-child(1):hover { /* LinkedIn */
    background-color: #0A66C2;
    color: #fff;
}

.social-icons a:nth-child(2):hover { /* Instagram */
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #fff;
}

.social-icons a:nth-child(3):hover { /* YouTube */
    background-color: #FF0000;
    color: #fff;
}

.social-icons a:nth-child(4):hover { /* Facebook */
    background-color: #1877F2;
    color: #fff;
}

/* Fallback for specific icons if background color not wanted on initial state */
.social-icons a .fab {
    z-index: 1; /* Ensure icon is above hover background */
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000; /* Ensures it stays above all other sections */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Hover effect */
.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}

/* Subtle pulse animation */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.7;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Responsive adjustment for small screens */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 30px;
    }
}
