/* Creative Hero Section */
.creative-hero {
    background: linear-gradient(135deg, #19365f 0%, #142a4a 50%, #fbc213 100%);
    color: white;
    min-height: 80vh; /* Account for fixed navbar height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.creative-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.creative-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.creative-hero h1 {
    font-size: var(--font-size-8xl); /* 96px - Extra large display headings */
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.creative-hero h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #fbc213;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.creative-hero h3 {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.95;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Creative Content Section */
.creative-content-section {
    padding: 6rem 0;
    position: relative;
    background: #ffffff;
}

.creative-content-section.alt-bg {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.creative-content-section.dark-bg {
    background: #19365f;
    color: white;
}

.creative-content-section.dark-bg .creative-text-block h2 {
    color: white;
}

.creative-content-section.dark-bg .creative-text-block p {
    color: rgba(255, 255, 255, 0.9);
}

.creative-content-grid {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    gap: 3rem;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 4vw;
    align-items: start;
}

/* Creative Text Block Styles */
.creative-text-block {
    grid-column: span 12;
}

.creative-text-block h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #19365f;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.creative-text-block h2 {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #19365f;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.creative-text-block h3 {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: #ffffff;
}

.creative-text-block p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* Dark background text block styles */
.creative-content-section.dark-bg .creative-text-block h2 {
    color: white;
}

.creative-content-section.dark-bg .creative-text-block p {
    color: rgba(255, 255, 255, 0.9);
}

/* Creative Services Section - Slider Layout */
.creative-overview-section {
    padding: 4rem 0;
    background: #000000;
    width: 100%;
    position: relative;
}

.creative-section-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
    padding: 0 2rem;
}

.creative-slider-wrapper {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

.creative-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 0 2rem;
    cursor: grab;
    transition: all 0.3s ease;
    width: 100%;
    height: auto;
    align-items: flex-start;
    /* Allow natural scrolling behavior */
    touch-action: manipulation;
    -webkit-overflow-scrolling: touch;
}

.creative-slider:active {
    cursor: grabbing;
}

.creative-card {
    flex: 0 0 calc(33.333% - 1rem);
    width: calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
    height: auto;
    scroll-snap-align: start;
    background: #000000;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.creative-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.creative-image {
    width: 100%;
    height: 600px;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.creative-image img {
    width: 100%;
    height: 600px;
    max-width: 100%;
    /* Fixed dimensions for images */
    object-fit: cover; /* Cover to fill container completely */
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
    box-sizing: border-box;
}

.creative-image video {
    width: 100%;
    height: 600px;
    max-width: 100%;
    /* Fixed dimensions for videos */
    object-fit: cover; /* Cover to fill container completely */
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
    box-sizing: border-box;
}

/* Vimeo iframe container styling */
.creative-image > div {
    width: 100%;
    height: 600px;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    background: #000;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.creative-image iframe {
    width: 100%;
    height: 100%;
    border: none;
    box-sizing: border-box;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
    pointer-events: none; /* Disable all interactions */
    background: #000 !important;
}

/* Hide any Vimeo loading/play button overlays */
.creative-image > div::before,
.creative-image > div::after {
    display: none !important;
}

/* Ensure no Vimeo UI shows through */
.creative-image > div > iframe {
    opacity: 1 !important;
    filter: none !important;
}


/* Enhanced video styling for smooth continuous playback */
.creative-image video {
    pointer-events: none; /* Prevent user interaction */
    background: #000; /* Black background while loading */
}

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

.creative-image video::-webkit-media-controls-panel {
    display: none !important;
}

.creative-image video::-webkit-media-controls-play-button {
    display: none !important;
}

.creative-image video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

.creative-image video::-webkit-media-controls-overlay-play-button {
    display: none !important;
}

.creative-image video::-webkit-media-controls-timeline {
    display: none !important;
}

.creative-image video::-webkit-media-controls-current-time-display {
    display: none !important;
}

.creative-image video::-webkit-media-controls-time-remaining-display {
    display: none !important;
}

.creative-image video::-webkit-media-controls-mute-button {
    display: none !important;
}

.creative-image video::-webkit-media-controls-volume-slider {
    display: none !important;
}

.creative-image video::-webkit-media-controls-fullscreen-button {
    display: none !important;
}

.creative-card:hover .creative-image img,
.creative-card:hover .creative-image video,
.creative-card:hover .creative-image iframe,
.creative-card:hover .creative-image > div {
    transform: scale(1.05);
}

/* Add overlay for better text readability */
.creative-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0.1) 50%, 
        rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.creative-card:hover .creative-image::after {
    opacity: 1;
}

/* Add subtle border and improved shadows */
.creative-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(251, 194, 19, 0.2), rgba(255, 255, 255, 0.1));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.creative-card:hover::before {
    opacity: 1;
}

