/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    overflow-x: hidden; /* Prevent horizontal scrollbars only */
    height: auto;
    /* Add padding bottom to prevent content from being hidden behind sticky footer */
    /* padding-bottom: 50px; */
    /* Smooth scrolling for better user experience */
    scroll-behavior: smooth;
    background-color: #121316;
}

/* 
=================================================================
Z-INDEX LAYERING EXPLANATION FOR STICKY FOOTER OVERLAP BEHAVIOR:
=================================================================

1. Footer z-index: 1500 (HIGH level)
   - Fixed at bottom with rounded corners
   - ALWAYS visible and appears ABOVE "What We Provide" section

2. Home, Work, AI Content sections z-index: 2000 (HIGHEST level)
   - These sections cover the footer when scrolled over
   - Footer appears "behind" these sections

3. "What We Provide" section z-index: 1000 (MEDIUM level)
   - This section has LOWER z-index than footer
   - Footer appears "ABOVE" this section when it scrolls up
   - Footer stays fixed while section moves behind it

4. Result: Footer is hidden behind most sections but is REVEALED 
   and visible ABOVE the "What We Provide" section as it scrolls up
================================================================
*/

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate.animate-out {
    opacity: 0;
    transform: translateY(30px);
}

.scroll-animate-delay-1 {
    transition-delay: 0.1s;
}

.scroll-animate-delay-2 {
    transition-delay: 0.2s;
}

.scroll-animate-delay-3 {
    transition-delay: 0.3s;
}

.scroll-animate-delay-4 {
    transition-delay: 0.4s;
}

.scroll-animate-delay-5 {
    transition-delay: 0.5s;
}

.scroll-fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.scroll-fade-in.animate {
    opacity: 1;
}

.scroll-fade-in.animate-out {
    opacity: 0;
}

.scroll-slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-slide-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.scroll-slide-up.animate-out {
    opacity: 0;
    transform: translateY(50px);
}

.scroll-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-slide-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-left.animate-out {
    opacity: 0;
    transform: translateX(-50px);
}

.scroll-slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-slide-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-right.animate-out {
    opacity: 0;
    transform: translateX(50px);
}

