/* Font Face Declarations */
@font-face {
    font-family: 'Gordita';
    src: url('../assets/Gordita-Font/Gordita-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Gordita';
    src: url('../assets/Gordita-Font/Gordita-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Gordita';
    src: url('../assets/Gordita-Font/Gordita-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Gordita';
    src: url('../assets/Gordita-Font/Gordita-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Gordita';
    src: url('../assets/Gordita-Font/Gordita-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

/* Main Styles for PodFlare Website */

:root {
    /* Color variables */
    --color-primary: #d1f602;
    --color-secondary: #53f4a3;
    --accent: #d1f602;
    --accent-green: #53f4a3;
    --white: #ffffff;
    --black: #000000;
    --dark: #222222;
    --dark-purple: #0a1930;
    --emerald: #0a4d3c;
    --navy-blue: #091b49;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --blue: #6366F1;
    
    /* Theme variables */
    --bg-primary: var(--dark-purple);
    --bg-secondary: var(--emerald);
    --accent: var(--accent-green);
    
    /* Typography */
    --font-primary: 'Gordita', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Standardized font sizes */
    --font-size-headline: clamp(2rem, 4vw, 3rem);
    --font-size-subheadline: clamp(1rem, 2vw, 1.2rem);
    --font-size-hero-headline: clamp(2.8rem, 5vw, 4.5rem);
    --line-height-headline: 1.2;
    --line-height-subheadline: 1.6;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gordita', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Gordita', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    background: linear-gradient(180deg,
        #16003d 0%,       /* Deep purple start */
        #0a1930 15%,      /* Transition to dark purple */
        var(--dark-purple) 25%,
        var(--emerald) 40%,
        var(--emerald) 60%,
        var(--navy-blue) 80%,
        var(--navy-blue) 100%
    );
    background-repeat: no-repeat;
    background-size: 100% 100%;
    min-height: 100vh;
    width: 100%;
    color: var(--white);
    line-height: 1.6;
    overflow-y: auto;
    padding-right: 0 !important;
}

/* Remove ALL section dividers and margins */
section {
    background: none !important;
    position: relative;
    border: none !important;
    margin: 0 !important;
    padding: 6rem 0;
}

/* Remove section overlays */
section::before,
section::after {
    display: none !important;
}

/* Remove any borders or lines from all elements */
.section-title::after,
.underline-decoration,
.footer-bottom {
    border: none !important;
    background: none !important;
}

/* Adjust card backgrounds to be more transparent */
.service-card,
.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Gordita', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: var(--font-size-headline);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    font-weight: 400;
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    font-size: var(--font-size-headline);
    line-height: var(--line-height-headline);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 30px auto 0;
    border-radius: 10px;
}

/* Button styles */
.btn-primary {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--dark-purple);
    padding: 15px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: -1;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(209, 246, 2, 0.3);
}

.btn-primary:hover::after {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-explore {
    position: relative;
    cursor: pointer;
    padding: 20px 25px;
    border-radius: 50%;
    background-color: #d1f602;
}

.btn-explore span {
    color: var(--dark-purple);
    font-size: 24px;
    transition: all 0.3s ease;
}

.btn-explore:hover span {
    transform: scale(1.1);
}

.btn-nav {
    display: inline-block;
    padding: 10px 15px;
    background-color: rgba(209, 246, 2, 0.1);
    color: var(--white);
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(209, 246, 2, 0.3);
}

.btn-nav:hover {
    background-color: rgba(209, 246, 2, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(209, 246, 2, 0.15);
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background-color: transparent !important; /* Always transparent */
    backdrop-filter: none !important; /* No blur */
    -webkit-backdrop-filter: none !important; /* No blur for Safari */
    box-shadow: none !important; /* No shadow */
}

.navbar.scrolled {
    background-color: transparent !important; /* Still transparent when scrolled */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar::after,
.navbar::before {
    display: none !important;
}

.nav-links,
.nav-links a,
.navbar {
    z-index: 20;
}

.nav-links::after,
.nav-links::before,
.navbar::after {
    display: none !important;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    display: flex;
    align-items: center;
    font-weight: 700;
}

.logo-pod {
    color: var(--white);
}

.logo-flare {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
    font-family: 'Gordita', -apple-system, BlinkMacSystemFont, sans-serif;
}

.nav-links a:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
    border-radius: 10px;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hamburger menu toggle styling */
.menu-toggle {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white !important;
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    position: relative;
    padding: 120px 0 80px;
    background: none !important;
}

.hero::before {
    display: none;
}

.blob-shape {
    position: absolute;
    width: 70vw;
    height: 80vh;
    top: 5%;
    right: -10%;
    background: radial-gradient(
        circle at center,
        rgba(84, 98, 255, 0.3) 0%,
        rgba(84, 98, 255, 0.1) 50%,
        transparent 80%
    );
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    animation: floatBlob 20s ease-in-out infinite alternate;
    will-change: transform;
}

.blob-shape-2 {
    position: absolute;
    width: 60vw;
    height: 70vh;
    bottom: 15%;
    left: -5%;
    background: radial-gradient(
        circle at center,
        rgba(233, 58, 165, 0.2) 0%,
        rgba(233, 58, 165, 0.1) 50%,
        transparent 80%
    );
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    animation: floatBlob 15s ease-in-out infinite alternate-reverse;
    will-change: transform;
}

.blob-shape-3 {
    position: absolute;
    width: 100vw;
    height: 70vh;
    top: 20%;
    left: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(84, 98, 255, 0.25) 0%,
        rgba(84, 98, 255, 0.15) 30%,
        rgba(84, 98, 255, 0.05) 60%,
        transparent 85%
    );
    border-radius: 50%;
    filter: blur(130px);
    z-index: -1;
    animation: floatBlobBoundary 25s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(2%, 2%) scale(1.05);
    }
    100% {
        transform: translate(-2%, -2%) scale(0.95);
    }
}

/* Add specific animation for the third blob that covers the boundary */
@keyframes floatBlobBoundary {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(1%, 3%) scale(1.08);
        opacity: 0.9;
    }
    100% {
        transform: translate(-1%, -2%) scale(0.98);
        opacity: 0.7;
    }
}

.hero .container {
    max-width: 900px;
    position: relative;
}

.headline {
    margin-bottom: 10px;
    line-height: 1;
    position: relative;
    font-size: var(--font-size-hero-headline);
    letter-spacing: -1px;
    font-family: 'Gordita', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
}

.headline .line {
    display: block;
    white-space: nowrap;
    line-height: 1;
    margin-bottom: 0.1em;
}

.headline .highlight {
    display: inline;
    white-space: nowrap;
    color: #d1f602;
}

.underline-decoration {
    width: 320px;
    height: 8px;
    margin: 0 auto 30px;
    background-color: var(--accent);
    border-radius: 30px;
    transform: translateY(-10px) rotate(-1deg);
    position: relative;
}

.underline-decoration::before {
    display: none;
}

.subheadline {
    font-size: var(--font-size-subheadline);
    margin-bottom: 50px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: var(--line-height-subheadline);
    font-family: 'Gordita', -apple-system, BlinkMacSystemFont, sans-serif;
}

.highlight {
    color: #d1f602;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

/* Video Section */
.video-section {
    padding: 100px 0 60px 0;
    background: none !important;
    overflow: visible;
    position: relative;
    min-height: 800px;
}

.video-section-header {
    margin-bottom: 40px;
    text-align: center;
    padding-left: 20px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
}

.video-section .section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--white);
    font-size: var(--font-size-headline);
    letter-spacing: -0.02em;
}

.video-section .section-title .line {
    display: block;
    line-height: 1.2;
    margin-bottom: 0.1em;
}

.video-section .section-title .highlight {
    color: #d1f602;
    letter-spacing: -0.01em;
}

.video-section .section-subtitle {
    text-align: center;
    color: var(--white);
    margin-bottom: 3rem;
    font-size: var(--font-size-subheadline);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    white-space: normal;
    word-wrap: break-word;
    padding: 0.5rem 15px;
    width: 100%;
}

.video-section .section-title::after {
    display: none;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    overflow: hidden;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    height: 600px; /* Fixed height to prevent layout shifting */
}

.video-container {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding: 60px 0;
    align-items: center;
    margin: 0 auto;
    -webkit-overflow-scrolling: touch;
    height: 100%;
    position: relative;
}

/* Remove fixed spacing between cards */
.video-card {
    position: absolute; /* Position absolutely for smooth transforms */
    width: 240px;
    height: 427px; /* 9:16 ratio */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    left: 50%; /* Center all cards */
    top: 50%;
    transform-origin: center center;
    transform: translate(-50%, -50%) scale(0.85); /* Default transform */
    opacity: 0.5;
    filter: brightness(0.7) grayscale(0.2);
    cursor: pointer;
    background-color: var(--bg-primary);
    transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1), 
                opacity 0.5s cubic-bezier(0.33, 1, 0.68, 1),
                filter 0.5s cubic-bezier(0.33, 1, 0.68, 1);
    will-change: transform, opacity, filter;
    margin: 0;
}

/* Active card styling */
.video-card.active {
    z-index: 2;
    opacity: 1;
    filter: brightness(1) grayscale(0);
    transform: translate(-50%, -50%) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(209, 246, 2, 0.15);
    border: 1px solid rgba(209, 246, 2, 0.25);
}

/* Remove all other card position classes that might interfere */
.video-card:not(.active):hover {
    opacity: 0.8;
    filter: brightness(0.9) grayscale(0.1);
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: opacity 0.3s ease;
}

/* Hide all native video controls */
.video-card video::-webkit-media-controls {
    display: none !important;
}

.video-card video::-webkit-media-controls-panel,
.video-card video::-webkit-media-controls-play-button,
.video-card video::-webkit-media-controls-timeline,
.video-card video::-webkit-media-controls-current-time-display,
.video-card video::-webkit-media-controls-time-remaining-display,
.video-card video::-webkit-media-controls-mute-button,
.video-card video::-webkit-media-controls-toggle-closed-captions-button,
.video-card video::-webkit-media-controls-volume-slider {
    display: none !important;
}

.video-card.active .video-title {
    font-size: 18px;
    top: 25px;
}

/* Custom play button styling */
.video-play-pause {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    pointer-events: auto;
    z-index: 10;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.play-button-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.play-icon {
    position: absolute;
    font-size: 22px;
    color: white;
    opacity: 1;
    transition: opacity 0.2s ease;
    margin-left: 2px;
}

.pause-icon {
    position: absolute;
    font-size: 22px;
    color: white;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.video-card.playing .play-icon {
    opacity: 0;
}

.video-card.playing .pause-icon {
    opacity: 1;
}

/* Show play button when hovering on card */
.video-card:hover .video-play-pause {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

/* Different styling for active card */
.video-card.active .video-play-pause {
    width: 70px;
    height: 70px;
}

.video-card.active .play-button-inner {
    background-color: rgba(0, 0, 0, 0.4);
    border-width: 3px;
}

.video-card.active .play-icon,
.video-card.active .pause-icon {
    font-size: 26px;
}

.video-play-pause:hover .play-button-inner {
    background-color: rgba(209, 246, 2, 0.4);
    border-color: var(--accent);
    transform: scale(1.05);
}

.carousel-btn {
    background-color: rgba(255, 255, 255, 0.12);
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 24px;
    position: absolute;
    z-index: 200; /* Increased to be above all cards */
    transition: all 0.3s cubic-bezier(0.33, 1, 0.68, 1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
    background-color: var(--accent);
    color: var(--black);
    transform: scale(1.05);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Update button positions to match new layout */
.carousel-btn.prev {
    left: 20px; /* Position at the edge */
}

.carousel-btn.next {
    right: 20px; /* Position at the edge */
}

/* Add animation for button clicks */
@keyframes buttonPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.carousel-btn.clicked {
    animation: buttonPulse 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (max-width: 768px) {
    .video-card {
        width: 200px;
        height: 356px; /* 9:16 ratio */
    }
    
    .video-card.active {
        width: 240px;
        height: 427px; /* 9:16 ratio */
    }
    
    .carousel-btn.prev {
        left: 15px; /* Adjust for smaller screens */
    }
    
    .carousel-btn.next {
        right: 15px; /* Adjust for smaller screens */
    }
    
    .carousel-btn {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
    
    .video-play-pause {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .carousel-container {
        height: 500px; /* Adjusted height for mobile */
    }
    
    .video-section {
        min-height: 700px; /* Adjusted min-height for mobile */
    }
}

@media (max-width: 480px) {
    .video-card {
        width: 180px;
        height: 320px; /* 9:16 ratio */
    }
    
    .video-card.active {
        width: 200px;
        height: 356px; /* 9:16 ratio */
    }
    
    .carousel-btn.prev {
        left: 10px; /* Further adjust for very small screens */
    }
    
    .carousel-btn.next {
        right: 10px; /* Further adjust for very small screens */
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Services Section */
.services {
    background: none !important;
    position: relative;
}

.services::after {
    display: none;
}

.services-header {
    margin-bottom: 60px;
    text-align: center;
}

.services-header .section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: var(--font-size-headline);
    letter-spacing: -0.02em;
}

.services-header .section-title .line {
    display: block;
    margin-bottom: 0.5rem;
}

.services-header .section-title .highlight {
    color: #d1f602;
    letter-spacing: -0.01em;
}

.services-header .section-title::after {
    display: none;
}

.services-subheadline {
    font-size: var(--font-size-subheadline);
    line-height: var(--line-height-subheadline);
    color: var(--text-primary);
    opacity: 0.9;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 1;
}

/* Adjust all service cards to be rounded (base style) */
.service-card,
.service-card:first-child,
.service-card:nth-child(2),
.service-card:nth-child(3),
.service-card:nth-child(4),
.service-card:nth-child(5),
.service-card:nth-child(6),
.service-card:nth-child(7),
.service-card:nth-child(8),
.service-card:nth-child(9) {
    border-radius: 12px;
    padding: 30px;
    min-height: 220px;
    max-height: 260px;
    height: 100%;
    width: 100%;
    min-width: 320px;
    aspect-ratio: 1.6/1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Make only top-left corner square for first column cards (1st, 4th, 7th) */
.service-card:nth-child(1),
.service-card:nth-child(4),
.service-card:nth-child(7) {
    border-radius: 0 12px 12px 12px !important;
}

/* Ensure hover effects maintain the same border radius */
.service-card:nth-child(1):hover::before,
.service-card:nth-child(4):hover::before,
.service-card:nth-child(7):hover::before {
    border-radius: 0 12px 12px 12px !important;
}

.service-card:nth-child(1):hover::after,
.service-card:nth-child(4):hover::after,
.service-card:nth-child(7):hover::after {
    border-radius: 0 12px 12px 12px !important;
}

/* Ensure all other cards have fully rounded corners */
.service-card:nth-child(2),
.service-card:nth-child(3),
.service-card:nth-child(5),
.service-card:nth-child(6),
.service-card:nth-child(8),
.service-card:nth-child(9) {
    border-radius: 12px !important;
}

/* Update heading size and positioning for rectangular cards */
.service-card h3,
.service-card:first-child h3,
.service-card:nth-child(2) h3,
.service-card:nth-child(3) h3,
.service-card:nth-child(4) h3,
.service-card:nth-child(5) h3,
.service-card:nth-child(6) h3,
.service-card:nth-child(7) h3,
.service-card:nth-child(8) h3,
.service-card:nth-child(9) h3 {
    font-size: 1.5rem;
    line-height: 1.1;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
    font-weight: 700;
    letter-spacing: -0.02em;
    width: calc(100% - 90px);
    margin-bottom: 20px;
}

/* Adjust paragraph text positioning */
.service-card p,
.service-card:first-child p,
.service-card:nth-child(2) p,
.service-card:nth-child(3) p,
.service-card:nth-child(4) p,
.service-card:nth-child(5) p,
.service-card:nth-child(6) p,
.service-card:nth-child(7) p,
.service-card:nth-child(8) p,
.service-card:nth-child(9) p {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
    position: relative;
    max-width: 85%;
    color: #333333;
}

/* FINAL OVERRIDE - Force all card icons to top right corner */
.service-card .service-card-image {
    position: absolute !important;
    top: 30px !important;
    right: 30px !important;
    left: auto !important;
    width: 48px !important;
    height: 48px !important;
    object-fit: contain !important;
    z-index: 10 !important;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.service-card:hover .service-card-image {
    transform: translateY(-4px) !important;
}

/* Special styling for the first card (Long-Form Video Editing) */
.service-card:first-child {
    background: linear-gradient(135deg, #DAC9FF, #F3EFFF) !important;
    border-radius: 0 12px 12px 12px !important;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(107, 68, 255, 0.07);
    border: none;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 220px;
    max-height: 260px;
    transition: all 0.15s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:first-child:hover::before {
    border-radius: 0 12px 12px 12px !important;
}

.service-card:first-child:hover::after {
    border-radius: 0 12px 12px 12px !important;
}

/* Remove inner glow effect - not present in the lavender card */
.service-card:first-child::before {
    display: none;
}

.steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.steps::after {
    display: none;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    max-width: 300px;
    margin: 0 auto;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, var(--accent), var(--blue));
    color: var(--black);
    box-shadow: 0 10px 30px rgba(83, 244, 163, 0.3);
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    color: var(--accent);
    transition: all 0.3s ease;
}

.step-icon svg {
    width: 30px;
    height: 30px;
}

.step:hover .step-icon {
    transform: translateY(-5px);
    color: var(--white);
    background: var(--accent);
    box-shadow: 0 10px 20px rgba(83, 244, 163, 0.3);
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* FAQ Section */
.faq {
    background: none !important;
    position: relative;
    overflow: hidden;
}

.faq::before {
    display: none;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.07);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--white);
    flex: 1;
}

.faq-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 20px 20px 55px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #FFFFFF; /* Pure white color */
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: none !important;
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    display: none;
}

.footer-content {
    display: flex;
    justify-content: center;
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-column {
    text-align: center;
    max-width: 400px;
}

.footer-column .logo {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(to right, #6366F1, #EEF0FF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.footer-column p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icons a img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.social-icons a:hover {
    background-color: var(--accent);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin: 0;
}

/* Mobile Menu Custom Styles */
@media (max-width: 768px) {
    /* Adjust the navbar for mobile */
    .navbar {
        padding: 15px 0;
    }
    
    .navbar .logo img {
        height: 60px;
    }
    
    /* Improved mobile menu styling */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background-color: #4169e1 !important; /* Royal blue - very bright */
        padding: 120px 40px 40px !important;
        z-index: 1000 !important;
        transition: right 0.3s ease;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 10px;
        overflow-y: auto;
        opacity: 1 !important; /* Force full opacity */
        filter: none !important; /* Remove any filters */
    }
    
    .nav-links:before, 
    .nav-links:after {
        display: none !important; /* Remove any pseudo-elements that might be adding darkness */
    }
    
    .nav-links.active {
        right: 0;
        background-color: #4169e1 !important; /* Match the background color */
    }
    
    /* Make nav links more visible */
    .nav-links a {
        color: white !important;
        font-size: 20px !important;
        font-weight: 600 !important;
        padding: 15px 0 !important;
        width: 100% !important;
        text-align: left !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
        opacity: 1 !important;
        text-shadow: none !important;
        margin: 0 !important;
        transition: color 0.2s ease !important;
        display: block !important;
        letter-spacing: 0.5px !important;
    }
    
    /* Animated nav links for better UX */
    .nav-link-animate {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-links a:last-child {
        border-radius: 8px !important;
        background: var(--color-primary) !important;
        color: #000 !important;
        padding: 15px 20px !important;
        margin-top: 20px !important;
        text-align: center !important;
        font-weight: 700 !important;
    }
    
    .nav-links a:hover {
        color: var(--color-primary) !important;
        background: none !important;
        transform: none !important;
    }
    
    
    .nav-links a:last-child:hover {
        background-color: rgba(209, 246, 2, 0.4);
    }
    
    .nav-links a::after {
        display: none; /* Remove underline effect on mobile */
    }
    
    /* Close button (X) in the top right of the menu */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        cursor: pointer;
        z-index: 1001 !important;
        position: relative;
        background: none;
        border: none;
        margin-right: 15px;
    }
    
    .menu-toggle span {
        display: block;
        position: relative;
        width: 100%;
        height: 3px;
        margin: 0;
        background-color: white !important;
        border-radius: 3px;
        z-index: inherit;
        transform-origin: center;
        transition: transform 0.3s ease, opacity 0.3s ease;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Add overlay for menu background */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5) !important; /* Lighter overlay background */
        z-index: 97;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    .menu-overlay.active {
        display: block;
        opacity: 1;
    }
}

/* Media Queries */
@media (max-width: 1024px) {
    .steps {
        flex-direction: column;
        gap: 60px;
    }
    
    .steps::after {
        width: 2px;
        height: 70%;
        left: 50%;
        top: 15%;
        transform: translateX(-50%);
    }
    
    .step {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .service-card {
        min-width: auto !important;
        width: 100% !important;
    }
    
    .service-card h3 {
        font-size: 1.1rem !important;
        width: calc(100% - 60px) !important;
        line-height: 1.05 !important;
    }
    
    .service-card p {
        font-size: 0.8rem !important;
        max-width: 100% !important;
    }
    
    .service-card .service-card-image {
        width: 36px !important;
        height: 36px !important;
        top: 20px !important;
        right: 20px !important;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-column {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .service-card {
        padding: 15px !important;
        min-height: 180px !important;
        max-height: 220px !important;
    }

    /* Add more bottom padding to service cards on mobile */
    .service-card {
        padding-bottom: 25px !important;
    }
    
    /* First card (Long-Form Video Editing) gets extra bottom padding */
    .service-card:nth-child(1) {
        padding-bottom: 30px !important;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease forwards;
}

.slide-up {
    animation: slideUp 0.7s ease forwards;
}

.slide-in {
    animation: slideIn 0.7s ease forwards;
}

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

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.pill-badge {
    display: inline-block;
    background-color: rgba(209, 246, 2, 0.05);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 30px;
    border: 1px solid #d1f602;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.pill-badge:hover {
    box-shadow: 0 0 15px rgba(209, 246, 2, 0.3);
    transform: translateY(-2px);
}

/* Mobile optimization for pill badge */
@media (max-width: 480px) {
    .pill-badge {
        font-size: 0.7rem;
        padding: 6px 16px;
        letter-spacing: 0.5px;
    }
}

/* Video progress bar */
.video-progress-container {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    z-index: 11;
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-progress-container {
    opacity: 1;
}

.video-progress-bar {
    height: 100%;
    width: 0;
    background-color: var(--accent);
    border-radius: 10px;
    transition: width 0.1s linear;
}

/* Add spring animation for smoother micro-movements - kept for reference but not used */
@keyframes springScale {
    0% { transform: scale(1); }
    40% { transform: scale(1.02); }
    60% { transform: scale(0.98); }
    80% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

/* Remove the conflicting animation that causes the jitter */
.video-card:not(.active) {
    /* Slower timing for shrinking */
    transition: all 600ms cubic-bezier(0.1, 0.4, 0.2, 1);
}

.video-card.active {
    z-index: 2;
    width: 270px;
    height: 480px;
    opacity: 1;
    filter: brightness(1) grayscale(0);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(209, 246, 2, 0.15);
    border: 1px solid rgba(209, 246, 2, 0.25);
    transform: scale(1);
    margin: 0 10px;
}

.video-card:not(.active):hover {
    transform: scale(0.9);
    opacity: 0.8;
    filter: brightness(0.9) grayscale(0.1);
}

/* Add overlay to non-active cards */
.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 11, 46, 0.4);
    z-index: 4;
    pointer-events: none;
    transition: opacity 0.5s ease;
    opacity: 1;
}

.video-card.active::before {
    opacity: 0;
}

.video-card:hover::before {
    opacity: 0.6;
}

/* Enhanced custom video controls */
.video-hover-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.7) 0%, 
        transparent 40%, 
        transparent 60%, 
        rgba(0, 0, 0, 0.7) 100%
    );
    opacity: 0.4; /* Default semi-transparent for playing videos */
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 6;
}

/* Show hover controls on hover */
.video-card:hover .video-hover-controls {
    opacity: 1;
}

/* Enable pointer events on play/pause button */
.video-play-pause {
    pointer-events: auto;
}

/* Make hover controls fully visible when video is paused */
.video-card:not(.playing) .video-hover-controls {
    opacity: 1;
}

/* Adjust autoplay video behavior */
.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: opacity 0.3s ease;
    will-change: transform, opacity;
}

.video-title {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 7;
    text-align: center;
    width: 100%;
    position: absolute;
    top: 20px;
    left: 0;
    padding: 0 15px;
}

.no-video-message {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    font-size: 14px;
    border-radius: 4px;
    margin: 0 15px;
    animation: fadeInUp 0.3s ease-out;
    z-index: 10;
}

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

/* Video Card Coming Soon Style */
.video-card.coming-soon {
    position: relative;
}

.video-card.coming-soon::after {
    content: 'Coming Soon';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 15;
    border: 1px solid var(--accent);
}

/* Video error state */
.video-card.video-error::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 5;
    border-radius: 12px;
    pointer-events: none; /* Allow clicks to pass through to the video */
}

.video-card.video-error::after {
    content: 'Video Unavailable';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.3);
    pointer-events: none; /* Allow clicks to pass through to the video */
}

/* Video muted state */
.video-card.playing-muted .muted-indicator {
    animation: fadeIn 0.3s ease forwards;
}

/* Fixed z-index for play button to ensure it's above other elements */
.video-play-pause {
    z-index: 15;
}

/* Error message style */
.video-error-message {
    z-index: 20;
    font-weight: 600;
    letter-spacing: 0.5px;
    pointer-events: none; /* Allow clicks to pass through to the video */
}

/* Debug mode styles - temporarily highlight problematic videos */
.video-debug .video-card:not(.video-can-play) {
    border: 2px solid red;
}

/* Coming Soon Overlay */
.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 12px;
    pointer-events: none; /* Allow clicks to pass through to the video */
}

.coming-soon-overlay span {
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    pointer-events: none; /* Allow clicks to pass through to the video */
}

video {
    opacity: 1;
    display: block;
    transition: opacity 0.3s ease;
}

video:not(.playing) {
    opacity: 1;
}

video.playing {
    opacity: 1;
}

/* Cloud background with maximum visibility */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: url('../assets/cloud.png');
    background-repeat: repeat-y;
    background-size: 120% auto;
    opacity: 0.85; /* Further increased opacity */
    z-index: -1;
    transform: translateZ(0);
    filter: contrast(180%) brightness(150%) saturate(110%); /* Stronger visual enhancements */
    animation: cloudDrift 180s linear infinite;
    mix-blend-mode: screen; /* Changed to screen mode for maximum visibility */
}

/* Cloud drift animation */
@keyframes cloudDrift {
    from {
        background-position: 0% 0%;
    }
    to {
        background-position: 0% 100%;
    }
}

/* Remove secondary star layer */
body::after {
    display: none;
}

/* Remove star overlay class */
.star-overlay {
    display: none;
}

/* Remove unused star animations */
@keyframes twinkleAnimation {
    0% { opacity: 0.07; }
    50% { opacity: 0.09; }
    100% { opacity: 0.07; }
}

/* Modify starsAnimation for the cloud effect */
@keyframes starsAnimation {
    from {
        background-position: 0% 0%;
    }
    to {
        background-position: 0% 100%;
    }
}

/* Lavender gradient for the first card */
.service-card:first-child {
    background: linear-gradient(135deg, #DAC9FF, #F3EFFF) !important;
    border-radius: 0 12px 12px 12px !important;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(107, 68, 255, 0.07);
    border: none;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 220px;
    max-height: 260px;
    transition: all 0.15s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Lighter lavender gradient for the second card */
.service-card:nth-child(2) {
    background: linear-gradient(135deg, #E5DDFF, #F7F5FF) !important;
    border-radius: 12px !important;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(107, 68, 255, 0.05);
    border: none;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 220px;
    max-height: 260px;
    transition: all 0.15s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Emerald green gradient for the third card */
.service-card:nth-child(3) {
    background: linear-gradient(135deg, #74E0AE, #E2FDEE) !important;
    border-radius: 12px !important;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(42, 185, 118, 0.07);
    border: none;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 220px;
    max-height: 260px;
    transition: all 0.15s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Orange gradient for the fourth card */
.service-card:nth-child(4) {
    background: linear-gradient(135deg, #FFA76A, #FFF1E8) !important;
    border-radius: 0 12px 12px 12px !important;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(255, 143, 66, 0.07);
    border: none;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 220px;
    max-height: 260px;
    transition: all 0.15s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Neon green gradient for the fifth card */
.service-card:nth-child(5) {
    background: linear-gradient(315deg, #d1f602, #f2ffcb) !important;
    border-radius: 12px !important;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(209, 246, 2, 0.07);
    border: none;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 220px;
    max-height: 260px;
    transition: all 0.15s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Teal gradient for the sixth card */
.service-card:nth-child(6) {
    background: linear-gradient(135deg, #2DD4BF, #E6FFFC) !important;
    border-radius: 12px 12px 0 12px !important;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(45, 212, 191, 0.07);
    border: none;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 220px;
    max-height: 260px;
    transition: all 0.15s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Purple gradient for the seventh card */
.service-card:nth-child(7) {
    background: linear-gradient(135deg, #8B5CF6, #EDE9FF) !important;
    border-radius: 0 12px 12px 12px !important;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.07);
    border: none;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 220px;
    max-height: 260px;
    transition: all 0.15s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Rose gradient for the eighth card */
.service-card:nth-child(8) {
    background: linear-gradient(135deg, #F43F5E, #FFE8EB) !important;
    border-radius: 12px !important;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(244, 63, 94, 0.07);
    border: none;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 220px;
    max-height: 260px;
    transition: all 0.15s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Indigo gradient for the ninth card */
.service-card:nth-child(9) {
    grid-column: span 1;
    width: 100%;
    background: linear-gradient(135deg, #6366F1, #EEF0FF);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.07);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .service-card:nth-child(9) {
        grid-column: span 2;
        justify-content: flex-start !important;
        padding-top: 20px !important;
    }
}

@media (max-width: 480px) {
    .service-card:nth-child(9) {
        grid-column: span 2;
    }
}

.service-card:nth-child(9) {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; /* Changed from flex-start to center to match other cards */
    align-items: flex-start !important;
    padding-top: 30px !important; /* Changed from 20px to 30px to match other cards */
}

.service-card:nth-child(9) h3 {
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    top: 0 !important;
    margin-bottom: 20px !important; /* Added to match other cards */
}

.service-card:nth-child(9) p {
    margin-top: 20px !important;
}

/* Fix text colors for all cards */
.service-card h3,
.service-card:nth-child(1) h3,
.service-card:nth-child(2) h3,
.service-card:nth-child(3) h3,
.service-card:nth-child(4) h3,
.service-card:nth-child(5) h3,
.service-card:nth-child(6) h3,
.service-card:nth-child(7) h3,
.service-card:nth-child(8) h3,
.service-card:nth-child(9) h3 {
    color: #222222;
}

.service-card p,
.service-card:nth-child(1) p,
.service-card:nth-child(2) p,
.service-card:nth-child(3) p,
.service-card:nth-child(4) p,
.service-card:nth-child(5) p,
.service-card:nth-child(6) p,
.service-card:nth-child(7) p,
.service-card:nth-child(8) p,
.service-card:nth-child(9) p {
    color: #333333;
}

/* Consistent hover state for all cards */
.service-card:hover,
.service-card:nth-child(1):hover,
.service-card:nth-child(2):hover,
.service-card:nth-child(3):hover,
.service-card:nth-child(4):hover,
.service-card:nth-child(5):hover,
.service-card:nth-child(6):hover,
.service-card:nth-child(7):hover,
.service-card:nth-child(8):hover,
.service-card:nth-child(9):hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(9, 27, 73, 0.3);
    background: linear-gradient(125deg, #143bd6, #213186 40%, #0a1231 85%) !important;
    border: none;
    position: relative;
}

/* Hover text colors */
.service-card:hover h3 {
    color: white !important;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.95) !important;
}

.underline-text {
    position: relative;
    display: inline-block;
}

.underline-text::after {
    content: '';
    position: absolute;
    left: -15px;
    right: -15px;
    bottom: -2px;
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M -50 7 Q 100 -5, 250 7' stroke='%23d1f602' stroke-width='4' fill='none' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    pointer-events: none;
    transform: translateY(5px) rotate(-1deg);
    z-index: 1;
    opacity: 1;
}

/* Workflow Section Styles */
.workflow {
    padding: 6rem 0;
}

.workflow-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.workflow-header .section-title {
    margin-bottom: 1.5rem;
    font-size: var(--font-size-headline);
}

.workflow-subheadline {
    font-size: var(--font-size-subheadline);
    line-height: var(--line-height-subheadline);
    color: var(--white);
    opacity: 0.9;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.workflow-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
    padding: 2rem 0;
    margin: 0 auto;
    max-width: 1400px;
}

/* Restore the main connector line but place it behind everything */
.workflow-steps::before, 
.workflow-steps::after {
    display: none; /* Hide the continuous lines */
}

/* Right edge of card 1 */
.workflow-step:nth-child(1)::after {
    content: '';
    position: absolute;
    top: calc(50% + 50px);
    right: -120px;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(209, 246, 2, 0.7), 
        rgba(209, 246, 2, 1), 
        rgba(209, 246, 2, 0.7)
    );
    transform: translateY(-50%);
    z-index: 0;
    box-shadow: 
        0 0 15px #d1f602,
        0 0 25px #d1f602,
        0 0 40px rgba(209, 246, 2, 0.4);
    opacity: 0.9;
}

/* Left edge of card 2 */
.workflow-step:nth-child(2)::before {
    content: '';
    position: absolute;
    top: calc(50% + 50px);
    left: -120px;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(209, 246, 2, 0.7), 
        rgba(209, 246, 2, 1), 
        rgba(209, 246, 2, 0.7)
    );
    transform: translateY(-50%);
    z-index: 0;
    box-shadow: 
        0 0 15px #d1f602,
        0 0 25px #d1f602,
        0 0 40px rgba(209, 246, 2, 0.4);
    opacity: 0.9;
}

/* Right edge of card 2 */
.workflow-step:nth-child(2)::after {
    content: '';
    position: absolute;
    top: calc(50% + 50px);
    right: -120px;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(209, 246, 2, 0.7), 
        rgba(209, 246, 2, 1), 
        rgba(209, 246, 2, 0.7)
    );
    transform: translateY(-50%);
    z-index: 0;
    box-shadow: 
        0 0 15px #d1f602,
        0 0 25px #d1f602,
        0 0 40px rgba(209, 246, 2, 0.4);
    opacity: 0.9;
}

/* Left edge of card 3 */
.workflow-step:nth-child(3)::before {
    content: '';
    position: absolute;
    top: calc(50% + 50px);
    left: -120px;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(209, 246, 2, 0.7), 
        rgba(209, 246, 2, 1), 
        rgba(209, 246, 2, 0.7)
    );
    transform: translateY(-50%);
    z-index: 0;
    box-shadow: 
        0 0 15px #d1f602,
        0 0 25px #d1f602,
        0 0 40px rgba(209, 246, 2, 0.4);
    opacity: 0.9;
}

/* Add a subtle glow effect */
.workflow-step:nth-child(1)::before,
.workflow-step:nth-child(2) .glow-right,
.workflow-step:nth-child(3)::after {
    display: none;
}

.workflow-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2; /* Higher z-index to place above connector line */
    max-width: 380px;
}

/* Step number styling */
.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(20, 20, 25, 0.4);
    border: 2px solid #d1f602;
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px rgba(209, 246, 2, 0.2);
}

.publish-button {
    background: rgba(30, 30, 35, 0.6);
    border: 2px solid var(--white);
    border-radius: 30px;
    padding: 24px 40px;
    color: var(--white);
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.publish-button:hover {
    background: rgba(209, 246, 2, 0.1);
    border-color: #d1f602;
    transform: translateY(-2px);
    box-shadow: 
        0 0 20px rgba(209, 246, 2, 0.2),
        0 0 40px rgba(209, 246, 2, 0.1);
}

.cursor-icon {
    transition: transform 0.3s ease;
}

.publish-button:hover .cursor-icon {
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .workflow-steps {
        flex-direction: column;
        gap: 80px;
        padding: 40px 20px;
    }

    .workflow-steps::before {
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        height: 100%;
        transform: translateX(-50%);
    }

    .workflow-steps::after {
        top: -50px;
        bottom: -50px;
        left: 50%;
        width: 1px;
        height: auto;
        transform: translateX(-50%);
    }
}

.deliverable-item {
    padding: 14px 20px;
    font-size: 16px;
    background: rgba(20, 20, 25, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--white);
    margin: 0;
}

.deliverable-item:hover {
    background: rgba(30, 30, 35, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.approved-label {
    color: #d1f602;
    font-weight: 500;
    margin-left: auto;
}

/* Progress Overlay Screen Styles */
.progress-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.progress-number {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    background: rgba(20, 20, 25, 0.5);
    color: var(--white);
    font-size: 48px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    box-shadow: 0 0 30px rgba(209, 246, 2, 0.3);
}

.progress-content {
    display: flex;
    flex-direction: column;
    max-width: 480px;
    width: 100%;
    background: rgba(20, 20, 25, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    margin-bottom: 40px;
}

.progress-item {
    padding: 18px 24px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--white);
}

.progress-item:last-child {
    border-bottom: none;
}

.progress-approved {
    color: var(--accent);
    font-weight: 600;
}

.upload-box {
    background: rgba(20, 20, 25, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    width: 420px;
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.deliverables-box {
    background: rgba(20, 20, 25, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px 40px 30px 40px;
    width: 420px;
    height: 320px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    backdrop-filter: blur(10px);
}

.publish-box {
    background: rgba(20, 20, 25, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    width: 420px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.upload-icon {
    font-size: 48px; /* Increased from 36px to 48px */
    color: #d1f602;
    margin-bottom: 20px; /* Slightly more space below the icon */
    display: block;
    text-align: center;
    transition: transform 0.3s ease;
}

.upload-text {
    font-size: 24px; /* Larger text size */
    font-weight: 500;
    color: var(--white);
    text-align: center;
}

.upload-box:hover .upload-icon {
    transform: translateY(-5px); /* Slight animation on hover */
}

.upload-container {
    background: rgba(20, 20, 25, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.upload-container:hover {
    background: rgba(30, 30, 35, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.upload-icon {
    font-size: 36px;
    color: #d1f602;
    margin-bottom: 16px;
    display: block;
    text-align: center;
    transition: transform 0.3s ease;
}

.upload-text {
    font-size: 24px;
    font-weight: 500;
    color: var(--white);
    text-align: center;
}

.upload-box:hover .upload-icon {
    transform: translateY(-5px);
}

/* New Modern FAQ Styling */
.faq-section {
    background-color: #0a0b0e;
    background-image: 
        radial-gradient(circle at 25% 15%, rgba(84, 98, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 75% 85%, rgba(233, 58, 165, 0.05) 0%, transparent 40%);
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='1'/%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

.modern-faq-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.faq-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-card:hover {
    /* Remove ALL hover effects */
    background: rgba(255, 255, 255, 0.03);
    transform: none;
    box-shadow: none;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    cursor: pointer;
    position: relative;
}

.faq-header h3 {
    color: white;
    font-size: 1.75rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.faq-toggle svg {
    width: 24px;
    height: 24px;
    stroke: #d1f602;
    stroke-width: 2;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.faq-toggle .minus-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

.faq-card.active .plus-icon {
    opacity: 0;
    transform: rotate(90deg);
}

.faq-card.active .minus-icon {
    opacity: 1;
    transform: rotate(0);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 1.5rem 0 1.5rem;
}

.faq-card.active .faq-content {
    max-height: 2000px; /* Increased to ensure full expansion */
    padding: 0 1.5rem 1.5rem;
}

.faq-content p {
    padding: 0 1.5rem 1.5rem;
    color: #FFFFFF; /* Pure white color */
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .faq-header {
        padding: 20px;
    }
    
    .faq-header h3 {
        font-size: 16px;
    }
    
    .faq-content p {
        padding: 0 20px 20px;
        font-size: 15px;
    }
}

/* FAQ Section Redesign */
.faq-section {
    padding: 6rem 0;
}

.faq-card-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    position: relative;
}

.faq-left-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.faq-heading {
    font-size: var(--font-size-headline);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.faq-cta-section {
    margin-top: auto;
}

.faq-cta-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.faq-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #d1f602;
    color: #000;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 32px;
    border-radius: 50px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 15px rgba(209, 246, 2, 0.3);
}

.faq-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(209, 246, 2, 0.5);
}

.faq-right-column {
    overflow-y: auto;
    max-height: 70vh;
    padding-right: 1rem;
}

.faq-right-column::-webkit-scrollbar {
    width: 6px;
}

.faq-right-column::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.faq-right-column::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.modern-faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 100%;
}

.faq-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-card:hover {
    /* Remove ALL hover effects */
    background: rgba(255, 255, 255, 0.03);
    transform: none;
    box-shadow: none;
}

.faq-header {
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-header h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--white);
    margin: 0;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
}

.faq-toggle svg {
    width: 24px;
    height: 24px;
    stroke: #d1f602;
    stroke-width: 2;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.faq-toggle .minus-icon {
    position: absolute;
    opacity: 0;
}

.faq-card.active .plus-icon {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-card.active .minus-icon {
    opacity: 1;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-card.active .faq-content {
    max-height: 500px;
}

.faq-content p {
    padding: 0 1.5rem 1.5rem;
    color: #FFFFFF; /* Pure white color */
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .faq-card-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 2rem;
    }
    
    .faq-right-column {
        max-height: 60vh;
    }
    
    .faq-cta-section {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .faq-card-container {
        padding: 2rem 1.5rem;
    }
    
    .faq-header {
        padding: 1rem;
    }
    
    .faq-header h3 {
        font-size: 1rem;
    }
    
    .faq-content p {
        padding: 0 1rem 1rem;
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* Specific rule for FAQ headers with higher specificity instead of !important */
.faq-section .faq-card .faq-header h3 {
    font-size: 1.55rem;
    font-weight: 500;
    color: white;
    margin: 0;
    line-height: 1.3;
}

/* Mobile override with higher specificity for FAQ question font size */
@media (max-width: 768px) {
    .faq-section .faq-card .faq-header h3 {
        font-size: 1rem;
        line-height: 1.2;
    }
}

/* Contact Section Styles */
.contact-section {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(26, 11, 46, 0.5) 0%, rgba(10, 77, 60, 0.2) 70%);
    z-index: 0;
    pointer-events: none;
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.contact-intro p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--white);
}

.contact-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--white);
}

.form-group input, 
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    color: var(--white);
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    background-size: 1.4rem;
    padding-right: 2.8rem !important;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Slightly more visible border */
}

.form-group select:hover {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.3);
}

.form-group select:focus {
    outline: none;
    border-color: var(--accent-green);
    background-color: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 3px rgba(209, 246, 2, 0.1);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 0 0 3px rgba(209, 246, 2, 0.1);
}

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

.contact-form .btn-primary {
    margin-top: 1rem;
    width: auto;
    min-width: 180px;
}

@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-left {
        margin-bottom: 2rem;
    }
    
    .contact-card {
        padding: 3rem;
    }
    
    .contact-info {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .contact-card {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .form-row {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .form-group input, 
    .form-group textarea,
    .form-group select {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
        border-radius: 6px;
    }
    
    .required-fields-note {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .contact-form .btn-primary {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* Remove this duplicate rule:
*/

/* Contact styles */
.contact-section {
    /* ... existing code ... */
}

.contact-card {
    /* ... existing code ... */
}

/* Success message styles */
.success-message {
    background-color: #53f4a3;
    color: #0a1930;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 8px;
    margin-right: 15px;
    animation: fadeIn 0.5s ease;
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 15px;
}

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

/* Error message styles */
.error-message {
    background-color: #ff6b6b;
    color: #fff;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 8px;
    margin-right: 15px;
    animation: fadeIn 0.5s ease;
}

/* New hero content styles */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile responsiveness for hero */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        padding: 0 20px;
    }
    
    .hero {
        padding-top: 120px;
        padding-bottom: 80px;
    }
}

/* Mobile responsiveness improvements */
@media (max-width: 768px) {
    .headline {
        font-size: 2.75rem;
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .headline .line {
        display: block;
        margin-bottom: 0.25rem;
    }
    
    .subheadline {
        font-size: 1.2rem;
        line-height: 1.5;
        max-width: 100%;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .hero {
        padding-top: 120px;
        padding-bottom: 80px;
    }
}

/* Mobile adjustments for headline spacing */
@media (max-width: 768px) {
    .video-section {
        padding-top: 40px;  /* Reduce top padding to bring sections closer together */
    }
    
    .hero {
        padding-bottom: 40px; /* Reduce bottom padding of hero section */
    }
}

/* ... existing code ... */
.service-card h3,
.service-card h3 span {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    color: var(--dark);
    max-width: 100%;
    transition: all 0.3s ease;
}

/* Mobile adjustment for service card titles */
@media (max-width: 768px) {
    .service-card h3,
    .service-card h3 span {
        font-size: 1.3rem;
        line-height: 1.1;
        margin-top: 0.75rem;
        margin-bottom: 0.5rem;
    }
}
/* ... existing code ... */

/* Mobile-specific styles */
@media (max-width: 768px) {
    /* Fix for Long-Form Video Editing card padding on mobile */
    .services-grid > div:first-child, /* Target first div in services grid specifically */
    .service-card:first-child,
    .service-card:first-of-type,
    .services-grid .service-card:nth-child(1) {
        padding-top: 30px !important; /* Reduced to align with card next to it */
        padding-bottom: 20px !important; /* Added bottom padding to prevent text cutoff */
        margin-top: 0 !important;
    }
}
/* ... existing code ... */

/* Critical Mobile Navigation Fix - Force visibility */
@media (max-width: 768px) {
    /* Make the navbar always transparent in mobile */
    .navbar {
        background-color: transparent !important; 
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
    }
    
    .navbar.scrolled {
        background-color: transparent !important;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    /* Rest of the existing code... */
    .nav-links {
        background-color: var(--dark-purple) !important; /* Restore original color */
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        filter: none !important;
        opacity: 1 !important;
        box-shadow: none !important;
        z-index: 1001 !important; /* Higher than menu overlay */
    }
    
    .nav-links.active {
        background-color: var(--dark-purple) !important;
    }
    
    .nav-links a {
        color: white !important;
        opacity: 1 !important;
    }
    
    .nav-links:before, 
    .nav-links:after {
        display: none !important;
    }
    
    /* Remove the overlay completely */
    .menu-overlay {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        background: none !important;
        z-index: -1 !important;
    }
}

/* Desktop-specific fixes - hide hamburger and restore CTA */
@media (min-width: 769px) {
    /* Center the navigation links */
    .navbar .container {
        justify-content: center !important;
        gap: 40px !important;
    }
    
    .navbar .logo {
        margin-right: auto !important;
    }
    
    .nav-links {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    /* Hide hamburger menu on desktop */
    .menu-toggle {
        display: none !important;
    }
    
    /* Make Let's Chat match other nav items exactly */
    .nav-links a:last-child {
        display: inline-block !important;
        padding: 5px 0 !important;
        background-color: transparent !important;
        color: var(--white) !important;
        border-radius: 0 !important;
        font-weight: 500 !important;
        transition: all 0.3s ease !important;
        border: none !important;
    }
    
    .nav-links a:last-child:hover {
        background-color: transparent !important;
        color: var(--color-primary) !important; /* Neon green on hover */
        transform: translateY(-2px) !important;
        box-shadow: none !important;
    }
    
    /* Make sure it gets the same underline as other nav items */
    .nav-links a:last-child::after {
        content: '' !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 0 !important;
        height: 2px !important;
        background-color: var(--color-primary) !important;
        transition: all 0.3s ease !important;
        border-radius: 10px !important;
    }
    
    .nav-links a:last-child:hover::after {
        width: 100% !important;
    }
}

/* Mobile fix for headline text wrapping - Prevents text cut-off */
@media (max-width: 480px) {
    .headline .line {
        white-space: normal !important; /* Allow text to wrap */
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: none !important; /* Disable hyphenation to prevent word breaks */
        max-width: 100% !important; /* Use full width */
        font-size: 2.25rem !important; /* Slightly smaller text */
        line-height: 1.2 !important; /* Better line height */
        margin-bottom: 0.3rem !important;
        letter-spacing: -0.02em !important; /* Slightly tighter letter spacing */
    }
    
    .headline {
        padding: 0 5px !important; /* Reduced padding */
        margin-bottom: 15px !important;
        max-width: 100% !important;
    }
    
    .headline .highlight {
        white-space: normal !important; /* Allow highlights to wrap too */
        display: inline !important; /* Keep highlight as inline */
    }
    
    /* Add a bit more space to the container */
    .hero .container {
        padding: 0 10px !important;
        max-width: 100% !important;
    }
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: inline-block;
    position: relative;
    padding: 8px 16px;
    cursor: pointer;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.6em;
    margin-left: 6px;
    vertical-align: middle;
    display: inline-block;
    transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(10, 25, 48, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 16px;
    color: var(--white);
    transition: all 0.2s ease;
    text-align: left;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
    padding-left: 20px;
}

/* Mobile dropdown adjustments */
@media (max-width: 768px) {
    .dropdown {
        display: block;
        width: 100%;
    }
    
    .dropdown-toggle {
        display: block;
        width: 100%;
        text-align: left;
        padding: 15px 0;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-item {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
}

.mobile-break { display: none; }
@media (max-width: 768px) {
  .mobile-break { display: inline; }
}

@media (max-width: 768px) {
  .headline .line:nth-child(1),
  .headline .line:nth-child(2) {
    display: inline-block;
  }
  .headline .line:nth-child(2)::before {
    content: none;
  }
}

/* Mobile-only line break */
.mobile-only-br {
  display: none;
}

@media (max-width: 768px) {
  .mobile-only-br {
    display: block;
  }
}

/* Replace with new mobile headline styling */
@media (max-width: 768px) {
  /* Reset previous mobile styles */
  .headline .line:nth-child(1) {
    display: block;
  }
  .headline .line:nth-child(2)::before {
    content: none;
  }
  
  /* New mobile styling */
  .headline .line:nth-child(1) {
    display: block;
    content: "Turn your";
    margin-bottom: 0.5rem;
  }
  .headline .line:nth-child(1)::after {
    content: "podcast into";
    display: block;
    margin: 0.5rem 0;
  }
  .headline .line:nth-child(2) {
    display: block;
  }
}

/* Desktop and Mobile Headline Styling */
.mobile-line {
  display: none !important;
}

.desktop-line {
  display: block !important;
}

@media (max-width: 768px) {
  .mobile-line {
    display: block !important;
    margin-bottom: 0.5rem;
  }
  
  .desktop-line {
    display: none !important;
  }
}

/* Cleanup all the previous mobile headline classes */
.mobile-break, 
.mobile-line,
.desktop-line,
.mobile-only-br { 
  display: none; 
}

/* Simple desktop/mobile visibility classes */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  
  .mobile-only {
    display: block;
  }
}

/* Desktop and mobile headline styling */
.headline-desktop {
  display: block;
}

/* MOBILE: This is the only part that should change on mobile */
@media (max-width: 768px) {
  /* Create three lines for mobile by removing the original two lines */
  .headline .line.headline-desktop {
    display: none;
  }
  
  /* Add the three lines using pseudo-elements */
  .headline::before {
    content: "Turn your";
    display: block;
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    white-space: nowrap;
  }
  
  .headline::after {
    content: "podcast into";
    display: block;
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    white-space: nowrap;
  }
  
  /* Add the final line with content machine */
  .headline::after {
    content: "podcast into\a a content machine";
    white-space: pre;
    color: #ffffff;
  }
  
  /* Style the "content machine" part */
  .headline::after span.highlight {
    color: #d1f602;
  }
}

/* Mobile headline styling */
@media (max-width: 768px) {
  .headline .line.headline-desktop:first-child {
    content: "Turn your";
    white-space: normal;
    display: block;
  }
  
  .headline .line.headline-desktop:first-child::after {
    content: '';
    display: block;
    margin-bottom: 5px;
  }
  
  .headline .line.headline-desktop:first-child::before {
    content: none;
  }
  
  /* Hide "podcast into" from first line */
  .headline .line.headline-desktop:first-child {
    visibility: hidden;
    position: relative;
    height: 4rem;
  }
  
  /* Add "Turn your" text */
  .headline .line.headline-desktop:first-child::after {
    content: "Turn your";
    visibility: visible;
    position: absolute;
    top: 0;
    left: 0;
  }
}

/* Clean headline display controls */
.mobile-headline {
  display: none;
}

.desktop-headline {
  display: block;
}

/* Mobile-only controls */
@media (max-width: 768px) {
  .mobile-headline {
    display: block;
  }
  
  .desktop-headline {
    display: none;
  }
}

/* Simple solution for headline line breaks */
.break {
  display: none;
}

/* Show line breaks only on mobile */
@media (max-width: 768px) {
  .mobile-break {
    display: block;
    height: 0.7em;
    }
}

/* === Custom <select> arrow === */
.contact-section .form-group select {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;

    /* existing colours / border */
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);

    /* arrow itself */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1.4rem;

    /* leave space for the icon */
    padding-right: 2.8rem;
    cursor: pointer;
}

/* === force white arrow on selects inside the contact section === */
.contact-section .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") !important;
}