.creative-content {
    padding: 2rem;
    color: #ffffff;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #000000;
    flex: 1;
    box-sizing: border-box;
    position: relative;
}

.creative-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #fbc213 50%, transparent 100%);
    opacity: 0.3;
}

.creative-content h3 {
    color: #ffffff;
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.creative-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--font-size-base);
    line-height: 1.6;
    margin: 0;
    text-align: left;
    flex: 1;
}

/* Navigation Arrows */
.creative-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(251, 194, 19, 0.3);
}

.creative-nav:hover {
    background: #e6a800;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 25px rgba(251, 194, 19, 0.4);
}

.creative-nav i {
    font-size: 1.2rem;
    color: #000000;
    font-weight: 600;
}

.creative-prev {
    left: 30px;
}

.creative-next {
    right: 30px;
}

/* Hide scrollbar but keep functionality */
.creative-slider::-webkit-scrollbar {
    display: none;
}

.creative-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Responsive Design for Creative Hero */
@media (max-width: 1024px) {
    .creative-hero h1 {
        font-size: clamp(2rem, 8vw, 4rem);
    }
}

@media (max-width: 768px) {
    .creative-hero {
        min-height: 80vh; /* Account for navbar on mobile */
    }
    
    .creative-hero h1 {
        font-size: var(--font-size-5xl); /* 48px - Hero headings */
    }
}

@media (max-width: 480px) {
    .creative-hero {
        min-height: 80vh; /* Account for navbar on small mobile */
    }
    
    .creative-hero h1 {
        font-size: clamp(2rem, 8vw, 4rem);
    }
}