.scroll-scale-up {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-scale-up.animate {
    opacity: 1;
    transform: scale(1);
}

.scroll-scale-up.animate-out {
    opacity: 0;
    transform: scale(0.9);
}

/* Sticky Footer Styles */
.sticky-footer {
    /* Fixed positioning to stay at bottom of viewport */
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    
    /* Auto height to fit content properly */
    min-height: 400px;
    height: auto;
    
    /* Background styling */
    background-color: #121316;
    color: white;
    
    /* Flex display for proper content alignment */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Remove problematic transforms */
    padding: 40px 0;
    
    /* Smooth transitions */
    transition: all 0.3s ease;
}

.footer-content {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.footer-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(60px, 20vw, 155px);
    font-weight: 400;
    letter-spacing: 0.5px;
    margin: 0;
    color: white;
    text-align: center;
    word-wrap: break-word;
}

/* Profile Image Styles */
.profile-image {
    width: clamp(100px, 15vw, 150px);
    height: clamp(100px, 15vw, 150px);
    scale: 2.6;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
 
}

.profile-image:hover {
    transform: scale(1.05);
    border-color: #4CAF50;
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Footer Profile Layout */
.footer-profile {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    transform: translateY(50px);
}

.profile-name {
    margin: 0;
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: white;
    letter-spacing: 0.5px;
   transform: translateX(-4px);
   scale: 1.3;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    transform: translateY(10px);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(14px, 3vw, 16px);
    font-family: 'Montserrat', sans-serif;
}

.contact-icon {
    font-size: 16px;
    color: #4CAF50;
    font-family: 'Font Awesome', 'Montserrat', sans-serif;
}

/* Add Font Awesome icons using pseudo-elements */
/*
.contact-item:first-child .contact-icon::before {
    content: '\f0e0'; /* Email icon */
/*}

.contact-item:last-child .contact-icon::before {
    content: '\f095'; /* Phone icon */
/*}*/

.contact-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #4CAF50;
    text-decoration: underline;
}

.footer-copyright p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

/* Mobile responsive footer */
@media screen and (max-width: 768px) {
    .sticky-footer {
        min-height: 320px;
        height: auto;
        padding: 30px 0;
        border-radius: 20px 20px 0 0;
    }
    
    .footer-content {
        gap: 25px;
        padding: 20px;
    }
    
    .footer-profile {
        gap: 20px;
    }
    
    .profile-image {
        width: 120px;
        height: 120px;
    }
    
    .profile-name {
        font-size: 22px;
    }
    
    .contact-item {
        gap: 10px;
        font-size: 14px;
    }
    
    .contact-icon {
        font-size: 16px;
    }
    
    .contact-link {
        font-size: 14px;
    }
    
    .footer-copyright {
        text-align: center;
    }
    
    .footer-copyright p {
        font-size: 13px;
    }
    
    body {
        padding-bottom: 0px;
    }
}

@media screen and (max-width: 480px) {
    .sticky-footer {
        min-height: 300px;
        height: auto;
        padding: 25px 0;
        border-radius: 15px 15px 0 0;
    }
    
    .footer-content {
        padding: 15px;
        gap: 20px;
    }
    
    .profile-image {
        width: 100px;
        height: 100px;
    }
    
    .profile-name {
        font-size: 20px;
    }
    
    .contact-item {
        gap: 8px;
        font-size: 13px;
    }
    
    .contact-icon {
        font-size: 14px;
    }
    
    .contact-link {
        font-size: 13px;
    }
    
    .footer-copyright p {
        font-size: 12px;
    }
    
    body {
        padding-bottom: 0px;
    }
}

/* Extra Small Mobile Devices (Android small phones, etc.) */
@media screen and (max-width: 360px) {
    .navbar {
        top: 0px;
        right: 0px;
    }
    
    .nav-container {
        padding: 8px 10px;
    }
    
    .nav-menu {
        gap: 10px;
    }
    
    .nav-link {
        font-size: 10px;
        letter-spacing: 0.3px;
    }
    
    .subtitle {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .main-title {
        font-size: 20px;
    }
    
    .work-container {
        padding: 0 10px;
        gap: 20px;
    }
    
    .work-description {
        margin-top: 15px;
    }
    
    .services-section {
        padding: 40px 10px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-card {
        padding: 15px;
        margin: 0;
    }
    
    .sticky-footer {
        min-height: 280px;
        height: auto;
        padding: 20px 0;
    }
    
    .footer-content {
        padding: 10px;
        gap: 15px;
    }
    
    .profile-image {
        width: 90px;
        height: 90px;
    }
    
    .profile-name {
        font-size: 18px;
    }
    
    .contact-item {
        font-size: 12px;
    }
    
    .contact-link {
        font-size: 12px;
    }
    
    body {
        padding-bottom: 0px;
    }
}

/* Home Section - Higher z-index to cover footer */
#home {
    position: relative;
    z-index: 1000; /* Higher than footer to cover it */
    background-color: inherit; /* Ensure solid background */
    margin: 0;
    padding: 0;
}

/* Navigation Bar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    background: transparent;
    border-radius: 0;
    transition: all 0.3s ease;
    padding: 0;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.658);
    backdrop-filter: blur(12px);
    /* box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05); */
    /* border: 1px solid rgba(255, 255, 255, 0.08); */
    border-radius: 0;
}

.nav-container {
    padding: 15px 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
}

.navbar.scrolled .nav-container {
    padding: 10px 15px;
}

/* Logo Styles */
.nav-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    height: clamp(40px, 8vw, 60px);
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(15px, 5vw, 36px);
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s ease;
    opacity: 0.9;
    padding: 5px 0;
}

.nav-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Animated Underline Effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.4s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar.scrolled .nav-link {
    text-shadow: none;
}

/* Video Background Container */
.video-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Background Video Styles */
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Dark Overlay for Better Text Contrast */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

/* Centered Text Content */
.content-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    max-width: 90%;
    opacity: 0;
    animation: fadeInUp 1.5s ease-out 0.5s forwards;
}

/* Subtitle Styles */
.subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 60px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

/* Main Title Styles */
.main-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 42px;
    line-height: 1.3;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
}

/* Fade-in Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* Mobile Responsive Design */
@media screen and (max-width: 768px) {
    /* Navigation adjustments for mobile */
    .navbar {
        top: 0px;
        right: 0px;
    }
    
    .nav-container {
        padding: 12px 20px;
    }
    
    .navbar.scrolled .nav-container {
        padding: 8px 15px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    /* Text adjustments for mobile */
    .subtitle {
        font-size: 16px;
        margin-bottom: 15px;
        line-height: 1.5;
    }
    
    .main-title {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .content-center {
        max-width: 95%;
        padding: 0 10px;
    }
}

@media screen and (max-width: 480px) {
    /* Extra small screens */
    .navbar {
        top: 0px;
        right:0px;
    }
    
    .nav-container {
        padding: 10px 15px;
    }
    
    .navbar.scrolled .nav-container {
        padding: 6px 12px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 11px;
        letter-spacing: 0.5px;
    }
    
    .subtitle {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .main-title {
        font-size: 24px;
    }
}

/* Large Desktop Screens */
@media screen and (min-width: 1200px) {
    .subtitle {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .main-title {
        font-size: 48px;
    }
    
    .nav-link {
        font-size: 15px;
    }
}

/* Ultra-wide Screens */
@media screen and (min-width: 1600px) {
    .subtitle {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .main-title {
        font-size: 54px;
    }
    
    /* Fix work section overlap on ultra-wide screens */
    .work-container {
        max-width: 1500px; /* Increase max-width for larger screens */
        gap: 100px; /* Increase gap between elements */
    }
    
    .work-text {
        flex: 0 1 55%; /* Maintain proportional sizing */
        max-width: 700px;
        min-width: 400px;
    }
    
    .work-video {
        flex: 0 1 40%; /* Maintain proportional sizing */
        max-width: 800px;
        min-width: 450px;
    }
    
    .work-video-player {
        max-width: 6800px; /* Larger video for ultra-wide screens */
    }
}

/* Work Section Styles */
.work-section {
    background-color: black;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden; /* Prevent overflow */
    position: relative;
    z-index: 100;
}

.work-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    width: 100%;
}

.work-text {
    flex: 0 1 55%; /* Give text more defined space - 55% of container */
    color: white;
    text-align: left;
    order: 1;
    min-width: 300px; /* Minimum width to ensure text readability */
}

.work-line1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 3.8rem);
    margin: 0 0 45px 0;
    line-height: 1.2;
}

.work-line2,
.work-line3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(4rem, 12vw, 10rem);
    margin: 0;
    line-height: 0.9;
}

.work-line2 {
    margin-bottom: 5px;
}

.work-description {
    font-family: sans-serif;
    font-weight: 400;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: #e2e2e2;
    margin: 50px 0 0 0;
    line-height: 1.6;
    max-width: 100%;
}

.work-video {
    flex: 0 1 40%; /* Give video 40% of container space */
    display: flex;
    justify-content: center;
    order: 2;
    min-width: 350px; /* Ensure video has minimum usable size */
}

.work-video-player {
    width: 100%;
    max-width: 700px; /* Increased from 600px to make video larger */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

/* Hide fullscreen and menu options from video controls */
.work-video-player::-webkit-media-controls-fullscreen-button {
    display: none !important;
}

.work-video-player::-webkit-media-controls-overflow-button {
    display: none !important;
}

.work-video-player::-moz-media-controls-fullscreen-button {
    display: none !important;
}

/* AI Generated Contents Section */
.ai-content-section {
    background-color: black;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 20px;
    position: relative;
    z-index: 100;
    overflow: hidden; /* Prevent overflow */
    width: 100%;
}

.ai-generated-title {
    font-family: 'PP Editorial New UltraboldItalic', serif;
    font-size: clamp(2.5rem, 8vw, 6rem);
    color: white;
    text-align: center;
    margin: 0 0 20px 0;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    hyphens: auto;
}

.ai-content-description {
    font-family: sans-serif;
    font-size: 1.1rem;
    color: white;
    text-align: center;
    margin: 0 0 60px 0;
    max-width: 800px;
    line-height: 1.6;
}

/* Video Carousel Styles */
.video-carousel {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    height: 500px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: all 0.6s ease;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.6s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.carousel-slide.active {
    z-index: 3;
    transform: translateX(-50%) scale(1);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.3), 0 8px 32px rgba(255, 255, 255, 0.15);
}

.carousel-slide.prev {
    z-index: 2;
    transform: translateX(-120%) scale(0.8);
    opacity: 0.7;
}

.carousel-slide.next {
    z-index: 2;
    transform: translateX(20%) scale(0.8);
    opacity: 0.7;
}

.carousel-slide.hidden {
    z-index: 1;
    opacity: 0;
    transform: translateX(-50%) scale(0.6);
}

.carousel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Dark overlay for background videos */
.carousel-slide.prev .carousel-video,
.carousel-slide.next .carousel-video {
    filter: brightness(0.4);
}

.carousel-slide.prev::after,
.carousel-slide.next::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

/* Hover effects for videos */
.carousel-slide {
    cursor: pointer;
}

.carousel-slide:hover {
    transform: translateX(-50%) scale(1.05) !important;
}

.carousel-slide.prev:hover {
    transform: translateX(-120%) scale(0.85) !important;
}

.carousel-slide.next:hover {
    transform: translateX(20%) scale(0.85) !important;
}

/* Carousel Mobile Responsive */
@media screen and (max-width: 768px) {
    .video-carousel {
        height: 350px;
        max-width: 95%;
    }
    
    .carousel-slide {
        width: 70%;
        height: 70%;
        top: 15%;
    }
    
    .carousel-slide.prev {
        transform: translateX(-110%) scale(0.7);
    }
    
    .carousel-slide.next {
        transform: translateX(10%) scale(0.7);
    }
    
    .carousel-slide.prev:hover {
        transform: translateX(-110%) scale(0.75) !important;
    }
    
    .carousel-slide.next:hover {
        transform: translateX(10%) scale(0.75) !important;
    }
}

@media screen and (max-width: 480px) {
    .video-carousel {
        height: 280px;
        overflow: hidden;
    }
    
    .carousel-slide {
        width: 80%;
        height: 60%;
        top: 20%;
    }
    
    .carousel-slide.prev {
        transform: translateX(-110%) scale(0.6);
        opacity: 0.5;
    }
    
    .carousel-slide.next {
        transform: translateX(10%) scale(0.6);
        opacity: 0.5;
    }
    
    .carousel-slide.prev:hover {
        transform: translateX(-110%) scale(0.65) !important;
    }
    
    .carousel-slide.next:hover {
        transform: translateX(10%) scale(0.65) !important;
    }
}

/* What We Provide Section */
.services-section {
    background-color: black;
    min-height: 100vh;
    border-radius: 0px 0px 25px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 120px 20px 120px 20px;
    position: relative;
    z-index: 100; 
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 1), 0 -2px 10px rgba(0, 0, 0, 1);
    overflow: hidden; /* Prevent overflow */
}

.services-title {
    font-family: 'PP Editorial New UltraboldItalic', serif;
    font-size: clamp(2.5rem, 8vw, 6rem);
    color: white;
    text-align: center;
    margin: 0 0 60px 0;
    width: 100%;
    max-width: 100%;
    word-wrap: break-word;
    hyphens: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1400px;
    width: 100%;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1), 0 0 40px rgba(255, 255, 255, 0.05), inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.services-title{
    margin-top: 60px;
}    

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    color: white;
    font-family: sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
}