/* Responsive Design for Creative Slider */
@media (max-width: 1024px) {
    .creative-card {
        flex: 0 0 calc(33.333% - 1rem);
        width: calc(33.333% - 1rem);
        max-width: calc(33.333% - 1rem);
        margin: 0 auto;
    }
    
    .creative-slider {
        gap: 1.5rem;
        padding: 0 1.5rem;
        justify-content: center;
    }
    
    .creative-image {
        height: 450px;
    }
    
    .creative-image img {
        height: 450px;
        object-fit: cover; /* Cover for tablet and below */
    }
    
    .creative-image video {
        height: 450px;
    }
    
    .creative-image > div {
        height: 450px;
    }
    
    .creative-content {
        padding: 1.5rem;
        min-height: 160px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .creative-content h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .creative-content p {
        font-size: 1rem;
        line-height: 1.5;
        flex: 1;
        overflow: visible;
        text-overflow: unset;
        white-space: normal;
    }
    
    .creative-text-block h1 {
        font-size: 1.5rem;
    }
    
    .creative-text-block h2 {
        font-size: var(--font-size-2xl); /* 24px - Medium headings */
    }
    
    .creative-text-block p {
        font-size: 1.1rem;
    }
    
    .creative-content-section {
        padding: 4rem 0;
    }
}

@media (max-width: 768px) {
    .creative-card {
        flex: 0 0 calc(100% - 2rem);
        width: calc(100% - 2rem);
        max-width: calc(100% - 2rem);
        margin: 0 1rem;
        scroll-snap-align: center;
    }
    
    .creative-slider {
        gap: 2rem;
        padding: 0 1rem;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
        scroll-padding: 1rem;
    }
    
    .creative-image {
        height: 350px;
    }
    
    .creative-image img {
        height: 350px;
        object-fit: cover; /* Cover for mobile */
    }
    
    .creative-image video {
        height: 350px;
    }
    
    .creative-image > div {
        height: 350px;
    }
    
    .creative-content {
        padding: 1.2rem;
        min-height: 180px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .creative-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .creative-content p {
        font-size: 0.95rem;
        line-height: 1.5;
        flex: 1;
        overflow: visible;
        text-overflow: unset;
        white-space: normal;
    }
    
    .creative-nav {
        width: 50px;
        height: 50px;
        background: var(--primary-color);
        box-shadow: 0 4px 15px rgba(251, 194, 19, 0.3);
    }
    
    .creative-nav:hover {
        background: #e6a800;
        box-shadow: 0 6px 20px rgba(251, 194, 19, 0.4);
    }
    
    .creative-prev {
        left: 15px;
    }
    
    .creative-next {
        right: 15px;
    }
    
    .creative-text-block h1 {
        font-size: var(--font-size-2xl); /* 24px - Medium headings */
    }
    
    .creative-text-block h2 {
        font-size: 1.5rem;
    }
    
    .creative-text-block p {
        font-size: var(--font-size-base); /* 16px - Base text */
    }
    
    .creative-content-section {
        padding: 3rem 0;
    }
    
    .creative-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 2rem;
    }
}

@media (max-width: 480px) {
    .creative-card {
        flex: 0 0 calc(100% - 1rem);
        width: calc(100% - 1rem);
        max-width: calc(100% - 1rem);
        margin: 0 0.5rem;
        scroll-snap-align: center;
    }
    
    .creative-slider {
        gap: 1rem;
        padding: 0 0.5rem;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
        scroll-padding: 0.5rem;
    }
    
    .creative-image {
        height: 450px;
    }
    
    .creative-image img {
        height: 450px;
        object-fit: cover; /* Cover for small mobile */
    }
    
    .creative-image video {
        height: 450px;
    }
    
    .creative-image > div {
        height: 450px;
    }
    
    .creative-content {
        padding: 1.2rem;
        min-height: 200px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .creative-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .creative-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        flex: 1;
        overflow: visible;
        text-overflow: unset;
        white-space: normal;
    }
    
    .creative-nav {
        width: 40px;
        height: 40px;
        background: var(--primary-color);
        box-shadow: 0 3px 12px rgba(251, 194, 19, 0.3);
    }
    
    .creative-nav:hover {
        background: #e6a800;
        box-shadow: 0 5px 18px rgba(251, 194, 19, 0.4);
    }
    
    .creative-nav i {
        font-size: 1rem;
        color: #000000;
        font-weight: 600;
    }
    
    .creative-prev {
        left: 10px;
    }
    
    .creative-next {
        right: 10px;
    }
    
    .creative-text-block h1 {
        font-size: 1.8rem;
    }
    
    .creative-text-block h2 {
        font-size: 1.4rem;
    }
    
    .creative-text-block p {
        font-size: 0.95rem;
    }
    
    .creative-content-section {
        padding: 2rem 0;
    }
    
    .creative-content-grid {
        padding: 0 1rem;
    }
}

/* Extra small mobile devices (320px and below) */
@media (max-width: 320px) {
    .creative-card {
        flex: 0 0 calc(100% - 0.5rem);
        width: calc(100% - 0.5rem);
        max-width: calc(100% - 0.5rem);
        margin: 0 0.25rem;
        scroll-snap-align: center;
    }
    
    .creative-slider {
        gap: 0.5rem;
        padding: 0 0.25rem;
        justify-content: flex-start;
        scroll-snap-type: x mandatory;
        scroll-padding: 0.25rem;
    }
    
    .creative-image {
        height: 400px;
    }
    
    .creative-image img,
    .creative-image video {
        height: 400px;
    }
    
    .creative-image > div {
        height: 400px;
    }
    
    .creative-nav {
        width: 35px;
        height: 35px;
    }
    
    .creative-nav i {
        font-size: 0.9rem;
    }
    
    .creative-prev {
        left: 5px;
    }
    
    .creative-next {
        right: 5px;
    }
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(172deg, #19365f 0%, #142a4a 50%, #fbc213 100%);
    color: white;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}



.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.cta-text h2 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.cta-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1rem;
}

.btn-outline-white:hover {
    background: white;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.cta-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
}

.cta-logo img {
    max-width: 300px;
    height: auto;
    opacity: 0.9;
    filter: brightness(1.1);
}

/* CTA Section Responsive */
@media (max-width: 768px) {
    .cta-section {
        padding: 4rem 0;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .cta-text h2 {
        font-size: 2.2rem;
    }
    
    .cta-text p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .cta-logo {
        height: 250px;
    }
    
    .cta-logo img {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 2rem 0;
    }
    
    .cta-content {
        padding: 0 1rem;
    }
    
    .cta-text h2 {
        font-size: 1.8rem;
    }
    
    .cta-text p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-outline-white {
        width: 200px;
        text-align: center;
    }
    
    .cta-logo {
        height: 200px;
    }
    
    .cta-logo img {
        max-width: 200px;
    }
}


/* ========================================
   FOOTER SIZE REDUCTION
   ======================================== */

/* Footer Logo Size Reduction */
.footer-brand .logo {
    height: 100px !important;
    width: 140px !important;
}

/* Footer Paragraph Spacing Reduction */
.footer-brand p {
    margin-bottom: 1rem !important;
}