.service-list li::before {
    content: '•';
    color: #4CAF50;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 8px;
}

/* Services Section Mobile Responsive */
@media screen and (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-title {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-list li {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .services-section {
        padding: 60px 20px;
    }
    
    .services-title {
        font-size: 2rem;
    }
}

/* Medium screens - Tablet landscape to small desktop */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    .work-container {
        gap: 40px;
    }
    
    .work-text {
        flex: 0 1 50%; /* Slightly reduce text space */
        min-width: 280px;
    }
    
    .work-video {
        flex: 0 1 45%; /* Slightly increase video space */
        min-width: 320px;
    }
    
    .work-video-player {
        max-width: 5550px; /* Moderate video size for medium screens */
    }
}

/* Work Section Mobile Responsive */
@media screen and (max-width: 768px) {
    .work-section {
        padding: 60px 0;
        overflow: hidden;
    }
    
    .work-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
        padding: 0 20px;
        max-width: 100%;
    }
    
    .work-text {
        order: 1;
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        min-width: unset;
    }
    
    .work-video {
        order: 2;
        flex: 1 1 100%;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        min-width: unset;
    }
    
    .work-line1 {
        font-size: clamp(1.2rem, 4vw, 2rem);
        margin-bottom: 20px;
    }
    
    .work-line2,
    .work-line3 {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .work-description {
        font-size: clamp(0.9rem, 3vw, 1rem);
        margin-top: 30px;
        max-width: 100%;
    }
    
    .work-video-player {
        max-width: 100%;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .work-section {
        padding: 40px 0;
    }
    
    .work-container {
        padding: 0 15px;
    }
    
    .work-line1 {
        font-size: clamp(1rem, 5vw, 1.5rem);
        margin-bottom: 15px;
    }
    
    .work-line2,
    .work-line3 {
        font-size: clamp(2rem, 10vw, 3rem);
    }
    
    .work-description {
        font-size: clamp(0.8rem, 3.5vw, 0.9rem);
        margin-top: 20px;
    }
}

/* Profile Image Styles */
.profile-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Footer Profile Layout */
.footer-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.profile-name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.contact-link {
    color: #e0e0e0;
    text-decoration: none;
}

.contact-link:hover {
    color: #4CAF50;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.footer-copyright p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}
@media screen and (min-width: 319px) {
        .main-title{
            font-size: 10px;
            scale: 2.0;
        }
        .subtitle{
                    font-size: 7px;
        margin-bottom: 22px;
        /* line-height: 1.5; */
        scale: 1.8;
        font-weight: 400;
    }
        
     
}

     @media screen and (min-width: 393px) {
        .main-title{
            font-size: 13px;
            scale: 1.9;
        }
        .subtitle{
                    font-size: 9.4px;
        margin-bottom: 39px;
        /* line-height: 1.5; */
        scale: 1.7;
    }
        
     }
     @media screen and (min-width: 525px) {
        .main-title{
            font-size: 18px;
            scale: 1.7;
        }
        .subtitle{
                    font-size: 10px;
        margin-bottom: 39px;
        line-height: 1.5;
        scale: 1.8;
    }
        
     }
       @media screen and (min-width: 619px) {
        .main-title{
            scale: 1.7;
            font-size: 22px;
        }
        .subtitle{
            font-size: 16px;
        margin-bottom: 39px;
        line-height: 1.5;
        scale: 1.3;
    }
        
     }
      @media screen and (min-width: 768px) {
        .main-title{
            font-size: 30px;
        }
        .subtitle{
            font-size: 20px;
        }
     }

      @media screen and (min-width: 806px) {
        .main-title{
            font-size: 32px;
        }
        .subtitle{
            font-size: 21px;
        }
     }

    
      @media screen and (min-width: 873px) {
        .main-title{
            font-size: 24px;
            scale: 1.7;
        }
        .subtitle{
                    font-size: 10px;
        margin-bottom: 39px;
        line-height: 1.5;
        scale: 1.8;
    }
        
     }
      @media screen and (min-width: 1060px) {
        .main-title{
            font-size: 30px;
            /* scale: 10; */
        }
        .subtitle{
            font-size: 15px;
            scale: 1.4;
        }
     }
      @media screen and (min-width: 1070px) {
        .main-title{
            font-size: 30px;
            /* scale: 10; */
        }
        .subtitle{
            font-size: 15px;
            scale: 1.4;
        }
     }
     
     
      @media screen and (min-width: 1129px) {
        .main-title{
            font-size: 35px;
            /* scale: 1.7; */
        }
        .subtitle{
                    font-size: 14px;
        /* margin-bottom: 39px;
        line-height: 1.5;
        scale: 1.8; */
    }
        
     }
          
      @media screen and (min-width: 1162px) {
        .main-title{
            font-size: 45px;
        }
        .subtitle{
            font-size: 30px;
        }
     }

      @media screen and (min-width: 1611px) {
        .main-title{
            font-size: 55px;
            scale: 1.4;
        }
        
        
     }


       
     @media screen and (min-width: 1628px) {
        .main-title{
            font-size: 60px;
            /* scale: 10; */
        }
        .subtitle{
            font-size: 35px;
        }
     }
    
    
@media screen and (minwidth:1629px)
{
    *{margin:0;
     padding:0;
     overflow: hidden;
     box-sizing: border-box;
    }
     body{
        overflow:hidden
     }

     .nav-menu{
         margin-right:300px;
        transform:translateX(300px);}
    

         
     }


    
/* 2nd section from 769px onwards */
    
@media screen and (min-width:769px){
    .work-video-player{
        max-width: 550000px;
        scale: 1.4;
        transform: translateX(-40px);
    }
    .work-text{
        scale: 0.6;
        transform: translateX(-100px);
    }
}
@media screen and (min-width:769px){

    .work-video-player{
        /* max-width: 550000px;
        scale: 1.4; */
        transform: translateX(-60px);

}

 .work-text{
        /* scale: 0.6; */
        transform: translateX(-130px);
    }
}   
  
@media screen and (min-width:1315px){
    .work-video-player{
        /* max-width: 550000px; */
        scale: 1.6;
        transform: translateX(-45px);
    }
    .work-text{
        scale: 0.7;
        transform: translateX(-160px);
    }
}
     
@media screen and (min-width:1629px){
    .work-video-player{
        /* max-width: 550000px; */
        scale: 2;
        transform: translateX(-10px);
    }
    .work-text{
        scale: 0.8;
        transform: translateX(-300px);
    }
}

 @media screen and (min-width:1631px){
    .work-video-player{
        /* max-width: 550000px; */
        scale: 2;
        transform: translateX(45px);
    }
    .work-text{
        scale: 1;
        transform: translateX(-300px);
    }
}

@media screen and (max-width:571) {
    .video-carousel {
        height: 350px;
        max-width: 95%;
    }
    
    .carousel-slide {
        width: 70%;
        height: 70%;
        top: 15%;
    }
}

@media screen and (max-width: 769px) {
    .video-carousel {
        height: 350px;
        max-width: 95%;
    }
    
    .carousel-slide {
        width: 70%;
        height: 70%;
        top: 15%;
    }
}
@media screen and (min-width: 769px) and (max-width: 1026px){
    .video-carousel {
        height: 450px;
        max-width: 95%;
    }
    
    .carousel-slide {
        width: 70%;
        height: 70%;
        top: 15%;
    }
}
