/**
 * EverAfter Modern - Fullscreen Video Homepage
 */

/* Screen Reader Only - For SEO H2 Headings */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Removed page loader - using simple fade-in instead */

/* Prevent flashing - simple fade-in */
html {
    overflow-x: hidden;
}

body {
    opacity: 0;
    transition: opacity 0.2s ease;
}

body.loaded {
    opacity: 1;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Font - IBM Plex Sans Condensed (matching production) */
body,
html,
* {
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif !important;
}

/* All titles and headings - regular (not italic) */
h1, h2, h3, h4, h5, h6,
.hero-title, .hero-subtitle,
.post-title, .blog-card-title,
.page-title, .section-title,
.testimonials-hero .hero-title,
.testimonials-hero .hero-subtitle,
.about-me-hero .hero-title,
.about-me-hero .hero-subtitle,
.blog-hero .hero-title,
.blog-hero .hero-subtitle,
.contact-hero .hero-title,
.contact-hero .hero-subtitle {
    font-style: normal !important;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif !important;
}

:root {
    --primary-color: #d4af37;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modern Header - Better integration with More Films page */
body .modern-header,
body .site-header.modern-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    transition: var(--transition) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3) !important;
}

body .modern-header:hover,
body .site-header.modern-header:hover {
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom-color: rgba(196, 143, 86, 0.2) !important;
}

/* Better header on More Films page */
body.page-template-page-more-films .modern-header,
body.page-template-page-more-films .modern-header {
    background: rgba(0, 0, 0, 0.85) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.page-template-page-more-films .modern-header:hover,
body.page-template-page-more-films .modern-header:hover {
    background: rgba(0, 0, 0, 0.9) !important;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent !important;
}

.site-branding {
    flex-shrink: 0;
}

/* Logo matching production - EverAf + ter */
.l-h {
    text-decoration: none;
    color: #fff;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    height: 80px;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    white-space: nowrap !important; /* Force single line */
    overflow: visible;
}

.l-h .l-b {
    font-size: 30px;
    font-weight: 600; /* Bold */
    letter-spacing: 0;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin: 0;
    padding: 0;
    display: inline-block;
    vertical-align: middle;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.l-h .l-tagline {
    font-size: 24px;
    font-weight: 400; /* Lighter weight for tagline */
    letter-spacing: 0.02em;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin: 0;
    margin-left: 0.3em; /* Space before tagline */
    padding: 0;
    display: inline-block;
    vertical-align: middle;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.l-h:hover .l-b,
.l-h:hover .l-tagline {
    opacity: 0.8;
}

.site-logo {
    text-decoration: none;
    color: #fff;
    transition: var(--transition);
}

.site-logo img {
    max-height: 50px;
    width: auto;
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 13px; /* Slightly smaller */
    font-weight: 400;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    display: table-cell;
    vertical-align: middle;
    line-height: 1.2em;
    text-align: center;
    max-width: 155px;
    height: 80px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.nav-menu a span {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    padding: 4px 10px;
}

.nav-menu a span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0;
    background: #c48f56; /* Solid gold like production */
    z-index: -1;
    transition: var(--transition);
    backdrop-filter: none; /* No blur - solid background */
}

/* Active menu item - border highlight (exclude home page) */
/* Only show border on non-home pages */
body:not(.home) .nav-menu li.current-menu-item > a,
body:not(.home) .nav-menu li.current_page_item > a {
    border: 1px solid rgba(196, 143, 86, 0.6);
    border-radius: 4px;
    background: transparent !important;
    color: #fff !important;
}

body:not(.home) .nav-menu li.current-menu-item > a span::before,
body:not(.home) .nav-menu li.current_page_item > a span::before {
    width: 0; /* Hide underline when active */
    background: transparent;
}

/* Home page - no border highlight */
body.home .nav-menu li.current-menu-item > a,
body.home .nav-menu li.current_page_item > a {
    border: none !important;
    background: transparent !important;
}

.nav-menu a:hover span::before {
    width: 100%;
}

.nav-menu a:hover {
    color: #fff;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
    z-index: 1001 !important; /* Above header */
    position: relative;
    pointer-events: auto !important; /* Ensure clickable */
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

/* Override parent theme */
.everafter-modern-homepage {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: transparent !important;
    margin-top: 0 !important;
}

body.home .everafter-modern-homepage {
    margin: 0;
    padding: 0;
}

/* Fullscreen Video Section - Matching production exactly */
.fullscreen-video-hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
    margin: 0;
    padding: 0;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.fullscreen-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    border: none !important;
    outline: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
}

.video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
}

.video-content {
    text-align: center;
    color: #ffffff;
    padding: 20px;
    max-width: 800px;
}

.video-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
    line-height: 1;
}

.video-title-line1,
.video-title-line2 {
    display: block;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.video-title-line2 {
    margin-top: 0.2em; /* Match gap to spacing below */
}

.video-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 2px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

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

/* Hide everything else */
.everafter-modern-homepage > *:not(.fullscreen-video-hero) {
    display: none;
}

/* Ensure full coverage - ONLY for homepage */
body.home html,
body.home body,
html.home,
body.home {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100%;
    background: transparent !important;
    border: none !important;
    outline: none !important;
}

/* Remove any default video borders/outlines */
video {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

body.home {
    overflow: hidden;
    background: transparent !important;
}

body.home #page,
body.home #page.site {
    background: transparent !important;
}

/* Hide WordPress admin bar on frontend */
#wpadminbar {
    display: none !important;
}

/* Ensure video is behind everything except header */
.modern-header {
    z-index: 1000;
}

/* Override any parent theme backgrounds */
#page.site,
.site {
    background: transparent !important;
}

/* Override parent theme header styles - CRITICAL: Remove white background */
body .site-header,
body #masthead,
body .site-header.modern-header,
body #masthead.modern-header,
body .site-header.light,
body .site-header.dark,
body .site-header.fixed,
body .site-header.light.fixed,
body .navigation-opened .site-header.light {
    background: rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
}

/* CRITICAL: Override parent theme's :before pseudo-element that creates white background */
body .site-header:before,
body .site-header.modern-header:before,
body #masthead:before,
body .site-header.light:before,
body .site-header.dark:before,
body .site-header.fixed:before,
body .navigation-opened .site-header:before,
body .navigation-opened .site-header.light:before,
body .navigation-opened .site-header.dark:before {
    background: rgba(0, 0, 0, 0.3) !important;
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
}

/* Ensure header-space-no doesn't add white background */
body .header-space-no .site-header,
body .header-space-no .site-header.light,
body .header-space-no .site-header.dark,
body .header-space-no .site-header:before {
    background: rgba(0, 0, 0, 0.3) !important;
    opacity: 1 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 15px 20px;
    }
    
    .modern-header {
        background: rgba(0, 0, 0, 0.15) !important;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.7) !important; /* More transparent */
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        transform: translateX(-100%);
        transition: var(--transition);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
        pointer-events: auto !important; /* Ensure clickable */
    }
    
    .nav-menu a {
        font-size: 16px; /* Bigger text on mobile */
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu a {
        height: auto;
        display: block;
        padding: 12px 0;
        text-align: left;
        max-width: 100%;
        pointer-events: auto !important; /* Ensure clickable */
    }
    
    .menu-toggle {
        display: flex !important;
        z-index: 1001 !important;
        position: relative;
        pointer-events: auto !important; /* Ensure clickable */
        cursor: pointer !important;
    }
    
    .menu-toggle span {
        background: #fff;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
        pointer-events: none; /* Allow clicks to pass through to button */
    }
    
    .video-title {
        font-size: 2rem;
    }
    
    .video-title-line1,
    .video-title-line2 {
        display: block;
    }
    
    .video-subtitle {
        font-size: 1rem;
    }
    
    /* Ensure logo stays on one line on mobile */
    .l-h {
        font-size: 24px;
        white-space: nowrap !important;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 12px 15px;
    }
    
    .site-logo .l-b {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        top: 60px;
        padding: 15px;
    }
}

/* ============================================
   MORE FILMS PAGE STYLES
   ============================================ */

.more-films-page {
    min-height: 100vh;
    background: #000000;
    padding-top: 80px; /* Account for fixed header */
    overflow-x: hidden;
    overflow-y: visible !important;
    position: relative;
    height: auto !important;
    padding-bottom: 0;
}

/* Background Video Container */
.background-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    opacity: 0.28;
    filter: blur(1.5px);
    transition: opacity 0.5s ease;
}

.background-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.55) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Force scrolling on More Films page - override all parent styles */
body.page-template-page-more-films,
body.page-template-page-more-films html,
body.page-template-page-more-films body,
html.page-template-page-more-films,
body.page-template-page-more-films #page,
body.page-template-page-more-films .site,
body.page-template-page-more-films main {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    max-height: none !important;
    position: relative !important;
}

/* Also target by body class if it exists */
body.more-films-page,
body.more-films-page html,
body.more-films-page body,
html.more-films-page {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    max-height: none !important;
    position: relative !important;
}

/* Hero Section - Better integration with menu */
.more-films-hero {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(10, 10, 10, 0.5) 50%, rgba(0, 0, 0, 0.6) 100%);
    padding: 80px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.more-films-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(196, 143, 86, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.more-films-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(196, 143, 86, 0.3) 50%, transparent 100%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    display: none; /* Hide title */
}

.hero-subtitle {
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.02em;
    text-transform: none; /* Remove all caps */
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 0.8s ease-out;
    line-height: 1.5;
    font-style: normal;
}

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

/* Video Grid Section - Improved background */
.video-grid-section {
    padding: 120px 20px 100px;
    background: transparent;
    min-height: auto;
    position: relative;
    overflow: visible;
    height: auto;
    z-index: 1;
}

/* Reduce side padding on large screens to use more space */
@media (min-width: 1400px) {
    .video-grid-section {
        padding: 120px 40px 100px;
    }
}

@media (min-width: 1920px) {
    .video-grid-section {
        padding: 120px 60px 100px;
    }
}

.video-grid-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(196, 143, 86, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(196, 143, 86, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.video-grid-section .container {
    max-width: 3000px; /* Base size */
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Portfolio Sorting and Filtering Controls */
.portfolio-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    padding: 25px 30px;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(196, 143, 86, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.portfolio-sort,
.portfolio-filter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-label,
.filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.sort-select,
.filter-select {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(196, 143, 86, 0.3);
    border-radius: 8px;
    padding: 10px 35px 10px 15px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23c48f56' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

.sort-select:hover,
.filter-select:hover {
    border-color: rgba(196, 143, 86, 0.5);
    background-color: rgba(26, 26, 26, 0.95);
}

.sort-select:focus,
.filter-select:focus {
    outline: none;
    border-color: rgba(196, 143, 86, 0.6);
    box-shadow: 0 0 0 3px rgba(196, 143, 86, 0.1);
}

.sort-select option,
.filter-select option {
    background: #1a1a1a;
    color: #ffffff;
    padding: 10px;
}

.portfolio-reset {
    margin-left: auto;
}

.reset-button {
    background: rgba(196, 143, 86, 0.15);
    border: 1px solid rgba(196, 143, 86, 0.3);
    border-radius: 8px;
    padding: 10px 20px;
    color: #c48f56;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.reset-button:hover {
    background: rgba(196, 143, 86, 0.25);
    border-color: rgba(196, 143, 86, 0.5);
    transform: translateY(-1px);
}

.reset-button:active {
    transform: translateY(0);
}

/* Results count */
.portfolio-results {
    margin-top: 20px;
    padding: 15px 20px;
    background: rgba(196, 143, 86, 0.1);
    border-left: 3px solid rgba(196, 143, 86, 0.5);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    display: none;
}

.portfolio-results.show {
    display: block;
}

/* Mobile adjustments for controls */
@media (max-width: 768px) {
    .portfolio-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 20px;
    }
    
    .portfolio-sort,
    .portfolio-filter {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .sort-select,
    .filter-select {
        width: 100%;
        min-width: auto;
    }
    
    .portfolio-reset {
        margin-left: 0;
        width: 100%;
    }
    
    .reset-button {
        width: 100%;
    }
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px; /* Base gap */
    padding: 0;
    margin-bottom: 0; /* Remove bottom margin */
}

/* Desktop optimizations - use more screen space */
@media (min-width: 1400px) {
    .video-grid-section .container {
        max-width: 3600px; /* Much larger for big screens */
        padding: 0 40px; /* More padding on very large screens */
    }
    
    .video-grid {
        gap: 70px; /* Slightly larger gap for better spacing */
    }
}

@media (min-width: 1920px) {
    .video-grid-section .container {
        max-width: 4200px; /* Even larger for 1920px+ screens */
        padding: 0 60px;
    }
    
    .video-grid {
        gap: 80px; /* Larger gap for very large screens */
    }
}

@media (min-width: 2560px) {
    .video-grid-section .container {
        max-width: 5000px; /* Maximum size for 4K/ultrawide screens */
        padding: 0 80px;
    }
    
    .video-grid {
        gap: 100px; /* Generous gap for ultra-wide screens */
    }
}

.video-grid-item {
    position: relative;
    margin: 0;
    padding: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
    transform: scale(1);
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16 / 9;
    background: rgba(10, 10, 10, 0.7);
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2;
    /* Tiles are now 25% larger due to increased container max-width */
}

.video-grid-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 50px rgba(196, 143, 86, 0.4);
    border-color: rgba(196, 143, 86, 0.3);
    z-index: 10;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.video-grid-item:hover .video-thumbnail {
    transform: scale(1.03);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    opacity: 1;
}

.video-grid-item:hover .video-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.play-button {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0.95;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    z-index: 3;
}

.play-button svg circle {
    fill: rgba(255, 255, 255, 0.15) !important;
    stroke: rgba(255, 255, 255, 0.4);
    stroke-width: 2;
}

.play-button svg path {
    fill: #fff !important;
}

.video-grid-item:hover .play-button {
    transform: scale(1.1);
    opacity: 1;
}

.video-grid-item:hover .play-button svg circle {
    fill: rgba(255, 255, 255, 0.25) !important;
    stroke: rgba(255, 255, 255, 0.6);
}

/* Title overlay - show on hover */
.video-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.95) 100%);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.video-grid-item:hover .video-title-overlay {
    transform: translateY(0);
}

.video-title-overlay h3 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 400;
    margin: 0;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    text-transform: none; /* Remove all caps */
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
    font-style: normal;
}

.play-button svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.video-duration {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.no-videos {
    text-align: center;
    padding: 80px 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.125rem;
}

/* Responsive - More Films Page */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .more-films-page {
        padding-top: 70px;
        padding-bottom: 80px;
    }
    
    .more-films-hero {
        padding: 40px 20px 30px;
    }
    
    .hero-title {
        display: none;
    }
    
    .hero-subtitle {
        font-size: 1.6rem;
    }
    
    .play-button {
        width: 55px;
        height: 55px;
    }
    
    .video-title-overlay h3 {
        font-size: 0.85rem;
    }
    
    .video-grid-section {
        padding: 20px 15px 40px;
        min-height: auto;
    }
    
    .video-grid-section .container {
        max-width: 100%;
        padding: 0 10px;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        margin-bottom: 0;
    }
    
    .video-duration {
        top: 15px;
        left: 15px;
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .video-title-overlay h3 {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .more-films-hero {
        padding: 50px 15px 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 0;
    }
    
    .video-grid-section {
        padding: 40px 15px 40px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .video-title-overlay {
        padding: 15px;
    }
    
    .video-title-overlay h3 {
        font-size: 0.85rem;
    }
}


/* Video grid item hover effects */
.video-grid-item:focus {
    outline: 3px solid rgba(196, 143, 86, 0.6);
    outline-offset: 4px;
}

/* ============================================
   FULLSCREEN VIDEO MODAL
   ============================================ */

.ea-video-modal-fullscreen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: auto; /* Enable interactions */
    -webkit-overflow-scrolling: touch;
}

.ea-video-modal-fullscreen.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.ea-video-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none; /* Allow clicks to pass through to video */
    z-index: 0;
}

.ea-video-modal-container {
    position: relative;
    width: 95%;
    height: 90%;
    max-width: 1600px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none; /* Allow clicks to pass through to iframe */
}

.ea-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    pointer-events: auto !important; /* Enable interactions with video */
    z-index: 10000 !important;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

#ea-video-iframe-fullscreen {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: auto !important; /* Ensure iframe is clickable */
    touch-action: manipulation !important;
    -webkit-touch-callout: none;
    position: relative;
    z-index: 10000 !important;
    display: block;
}

/* Hide YouTube "More videos" strip */
#ea-video-iframe-fullscreen[src*="youtube.com"] {
    position: relative;
}

/* Try to hide YouTube's "More videos" overlay using CSS (limited effectiveness) */
.ea-video-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
    pointer-events: none !important; /* Never block clicks */
    z-index: 1;
}

.ea-video-close-fullscreen {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    z-index: 100001 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: auto !important;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
    touch-action: manipulation;
}

.ea-video-close-fullscreen:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.ea-video-close-fullscreen:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Background video responsive */
@media (max-width: 768px) {
    #background-video {
        opacity: 0.2;
        filter: blur(2px);
    }
    
    .background-video-overlay {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.65) 100%);
    }
    
    .ea-video-modal-container {
        width: 100%;
        height: 100%;
        pointer-events: none !important; /* Don't block on mobile */
    }
    
    .ea-video-wrapper {
        pointer-events: auto !important;
        z-index: 10000 !important;
        width: 100%;
        height: 100%;
        border-radius: 0; /* Full screen on mobile */
    }
    
    #ea-video-iframe-fullscreen {
        pointer-events: auto !important;
        z-index: 10000 !important;
        width: 100%;
        height: 100%;
    }
    
    .ea-video-close-fullscreen {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        z-index: 100002 !important; /* Above everything */
        pointer-events: auto !important;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.5);
        touch-action: manipulation;
        position: fixed !important; /* Fixed position on mobile */
    }
    
    .ea-video-close-fullscreen svg {
        width: 20px;
        height: 20px;
    }
    
    /* Remove any overlays that might block */
    .ea-video-wrapper::after {
        display: none !important; /* Remove overlay on mobile */
    }
    
    /* Ensure close button is always accessible on mobile, even when YouTube controls are hidden */
    .ea-video-close-fullscreen {
        z-index: 100003 !important; /* Above YouTube controls */
        position: fixed !important;
        pointer-events: auto !important;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.5);
    }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-page {
    min-height: 100vh;
    background: #000000;
    padding-top: 100px;
    overflow-x: hidden;
    position: relative;
}

/* Contact Hero Section - Removed, title moved to left column */
.contact-hero {
    display: none;
}

/* Title in left column */
/* Title removed - no longer needed */

/* Contact Main Section - Two Column Layout */
.contact-main-section {
    padding: 80px 20px 80px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(5, 5, 5, 0.99) 100%);
    position: relative;
}

.contact-main-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(196, 143, 86, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(196, 143, 86, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.contact-main-section .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-layout {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 50px;
    align-items: start;
}

/* Optimize for smaller laptops */
@media (max-width: 1400px) {
    .contact-layout {
        grid-template-columns: 90px 1fr;
        gap: 40px;
    }
    
    .contact-form-wrapper {
        padding: 30px 25px;
    }
}

/* Left Column: Contact Info */
.contact-info-column {
    position: sticky;
    top: 120px;
    width: 100%;
}

.contact-info-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px 12px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 100%;
}

.contact-info-card .contact-actions {
    margin-bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info-card .email-button {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    min-width: 48px;
    font-size: 0;
    position: relative;
    opacity: 0;
    background: rgba(196, 143, 86, 0.1);
    border: 1px solid rgba(196, 143, 86, 0.3);
    transition: all 0.3s ease;
    transform: translateY(-100px) rotate(90deg);
    animation: tetrisFall 0.8s ease-out forwards;
    display: flex;
    margin: 0 auto;
}

.contact-info-card .email-button svg {
    width: 20px;
    height: 20px;
    color: #c48f56;
    transition: all 0.3s ease;
}

.contact-info-card .email-button:hover {
    background: rgba(196, 143, 86, 0.2);
    border-color: rgba(196, 143, 86, 0.6);
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(196, 143, 86, 0.4);
}

.contact-info-card .email-button span {
    display: none;
}

/* Removed hover tooltip for email button */

.contact-info-card .social-media-links {
    flex-direction: column;
    gap: 10px;
    margin-top: 0;
    width: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
}

.contact-info-card .social-link {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    min-width: 48px;
    font-size: 0;
    position: relative;
    opacity: 0;
    background: rgba(196, 143, 86, 0.1);
    border: 1px solid rgba(196, 143, 86, 0.3);
    transition: all 0.3s ease;
    transform: translateY(-100px) rotate(90deg);
    animation: tetrisFall 0.8s ease-out forwards;
    display: flex;
    margin: 0;
    flex-shrink: 0;
}

/* Tetris-style falling animation for social media icons */
@keyframes tetrisFall {
    0% {
        opacity: 0;
        transform: translateY(-100px) rotate(90deg) scale(0.5);
    }
    50% {
        transform: translateY(10px) rotate(0deg) scale(1.1);
    }
    75% {
        transform: translateY(-5px) rotate(0deg) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0deg) scale(1);
    }
}

/* Stagger animation delays for each icon */
.contact-info-card .social-link:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-info-card .social-link:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-info-card .social-link:nth-child(3) {
    animation-delay: 0.3s;
}

.contact-info-card .social-link:nth-child(4) {
    animation-delay: 0.4s;
}

.contact-info-card .social-link:nth-child(5) {
    animation-delay: 0.5s;
}

.contact-info-card .social-link i {
    font-size: 1.4rem;
    width: auto;
    display: block;
    color: #c48f56;
    transition: all 0.3s ease;
}

.contact-info-card .social-link:hover {
    background: rgba(196, 143, 86, 0.2);
    border-color: rgba(196, 143, 86, 0.6);
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(196, 143, 86, 0.4);
}

/* Ensure Font Awesome icons display properly */
.contact-info-card .social-link i.fab,
.contact-info-card .social-link i.fa {
    font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free", "Font Awesome 5 Brands", "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 400;
    font-style: normal;
}

/* Dynamic tooltips for contact icons */
.ea-tooltip {
    position: fixed !important;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.98) !important;
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999999 !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-info-card .social-link span {
    display: none;
}

/* Removed hover tooltips for social media */

/* Right Column: Contact Form */
.contact-form-column {
    min-width: 0; /* Prevents overflow */
    position: relative;
    z-index: 1;
    overflow: visible; /* Allow tooltips to appear above */
}

.contact-form-wrapper {
    background: rgba(10, 10, 10, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 45px 40px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    min-width: 0; /* Allow shrinking */
    overflow: visible; /* Allow tooltips to appear above */
}

/* Conversion Elements */
.conversion-elements {
    margin-bottom: 30px;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(196, 143, 86, 0.1);
    border: 1px solid rgba(196, 143, 86, 0.3);
    border-radius: 8px;
    color: #c48f56;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    transition: all 0.3s ease;
}

.trust-badge svg {
    flex-shrink: 0;
    color: #c48f56;
}

.trust-badge:hover {
    background: rgba(196, 143, 86, 0.15);
    border-color: rgba(196, 143, 86, 0.5);
    transform: translateY(-1px);
}

.urgency-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(196, 143, 86, 0.15) 0%, rgba(196, 143, 86, 0.08) 100%);
    border: 1px solid rgba(196, 143, 86, 0.3);
    border-radius: 10px;
    color: #c48f56;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 18px;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    animation: pulseGlow 2s ease-in-out infinite;
}

.urgency-message svg {
    flex-shrink: 0;
    color: #c48f56;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(196, 143, 86, 0.4);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(196, 143, 86, 0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.social-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-proof-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 400;
}

.social-proof-item svg {
    flex-shrink: 0;
    color: rgba(196, 143, 86, 0.8);
}

/* Improve form visual consistency */
.everafter-contact-form .form-group {
    margin-bottom: 0;
}

.everafter-contact-form .form-row .form-group {
    margin-bottom: 0;
}

/* Ensure form groups have proper width */
.everafter-contact-form {
    width: 100%;
    min-width: 0;
}

.everafter-contact-form .form-group {
    width: 100%;
    min-width: 0;
}

/* Form Messages */
.contact-form-message {
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-weight: 500;
}

.contact-form-message p {
    margin: 0;
    flex: 1;
}

.contact-form-message::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: currentColor;
    opacity: 0.6;
}

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

.contact-form-success {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.2) 0%, rgba(39, 174, 96, 0.15) 100%);
    border: 1px solid rgba(46, 204, 113, 0.4);
    color: #51cf66;
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-form-success svg {
    flex-shrink: 0;
    color: #51cf66;
    animation: checkmark 0.5s ease;
    filter: drop-shadow(0 2px 4px rgba(46, 204, 113, 0.3));
}

@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.contact-form-error {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2) 0%, rgba(192, 57, 43, 0.15) 100%);
    border: 1px solid rgba(231, 76, 60, 0.4);
    color: #ff6b6b;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-form-error svg {
    flex-shrink: 0;
    color: #ff6b6b;
    animation: errorPulse 0.5s ease;
    filter: drop-shadow(0 2px 4px rgba(231, 76, 60, 0.3));
}

@keyframes errorPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Form Styles */
.everafter-contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7) !important; /* Grey color to match input text - force override */
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

/* Ensure all form labels have consistent grey color - override any parent theme styles */
.everafter-contact-form .form-group label,
.everafter-contact-form label,
.form-group label[for="contact_investment"],
.form-group label[for="contact_referral"],
.form-group label[for="contact_message"],
.form-group label[for="contact_referral_name"] {
    color: rgba(255, 255, 255, 0.7) !important;
}

.form-group label .required {
    color: #c48f56;
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7); /* Grey text color for all fields */
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
    line-height: 1.5;
    -webkit-appearance: none;
    appearance: none;
}

/* Date input styling - make entire field clickable and allow manual input */
.form-group input[type="date"] {
    color-scheme: dark;
    cursor: pointer;
    position: relative;
    padding-right: 45px;
    color: rgba(255, 255, 255, 0.7); /* Grey text color for date field */
}

/* Make the calendar picker indicator visible and clickable */
.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
    opacity: 0.8;
    position: absolute;
    right: 12px;
    width: 24px;
    height: 24px;
    padding: 0;
    margin: 0;
    z-index: 1;
    background: transparent;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Firefox calendar button */
.form-group input[type="date"]::-moz-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
    opacity: 0.8;
}

.form-group input[type="date"]::-moz-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Allow manual typing in date field */
.form-group input[type="date"]:not(:focus) {
    cursor: pointer;
}

.form-group input[type="date"]:focus {
    cursor: text;
}

/* Ensure the entire input area triggers calendar */
.form-group input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
}

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

/* Ensure all input types have grey text color */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="search"] {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c48f56;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(196, 143, 86, 0.2);
    transform: translateY(-1px);
}

/* Error states */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.field-error {
    display: block;
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 4px;
    font-weight: 400;
    animation: fadeIn 0.3s ease;
}

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

/* Character counter */
.character-counter {
    text-align: right;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 6px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.character-counter.over-limit {
    color: #e74c3c;
    font-weight: 600;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px;
    padding: 16px 90px 16px 18px !important;
    cursor: pointer;
    width: 100% !important;
    min-width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    white-space: nowrap !important;
    text-overflow: clip !important;
    min-height: 52px !important;
    height: auto !important;
    line-height: 1.6 !important;
    font-size: 1rem;
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    vertical-align: middle;
    color: rgba(255, 255, 255, 0.7); /* Grey text color for select fields */
}

/* Override text-overflow for select to show full text */
.everafter-contact-form select {
    text-overflow: clip !important;
    overflow: visible !important;
}

/* Ensure select text is never clipped */
.form-group select option {
    text-overflow: clip !important;
    overflow: visible !important;
    white-space: normal !important;
}

/* Ensure select text is fully visible - override any parent constraints */
.everafter-contact-form .form-group {
    overflow: visible !important;
    width: 100% !important;
    min-width: 0 !important;
}

.everafter-contact-form .form-group select {
    max-width: none !important;
    width: 100% !important;
    padding-right: 90px !important;
}

/* Ensure form group doesn't clip select */
.everafter-contact-form .form-group {
    overflow: visible !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

/* Modern Success Popup Modal */
.success-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.success-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.success-popup {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 70px rgba(46, 204, 113, 0.3), 0 0 0 1px rgba(46, 204, 113, 0.1) inset;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
    position: relative;
    overflow: hidden;
}

.success-popup-overlay.show .success-popup {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.success-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2ecc71, #51cf66, #2ecc71);
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.success-popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.2) 0%, rgba(39, 174, 96, 0.15) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: successPulse 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-popup-icon svg {
    width: 48px;
    height: 48px;
    color: #51cf66;
    filter: drop-shadow(0 4px 8px rgba(46, 204, 113, 0.4));
    animation: checkmarkDraw 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

@keyframes checkmarkDraw {
    0% {
        stroke-dashoffset: 100;
        opacity: 0;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

.success-popup h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px;
    letter-spacing: 0.02em;
}

.success-popup p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0 0 35px;
}

.success-popup-close {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.success-popup-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
    background: linear-gradient(135deg, #51cf66 0%, #2ecc71 100%);
}

.success-popup-close:active {
    transform: translateY(0);
}

/* Mobile adjustments for popup */
@media (max-width: 768px) {
    .success-popup {
        padding: 40px 30px;
        max-width: 90%;
    }
    
    .success-popup-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 25px;
    }
    
    .success-popup-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .success-popup h3 {
        font-size: 1.5rem;
    }
    
    .success-popup p {
        font-size: 0.95rem;
    }
}

/* reCAPTCHA Styling */
.g-recaptcha {
    margin: 20px 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 78px;
    transition: all 0.3s ease;
}

.g-recaptcha > div {
    margin: 0 !important;
}

/* Show full text on hover via title attribute */
.form-group select:hover {
    overflow: visible;
}

/* Fix for select option text display - ensure full text is visible in dropdown */
.form-group select option {
    text-overflow: clip !important;
    overflow: visible !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    background: #1a1a1a !important;
    color: rgba(255, 255, 255, 0.7) !important; /* Grey text for dropdown options */
    display: block !important;
}

/* Ensure selected option text is grey when displayed in select field */
.form-group select {
    color: rgba(255, 255, 255, 0.7) !important;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    max-height: 180px;
    font-family: inherit;
    line-height: 1.6;
    padding: 14px 18px;
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.7); /* Grey text color for textarea */
}

.form-submit {
    margin-top: 10px;
}

.submit-button {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #c48f56 0%, #b87d45 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(196, 143, 86, 0.3);
    position: relative;
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.submit-button.loading {
    pointer-events: none;
}

.button-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.submit-button:hover {
    background: linear-gradient(135deg, #d49f66 0%, #c48f56 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 143, 86, 0.4);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button svg {
    transition: transform 0.3s ease;
}

.submit-button:hover svg {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 968px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info-column {
        position: static;
    }
    
    .contact-info-card {
        width: 100%;
        max-width: 100%;
        padding: 20px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }
    
    .contact-info-card .contact-actions {
        margin-bottom: 0;
        width: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .contact-info-card .social-media-links {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 15px;
        width: auto;
        margin: 0;
    }
    
    .contact-info-card .email-button,
    .contact-info-card .social-link {
        width: 50px;
        height: 50px;
        min-width: 50px;
        margin: 0;
        flex-shrink: 0;
    }
    
    /* Removed tooltip styles */
}

@media (max-width: 768px) {
    .contact-main-section {
        padding: 30px 15px 40px;
    }
    
    .contact-layout {
        gap: 25px;
    }
    
    .contact-info-card {
        width: 100%;
        padding: 20px;
        border-radius: 12px;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 12px;
    }
    
    .contact-info-card .contact-actions {
        margin-bottom: 0;
        width: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .contact-info-card .social-media-links {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 12px;
        width: auto;
        margin: 0;
    }
    
    .contact-info-card .email-button,
    .contact-info-card .social-link {
        width: 44px;
        height: 44px;
        min-width: 44px;
        margin: 0;
        flex-shrink: 0;
    }
    
    .contact-form-wrapper {
        padding: 35px 25px;
        border-radius: 12px;
    }
    
    .trust-badges {
        gap: 8px;
        margin-bottom: 16px;
    }
    
    .trust-badge {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .urgency-message {
        padding: 12px 14px;
        font-size: 0.8rem;
        margin-bottom: 16px;
    }
    
    .social-proof {
        gap: 10px;
        padding-top: 10px;
    }
    
    .social-proof-item {
        font-size: 0.75rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 16px 18px;
        font-size: 16px; /* Prevents zoom on iOS */
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-group select {
        padding: 16px 90px 16px 18px !important;
        max-width: none !important;
        min-height: 52px !important;
        height: auto !important;
        line-height: 1.6 !important;
    }
    
    .submit-button {
        padding: 18px 32px;
        font-size: 0.95rem;
    }
    
    .contact-form-message {
        padding: 16px 20px;
        font-size: 0.9rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .contact-form-message svg {
        align-self: flex-start;
    }
    
    .contact-info-card {
        gap: 10px;
    }
    
    .contact-info-card .contact-actions {
        width: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .contact-info-card .social-media-links {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: auto;
        margin: 0;
    }
    
    .contact-info-card .email-button,
    .contact-info-card .social-link {
        width: 44px;
        height: 44px;
        min-width: 44px;
        margin: 0;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .everafter-contact-form {
        gap: 20px;
    }
    
    .form-group textarea {
        min-height: 180px;
    }
}

/* Email Button & Social Links (used in contact info card) */
.email-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #c48f56 0%, #b87d45 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(196, 143, 86, 0.3);
    border: none;
    cursor: pointer;
}

.email-button:hover {
    background: linear-gradient(135deg, #d49f66 0%, #c48f56 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 143, 86, 0.4);
    color: #ffffff;
}

.email-button:active {
    transform: translateY(0);
}

.email-button svg {
    flex-shrink: 0;
}

/* ============================================
   TESTIMONIALS PAGE
   ============================================ */

.testimonials-page {
    min-height: 100vh;
    background: #000000;
    padding-top: 80px;
}

/* Hero Section */
.testimonials-hero {
    padding: 100px 20px 40px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(10, 10, 10, 0.95) 50%, rgba(0, 0, 0, 0.98) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(196, 143, 86, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(196, 143, 86, 0.3) 50%, transparent 100%);
}

.testimonials-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.testimonials-hero .hero-content {
    text-align: center;
}

.testimonials-hero .hero-title {
    font-size: 4rem;
    font-weight: 300;
    color: #ffffff;
    margin: 0 0 20px;
    letter-spacing: 0.05em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
    line-height: 1.2;
}

.testimonials-hero .hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    letter-spacing: 0.02em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
    line-height: 1.6;
}

/* Testimonials Filters and Search */
.testimonials-filters-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonials-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.testimonial-filter-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-filter-btn:hover {
    background: rgba(196, 143, 86, 0.15);
    border-color: rgba(196, 143, 86, 0.3);
    color: #c48f56;
}

.testimonial-filter-btn.active {
    background: rgba(196, 143, 86, 0.2);
    border-color: rgba(196, 143, 86, 0.4);
    color: #c48f56;
}

.testimonials-search {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 400px;
    flex: 1;
    min-width: 200px;
}

.testimonials-search .search-icon {
    position: absolute;
    left: 16px;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 1;
}

.testimonials-search-input {
    width: 100%;
    padding: 12px 45px 12px 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-family: inherit;
}

.testimonials-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.testimonials-search-input:focus {
    outline: none;
    border-color: rgba(196, 143, 86, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.testimonials-search-clear {
    position: absolute;
    right: 12px;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.testimonials-search-clear:hover {
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Testimonials Grid Section */
.testimonials-grid-section {
    padding: 30px 20px 100px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(5, 5, 5, 0.99) 100%);
    position: relative;
}

.testimonials-grid-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(196, 143, 86, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(196, 143, 86, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-grid-section .container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 20px;
    align-items: start; /* Prevent cards from stretching to match row height */
}

/* Testimonial Card */
.testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-card:nth-child(6) { animation-delay: 0.6s; }

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

.testimonial-inner {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 35px 30px;
    height: 100%;
    min-height: 450px; /* Ensure all cards have the same minimum height */
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.testimonial-inner:hover {
    transform: translateY(-8px);
    border-color: rgba(196, 143, 86, 0.4);
    box-shadow: 0 16px 48px rgba(196, 143, 86, 0.2);
    background: rgba(15, 15, 15, 0.9);
}

/* Rating Stars */
.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-rating .star {
    transition: transform 0.2s ease;
}

.testimonial-rating .star.filled {
    filter: drop-shadow(0 0 4px rgba(196, 143, 86, 0.5));
}

.testimonial-inner:hover .testimonial-rating .star.filled {
    transform: scale(1.1);
}

/* Testimonial Content */
.testimonial-content {
    flex: 1;
    margin-bottom: 25px;
    position: relative;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-style: normal;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    position: relative;
    padding-left: 20px;
    max-height: 260px;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-text.expanded {
    max-height: none;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(10, 10, 10, 0.95));
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.testimonial-content:has(.testimonial-text.expanded)::after {
    opacity: 0;
}

.testimonial-read-more {
    display: none;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 16px;
    background: rgba(196, 143, 86, 0.15);
    border: 1px solid rgba(196, 143, 86, 0.3);
    border-radius: 8px;
    color: #c48f56;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.testimonial-read-more.visible {
    display: inline-flex;
}

.testimonial-read-more:hover {
    background: rgba(196, 143, 86, 0.25);
    border-color: rgba(196, 143, 86, 0.5);
    transform: translateY(-1px);
}

.testimonial-read-more:active {
    transform: translateY(0);
}

.testimonial-read-more svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.testimonial-card:has(.testimonial-text.expanded) .testimonial-read-more svg {
    transform: rotate(180deg);
}

.testimonial-card:has(.testimonial-text.expanded) .testimonial-read-more .read-more-text {
    display: none;
}

.testimonial-card:has(.testimonial-text.expanded) .testimonial-read-more .read-less-text {
    display: inline;
}

.read-less-text {
    display: none;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 3rem;
    color: rgba(196, 143, 86, 0.3);
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    line-height: 1;
}

/* Author Info */
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: rgba(196, 143, 86, 0.2);
    border: 2px solid rgba(196, 143, 86, 0.3);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.author-avatar.placeholder {
    background: rgba(196, 143, 86, 0.15);
    color: rgba(196, 143, 86, 0.6);
}

.author-avatar.placeholder svg {
    width: 28px;
    height: 28px;
}

.author-info {
    flex: 1;
    min-width: 0;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 6px;
    letter-spacing: 0.02em;
}

.author-details {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.author-details .location,
.author-details .wedding-date {
    position: relative;
}

.author-details .location::after {
    content: '•';
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.3);
}

/* CTA Section */
.testimonials-cta {
    padding: 100px 20px;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.99) 0%, rgba(0, 0, 0, 1) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(196, 143, 86, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

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

.cta-content {
    text-align: center;
}

.cta-title {
    font-size: 2.8rem;
    font-weight: 300;
    color: #ffffff;
    margin: 0 0 20px;
    letter-spacing: 0.02em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
    line-height: 1.3;
}

.cta-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 40px;
    letter-spacing: 0.02em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #c48f56 0%, #d49f66 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(196, 143, 86, 0.3);
}

.cta-button:hover {
    background: linear-gradient(135deg, #d49f66 0%, #c48f56 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(196, 143, 86, 0.4);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 968px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 30px;
    }
    
    .testimonials-hero {
        padding: 80px 20px 30px;
    }
    
    .testimonials-hero .hero-title {
        font-size: 3rem;
    }
    
    .testimonials-hero .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .testimonials-page {
        padding-top: 70px;
    }
    
    .testimonials-hero {
        padding: 60px 20px 50px;
    }
    
    .testimonials-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .testimonials-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .testimonials-grid-section {
        padding: 20px 20px 80px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 15px;
    }
    
    .testimonial-inner {
        padding: 28px 24px;
        min-height: 420px; /* Adjusted for tablet */
    }
    
    .testimonial-text {
        font-size: 1rem;
        padding-left: 18px;
    }
    
    .testimonial-text::before {
        font-size: 2.5rem;
    }
    
    .author-avatar {
        width: 48px;
        height: 48px;
    }
    
    .author-name {
        font-size: 1rem;
    }
    
    .testimonials-cta {
        padding: 80px 20px;
    }
    
    .cta-title {
        font-size: 1.9rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 14px 28px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .testimonials-hero .hero-title {
        font-size: 2rem;
    }
    
    .testimonials-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .testimonial-inner {
        padding: 24px 20px;
        min-height: 400px; /* Adjusted for mobile */
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        max-height: 230px;
    }
    
    .testimonial-read-more {
        font-size: 0.85rem;
        padding: 6px 14px;
    }
    
    .cta-title {
        font-size: 1.6rem;
    }
}

.social-media-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ============================================
   ABOUT ME / MEET ME PAGE
   ============================================ */

.about-me-page {
    min-height: 100vh;
    background: #000000;
    padding-top: 80px;
}

/* Hero Section */
.about-me-hero {
    padding: 100px 20px 80px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(10, 10, 10, 0.95) 50%, rgba(0, 0, 0, 0.98) 100%);
    position: relative;
    overflow: hidden;
}

.about-me-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(196, 143, 86, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.about-me-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(196, 143, 86, 0.3) 50%, transparent 100%);
}

.about-me-hero .container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Two Column Layout */
.hero-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content-column {
    display: flex;
    flex-direction: column;
}

.hero-image-column {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 120%; /* Aspect ratio for portrait image */
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(196, 143, 86, 0.2);
    background: rgba(10, 10, 10, 0.8);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom; /* Align bottom of photo with bottom of container */
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.05);
}

.hero-image-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(196, 143, 86, 0.3);
    width: 120px;
    height: 120px;
}

.about-me-hero .hero-content {
    text-align: left;
}

.hero-greeting {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(196, 143, 86, 0.9);
    margin: 0 0 20px;
    letter-spacing: 0.15em;
    text-transform: lowercase;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
    text-align: left;
}

.about-me-hero .hero-title {
    font-size: 3.2rem;
    font-weight: 300;
    color: #ffffff;
    margin: 0 0 30px;
    letter-spacing: 0.02em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
    line-height: 1.3;
    text-align: left;
}

.about-me-hero .hero-title .highlight {
    color: #c48f56;
    font-weight: 400;
    position: relative;
}

.about-me-hero .hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(196, 143, 86, 0.5) 50%, transparent 100%);
    opacity: 0.6;
}

.hero-description {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 40px;
    letter-spacing: 0.01em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    line-height: 1.8;
    text-align: left;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-button-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #c48f56 0%, #d49f66 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(196, 143, 86, 0.3);
}

.cta-button-primary:hover {
    background: linear-gradient(135deg, #d49f66 0%, #c48f56 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(196, 143, 86, 0.4);
}

.cta-button-primary svg {
    transition: transform 0.3s ease;
}

.cta-button-primary:hover svg {
    transform: translateX(4px);
}

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    border: 2px solid rgba(196, 143, 86, 0.5);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
}

.cta-button-secondary:hover {
    border-color: rgba(196, 143, 86, 0.8);
    background: rgba(196, 143, 86, 0.1);
    transform: translateY(-2px);
}

.cta-button-secondary svg {
    transition: transform 0.3s ease;
}

.cta-button-secondary:hover svg {
    transform: scale(1.1);
}

/* Four Elements Section */
.four-elements-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(5, 5, 5, 0.99) 100%);
    position: relative;
}

.four-elements-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(196, 143, 86, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(196, 143, 86, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.four-elements-section .container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.elements-grid {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(196, 143, 86, 0.5) rgba(0, 0, 0, 0.1);
}

.elements-grid::-webkit-scrollbar {
    height: 8px;
}

.elements-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.elements-grid::-webkit-scrollbar-thumb {
    background: rgba(196, 143, 86, 0.5);
    border-radius: 4px;
}

.elements-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(196, 143, 86, 0.7);
}

/* Element Card */
.element-card {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 45px 35px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease-out forwards;
    flex: 0 0 320px; /* Fixed width, no shrinking */
    min-width: 320px;
    max-width: 320px;
}

.element-card:nth-child(1) { animation-delay: 0.1s; }
.element-card:nth-child(2) { animation-delay: 0.2s; }
.element-card:nth-child(3) { animation-delay: 0.3s; }
.element-card:nth-child(4) { animation-delay: 0.4s; }

.element-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(196, 143, 86, 0.5) 50%, transparent 100%);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.element-card:hover::before {
    transform: scaleX(1);
}

.element-card:hover {
    transform: translateY(-12px);
    border-color: rgba(196, 143, 86, 0.5);
    box-shadow: 0 20px 60px rgba(196, 143, 86, 0.25);
    background: rgba(15, 15, 15, 0.95);
}

.element-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid rgba(196, 143, 86, 0.3);
    border-radius: 50%;
    color: #c48f56;
    transition: all 0.4s ease;
    position: relative;
}

.element-card:hover .element-icon {
    border-color: rgba(196, 143, 86, 0.6);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(196, 143, 86, 0.3);
}

.element-dot {
    width: 8px;
    height: 8px;
    background: #c48f56;
    border-radius: 50%;
    transition: all 0.4s ease;
    opacity: 0.7;
}

.element-card:hover .element-dot {
    opacity: 1;
    transform: scale(1.3);
    box-shadow: 0 0 12px rgba(196, 143, 86, 0.6);
}

.element-title {
    font-size: 1.6rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 18px;
    letter-spacing: 0.03em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    transition: color 0.3s ease;
}

.element-card:hover .element-title {
    color: #c48f56;
}

.element-description {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
    letter-spacing: 0.01em;
}

/* Final CTA Section */
.about-me-cta {
    padding: 100px 20px;
    background: linear-gradient(180deg, rgba(5, 5, 5, 0.99) 0%, rgba(0, 0, 0, 1) 100%);
    position: relative;
    overflow: hidden;
}

.about-me-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(196, 143, 86, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

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

.about-me-cta .cta-content {
    text-align: center;
}

.about-me-cta .cta-title {
    font-size: 2.8rem;
    font-weight: 300;
    color: #ffffff;
    margin: 0 0 20px;
    letter-spacing: 0.02em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
    line-height: 1.3;
}

.about-me-cta .cta-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 40px;
    letter-spacing: 0.02em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
    line-height: 1.6;
}

.about-me-cta .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #c48f56 0%, #d49f66 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(196, 143, 86, 0.3);
}

.about-me-cta .cta-button:hover {
    background: linear-gradient(135deg, #d49f66 0%, #c48f56 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(196, 143, 86, 0.4);
}

.about-me-cta .cta-button svg {
    transition: transform 0.3s ease;
}

.about-me-cta .cta-button:hover svg {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 968px) {
    .about-me-hero {
        padding: 80px 20px 60px;
    }
    
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-image-column {
        order: -1; /* Image first on mobile */
    }
    
    .hero-image-wrapper {
        padding-bottom: 100%; /* Square on mobile */
        max-width: 400px;
        margin: 0 auto;
    }
    
    .about-me-hero .hero-content {
        text-align: center;
    }
    
    .hero-greeting {
        text-align: center;
    }
    
    .about-me-hero .hero-title {
        font-size: 2.8rem;
        text-align: center;
    }
    
    .hero-description {
        font-size: 1.05rem;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .elements-grid {
        gap: 25px;
    }
    
    .element-card {
        flex: 0 0 300px;
        min-width: 300px;
        max-width: 300px;
        padding: 35px 28px;
    }
    
    .about-me-cta .cta-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .about-me-page {
        padding-top: 70px;
    }
    
    .about-me-hero {
        padding: 60px 20px 50px;
    }
    
    .hero-layout {
        gap: 40px;
    }
    
    .hero-image-wrapper {
        padding-bottom: 90%;
        max-width: 350px;
    }
    
    .about-me-hero .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-button-primary,
    .cta-button-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .four-elements-section {
        padding: 60px 20px 80px;
    }
    
    .elements-grid {
        gap: 20px;
        margin-top: 30px;
    }
    
    .element-card {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
        padding: 32px 24px;
    }
    
    .element-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .element-dot {
        width: 7px;
        height: 7px;
    }
    
    .element-title {
        font-size: 1.4rem;
    }
    
    .about-me-cta {
        padding: 80px 20px;
    }
    
    .about-me-cta .cta-title {
        font-size: 1.9rem;
    }
    
    .about-me-cta .cta-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-me-hero .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-greeting {
        font-size: 0.9rem;
    }
    
    .element-card {
        padding: 28px 20px;
    }
    
    .about-me-cta .cta-title {
        font-size: 1.6rem;
    }
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: 0.03em;
}

.social-link:hover {
    background: rgba(196, 143, 86, 0.15);
    border-color: rgba(196, 143, 86, 0.4);
    color: #c48f56;
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1.1rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.social-link span {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Referral name field animation */
#referral-name-group {
    animation: slideDown 0.3s ease;
}

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

/* ============================================
   BLOG PAGE STYLES
   ============================================ */

/* Blog Page */
.blog-page {
    min-height: 100vh;
    background: #000000;
    padding-top: 80px;
}

/* Blog Hero Section */
.blog-hero {
    padding: 100px 20px 60px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(10, 10, 10, 0.95) 50%, rgba(0, 0, 0, 0.98) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(196, 143, 86, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.blog-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.blog-hero .hero-content {
    text-align: center;
}

.blog-hero .hero-title {
    font-size: 4rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
}

.blog-hero .hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    font-style: normal;
}

/* Blog Grid Section */
.blog-grid-section {
    padding: 80px 20px 100px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(5, 5, 5, 0.99) 100%);
    position: relative;
}

.blog-grid-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(196, 143, 86, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(196, 143, 86, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.blog-grid-section .container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Blog Filters Wrapper */
.blog-filters-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    padding-top: 100px;
    flex-wrap: wrap;
}

/* Blog Search */
.blog-search {
    position: relative;
    max-width: 300px;
    width: 100%;
    min-width: 200px;
    display: flex;
    align-items: center;
    flex-shrink: 1;
}

.search-icon {
    position: absolute;
    left: 16px;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    z-index: 1;
    width: 18px;
    height: 18px;
}

.blog-search-input {
    width: 100%;
    padding: 12px 40px 12px 40px;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: #ffffff;
    font-size: 0.9rem;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    transition: all 0.3s ease;
}

.blog-search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.blog-search-input:focus {
    outline: none;
    border-color: rgba(196, 143, 86, 0.5);
    background: rgba(10, 10, 10, 0.8);
    box-shadow: 0 4px 16px rgba(196, 143, 86, 0.2);
}

.blog-search-clear {
    position: absolute;
    right: 14px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    z-index: 1;
    width: 14px;
    height: 14px;
}

.blog-search-clear:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Blog Filters */
.blog-filters {
    display: flex !important;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 10;
    flex: 1;
}

.blog-filters-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.blog-filter-btn {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    position: relative;
    overflow: hidden;
}

.blog-filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 143, 86, 0.2), transparent);
    transition: left 0.5s ease;
}

.blog-filter-btn:hover::before {
    left: 100%;
}

.blog-filter-btn:hover {
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(196, 143, 86, 0.4);
    background: rgba(10, 10, 10, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 143, 86, 0.2);
}

.blog-filter-btn.active {
    background: rgba(196, 143, 86, 0.15);
    border-color: rgba(196, 143, 86, 0.5);
    color: #c48f56;
    box-shadow: 0 4px 16px rgba(196, 143, 86, 0.3);
}

.blog-filter-btn.active:hover {
    background: rgba(196, 143, 86, 0.2);
    border-color: rgba(196, 143, 86, 0.6);
    color: #d4a066;
}

.blog-filter-btn span {
    position: relative;
    z-index: 1;
}

/* Blog Filter Info Button */
.blog-filter-info {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.blog-filter-info:hover {
    background: rgba(196, 143, 86, 0.15);
    border-color: rgba(196, 143, 86, 0.5);
    color: #c48f56;
    transform: scale(1.1);
}

.blog-filter-info svg {
    width: 18px;
    height: 18px;
}

/* Blog Filter Tooltip */
.blog-filter-tooltip {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(10, 10, 10, 0.98);
    border: 1px solid rgba(196, 143, 86, 0.3);
    border-radius: 16px;
    padding: 0;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.blog-filter-tooltip.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.blog-filter-tooltip .tooltip-content {
    padding: 25px;
}

.blog-filter-tooltip h4 {
    color: #c48f56;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
}

.blog-filter-tooltip ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-filter-tooltip li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.blog-filter-tooltip li:last-child {
    margin-bottom: 0;
}

.blog-filter-tooltip li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #c48f56;
    font-size: 1.2rem;
}

.blog-filter-tooltip li strong {
    color: #c48f56;
    font-weight: 600;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 0;
}

/* Blog Card */
.blog-card {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }
.blog-card:nth-child(5) { animation-delay: 0.5s; }
.blog-card:nth-child(6) { animation-delay: 0.6s; }

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(196, 143, 86, 0.3);
    border-color: rgba(196, 143, 86, 0.4);
}

.blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* Blog Card Header */
.blog-card-header {
    position: relative;
    width: 100%;
    padding-bottom: 35%;
    overflow: hidden;
    background: #0a0a0a;
    border-radius: 16px 16px 0 0;
}

/* Hide old overlay elements if they exist */
.blog-card-overlay,
.blog-card .read-more {
    display: none !important;
}

/* Blog Card Image (when available) */
.blog-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

/* Blog Card Gradient (when no image) */
.blog-card-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all 0.5s ease;
}

.blog-card-gradient[data-gradient-index="0"] {
    background: linear-gradient(135deg, rgba(196, 143, 86, 0.15) 0%, rgba(196, 143, 86, 0.05) 50%, rgba(0, 0, 0, 0.3) 100%);
}

.blog-card-gradient[data-gradient-index="1"] {
    background: linear-gradient(135deg, rgba(196, 143, 86, 0.12) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(196, 143, 86, 0.08) 100%);
}

.blog-card-gradient[data-gradient-index="2"] {
    background: linear-gradient(225deg, rgba(196, 143, 86, 0.1) 0%, rgba(0, 0, 0, 0.25) 100%);
}

.blog-card-gradient[data-gradient-index="3"] {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.3) 0%, rgba(196, 143, 86, 0.1) 50%, rgba(0, 0, 0, 0.2) 100%);
}

.blog-card-gradient[data-gradient-index="4"] {
    background: linear-gradient(315deg, rgba(196, 143, 86, 0.08) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(196, 143, 86, 0.12) 100%);
}

.blog-card-gradient[data-gradient-index="5"] {
    background: linear-gradient(180deg, rgba(196, 143, 86, 0.15) 0%, rgba(0, 0, 0, 0.25) 100%);
}

.blog-card:hover .blog-card-gradient {
    opacity: 0.9;
    transform: scale(1.02);
}

.blog-card-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(196, 143, 86, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(196, 143, 86, 0.2) 0%, transparent 50%);
    background-size: 100% 100%;
}

/* Category badge on header */
.blog-card-header .blog-card-category {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    margin: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(196, 143, 86, 0.4);
    white-space: nowrap;
    max-width: calc(100% - 28px);
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Blog Card Content */
.blog-card-content {
    padding: 28px 30px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 0;
    position: relative;
    z-index: 1;
}

.blog-card-category {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 600;
    color: #c48f56;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    background: rgba(196, 143, 86, 0.15);
    border-radius: 4px;
    border: 1px solid rgba(196, 143, 86, 0.25);
    line-height: 1.2;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.35;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.38em; /* 1.25rem * 1.35 * 2 lines */
}

.blog-card:hover .blog-card-title {
    color: #c48f56;
}

.blog-card-excerpt {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    margin: 0 0 18px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 0;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    flex-wrap: wrap;
}

.blog-card-like {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    padding: 0;
    font-size: 0.82rem;
    transition: all 0.3s ease;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
}

.blog-card-like:hover {
    color: rgba(196, 143, 86, 0.8);
}

.blog-card-like.liked {
    color: #c48f56;
}

.blog-card-like.liked svg {
    fill: #c48f56;
}

.blog-card-date svg,
.blog-card-like svg {
    width: 14px;
    height: 14px;
    color: currentColor;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.blog-card-like:hover svg {
    transform: scale(1.1);
}

.blog-card-like .like-count {
    line-height: 1;
}

.blog-card-read-more {
    color: #c48f56;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-5px);
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.blog-card:hover .blog-card-read-more {
    opacity: 1;
    transform: translateX(0);
}

/* Blog Pagination */
.blog-pagination {
    margin-top: 80px;
    text-align: center;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-pagination .page-numbers li {
    display: inline-block;
}

.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
    display: inline-block;
    padding: 12px 18px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    min-width: 44px;
    text-align: center;
}

.blog-pagination .page-numbers a:hover {
    color: #c48f56;
    border-color: rgba(196, 143, 86, 0.5);
    background: rgba(196, 143, 86, 0.1);
}

.blog-pagination .page-numbers .current {
    color: #c48f56;
    border-color: rgba(196, 143, 86, 0.5);
    background: rgba(196, 143, 86, 0.1);
}

/* Blog Empty State */
.blog-empty {
    text-align: center;
    padding: 100px 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

/* ============================================
   SINGLE POST PAGE STYLES
   ============================================ */

.single-post-page {
    min-height: 100vh;
    background: #000000;
    padding-top: 80px;
}

/* Post Hero Image */
.post-hero-image {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
}

.post-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
}

/* Post Container */
.post-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px 100px;
}

.post-wrapper {
    background: rgba(10, 10, 10, 0.6);
    border-radius: 20px;
    padding: 60px 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Post Header */
.post-header {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.post-category-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #c48f56;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    padding: 6px 14px;
    background: rgba(196, 143, 86, 0.15);
    border-radius: 6px;
}

.post-title {
    font-size: 3rem;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.3;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    letter-spacing: 0.02em;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.post-date,
.post-author,
.post-reading-time {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-date svg,
.post-author svg,
.post-reading-time svg {
    width: 16px;
    height: 16px;
    color: #c48f56;
    flex-shrink: 0;
}

/* Post Content */
.post-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 50px;
}

.post-content p {
    margin-bottom: 1.5em;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    color: #ffffff;
    margin-top: 2em;
    margin-bottom: 1em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-weight: 400;
}

.post-content h2 {
    font-size: 2rem;
}

.post-content h3 {
    font-size: 1.6rem;
}

.post-content h4 {
    font-size: 1.3rem;
}

.post-content a {
    color: #c48f56;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.post-content a:hover {
    color: #d4af37;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2em 0;
}

.post-content ul,
.post-content ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.post-content li {
    margin-bottom: 0.8em;
}

.post-content blockquote {
    border-left: 4px solid #c48f56;
    padding-left: 1.5em;
    margin: 2em 0;
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
}

/* Post Footer */
.post-footer {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.tags-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.tag-item {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(196, 143, 86, 0.15);
    color: #c48f56;
    border-radius: 6px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: rgba(196, 143, 86, 0.25);
    transform: translateY(-2px);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(196, 143, 86, 0.15);
    color: #c48f56;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-link:hover {
    background: rgba(196, 143, 86, 0.3);
    transform: translateY(-2px);
}

.share-link svg {
    width: 18px;
    height: 18px;
}

/* Post Navigation */
.post-navigation {
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.post-navigation .container {
    max-width: 1400px;
    margin: 0 auto;
}

.post-nav-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.nav-previous,
.nav-next {
    display: block;
    padding: 25px 30px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
    border-color: rgba(196, 143, 86, 0.4);
    background: rgba(196, 143, 86, 0.1);
    transform: translateY(-2px);
}

.nav-next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.nav-title {
    display: block;
    font-size: 1rem;
    color: #ffffff;
    font-weight: 400;
    line-height: 1.4;
}

.nav-empty {
    background: transparent;
    border: none;
    pointer-events: none;
}

/* Related Posts Section */
.related-posts-section {
    padding: 80px 20px 100px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.98) 0%, rgba(5, 5, 5, 0.99) 100%);
}

.related-posts-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.related-posts-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #ffffff;
    text-align: center;
    margin-bottom: 50px;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    letter-spacing: 0.02em;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.related-post-card {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(196, 143, 86, 0.2);
    border-color: rgba(196, 143, 86, 0.3);
}

.related-post-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-post-image {
    width: 100%;
    padding-bottom: 60%;
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
}

.related-post-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.1);
}

.related-post-content {
    padding: 25px;
}

.related-post-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #c48f56;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.related-post-title {
    font-size: 1.2rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    transition: color 0.3s ease;
}

.related-post-card:hover .related-post-title {
    color: #c48f56;
}

.related-post-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Blog Responsive Styles */
@media (max-width: 968px) {
    .blog-hero .hero-title {
        font-size: 3rem;
    }
    
    .blog-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .post-wrapper {
        padding: 40px 30px;
    }
    
    .post-title {
        font-size: 2.2rem;
    }
    
    .post-content {
        font-size: 1rem;
    }
    
    .post-nav-wrapper {
        grid-template-columns: 1fr;
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .blog-filters-wrapper {
        padding-top: 80px;
        flex-direction: column;
        align-items: stretch;
    }
    
    .blog-filters {
        justify-content: center;
        width: 100%;
    }
    
    .blog-search {
        max-width: 100%;
        width: 100%;
    }
    
    .blog-filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .blog-filter-info {
        width: 38px;
        height: 38px;
    }
    
    .blog-filter-tooltip {
        max-width: 90%;
        width: 85%;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 40px;
    }
    
    .blog-card-content {
        padding: 25px;
    }
    
    .post-hero-image {
        height: 40vh;
        min-height: 300px;
    }
    
    .post-container {
        padding: 40px 15px 60px;
    }
    
    .post-wrapper {
        padding: 30px 20px;
    }
    
    .post-title {
        font-size: 1.8rem;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .related-posts-title {
        font-size: 2rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   BLOG ARTICLE MODAL STYLES
   ============================================ */

/* Blog Article Modal */
.blog-article-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.blog-article-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Modal Backdrop */
.blog-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Modal Container */
.blog-modal-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Modal Content */
.blog-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 95vh;
    background: rgba(10, 10, 10, 0.98);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.blog-article-modal.active .blog-modal-content {
    transform: scale(1) translateY(0);
}

/* Close Button */
.blog-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.blog-modal-close:hover {
    background: rgba(196, 143, 86, 0.3);
    border-color: rgba(196, 143, 86, 0.5);
    transform: rotate(90deg);
}

.blog-modal-close svg {
    width: 20px;
    height: 20px;
}

/* Loading State */
.blog-modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    min-height: 400px;
    color: rgba(255, 255, 255, 0.6);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(196, 143, 86, 0.2);
    border-top-color: #c48f56;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.blog-modal-loading p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Article Content */
.blog-modal-article {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: calc(95vh - 40px);
}

/* Featured Image */
.blog-modal-featured-image {
    width: 100%;
    padding-bottom: 50%;
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
}

.blog-modal-featured-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Modal Header */
.blog-modal-header {
    padding: 40px 50px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-modal-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #c48f56;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 14px;
    background: rgba(196, 143, 86, 0.15);
    border-radius: 6px;
    border: 1px solid rgba(196, 143, 86, 0.25);
    margin-bottom: 20px;
}

.blog-modal-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 25px 0;
    line-height: 1.3;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    letter-spacing: 0.02em;
}

.blog-modal-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.blog-modal-meta .post-date,
.blog-modal-meta .post-author,
.blog-modal-meta .post-reading-time {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-modal-meta svg {
    width: 16px;
    height: 16px;
    color: #c48f56;
    flex-shrink: 0;
}

/* Modal Body */
.blog-modal-body {
    padding: 40px 50px;
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.85);
}

.blog-modal-body p {
    margin-bottom: 1.5em;
}

.blog-modal-body h2,
.blog-modal-body h3,
.blog-modal-body h4 {
    color: #ffffff;
    margin-top: 2em;
    margin-bottom: 1em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-style: normal;
}

.blog-modal-body h2 {
    font-size: 1.8rem;
}

.blog-modal-body h3 {
    font-size: 1.5rem;
}

.blog-modal-body h4 {
    font-size: 1.2rem;
}

.blog-modal-body a {
    color: #c48f56;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.blog-modal-body a:hover {
    color: #d4af37;
}

.blog-modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2em 0;
}

.blog-modal-body ul,
.blog-modal-body ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.blog-modal-body li {
    margin-bottom: 0.8em;
}

.blog-modal-body blockquote {
    border-left: 4px solid #c48f56;
    padding-left: 1.5em;
    margin: 2em 0;
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
}

/* Modal Footer */
.blog-modal-footer {
    padding: 30px 50px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-modal-footer .post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.blog-modal-footer .tags-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.blog-modal-footer .tag-item {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(196, 143, 86, 0.15);
    color: #c48f56;
    border-radius: 6px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-modal-footer .tag-item:hover {
    background: rgba(196, 143, 86, 0.25);
    transform: translateY(-2px);
}

.blog-modal-footer .post-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.blog-modal-footer .share-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.blog-modal-footer .share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(196, 143, 86, 0.15);
    color: #c48f56;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-modal-footer .share-link:hover {
    background: rgba(196, 143, 86, 0.3);
    transform: translateY(-2px);
}

.blog-modal-footer .share-link svg {
    width: 18px;
    height: 18px;
}

/* Blog Modal Responsive */
@media (max-width: 968px) {
    .blog-modal-container {
        padding: 10px;
    }
    
    .blog-modal-content {
        max-height: 98vh;
        border-radius: 16px;
    }
    
    .blog-modal-header {
        padding: 30px 30px 25px;
    }
    
    .blog-modal-title {
        font-size: 2rem;
    }
    
    .blog-modal-body {
        padding: 30px 30px;
        font-size: 1rem;
    }
    
    .blog-modal-footer {
        padding: 25px 30px 30px;
    }
    
    .blog-modal-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    .blog-modal-content {
        max-height: 100vh;
        border-radius: 0;
        max-width: 100%;
    }
    
    .blog-modal-header {
        padding: 80px 25px 20px;
    }
    
    .blog-modal-title {
        font-size: 1.6rem;
    }
    
    .blog-modal-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .blog-modal-body {
        padding: 25px 25px;
        font-size: 0.95rem;
    }
    
    .blog-modal-footer {
        padding: 20px 25px 25px;
    }
    
    .blog-modal-close {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
        background: rgba(0, 0, 0, 0.8);
    }
}

/* ========================================
   SERVICES PAGE STYLES - UNIQUE MODERN DESIGN
   ======================================== */

.services-page-unique {
    min-height: 100vh;
    background: #000000;
    padding-top: 80px;
}

/* Welcome Note Section - Dark Paper Design */
.welcome-note-section {
    padding: 120px 20px 100px;
    background: #000000;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-note-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 24px,
            rgba(196, 143, 86, 0.02) 24px,
            rgba(196, 143, 86, 0.02) 25px
        );
    pointer-events: none;
    opacity: 0.3;
}

.welcome-note-content {
    position: relative;
    z-index: 1;
    max-width: 580px;
    margin: 0 auto;
    padding: 55px 45px 65px;
    background: 
        linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(12, 12, 12, 0.98) 100%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 24px,
            rgba(196, 143, 86, 0.05) 24px,
            rgba(196, 143, 86, 0.05) 25px
        );
    border: 1px solid rgba(196, 143, 86, 0.2);
    border-radius: 2px;
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.6),
        0 2px 8px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    width: 100%;
    transform: rotate(-0.2deg);
    position: relative;
    overflow: hidden;
    animation: shatterBorder 3s ease-in-out 1s forwards;
}

@keyframes shatterBorder {
    0% {
        border-color: rgba(196, 143, 86, 0.3);
        border-width: 1px;
        box-shadow: 
            0 8px 30px rgba(0, 0, 0, 0.6),
            0 2px 8px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
    25% {
        border-color: rgba(196, 143, 86, 0.2);
        border-width: 1px;
    }
    50% {
        border-color: rgba(196, 143, 86, 0.1);
        border-width: 0.5px;
    }
    75% {
        border-color: rgba(196, 143, 86, 0.05);
        border-width: 0.5px;
    }
    100% {
        border-color: transparent;
        border-width: 0;
        box-shadow: 
            0 8px 30px rgba(0, 0, 0, 0.6),
            0 2px 8px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
}

.welcome-note-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 35px;
    background: linear-gradient(180deg, rgba(196, 143, 86, 0.1) 0%, transparent 100%);
    border-radius: 2px 2px 0 0;
}

.welcome-note-label {
    font-size: 0.6rem;
    color: rgba(196, 143, 86, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0 0 35px;
    font-weight: 300;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
    text-align: right;
    position: relative;
    z-index: 1;
}

.welcome-greeting {
    font-size: 2.2rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 38px;
    letter-spacing: 0.03em;
    line-height: 1.25;
    font-family: "Caveat", "Satisfy", cursive;
    font-style: normal;
    position: relative;
    z-index: 1;
    text-transform: none;
    transform: rotate(-0.6deg);
    display: inline-block;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.3),
        0 0 1px rgba(0, 0, 0, 0.2);
    filter: blur(0.3px);
}

.welcome-text {
    margin-bottom: 38px;
    position: relative;
    z-index: 1;
}

.welcome-paragraph {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.75;
    margin: 0 0 28px;
    font-weight: 300;
    letter-spacing: 0.01em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
}

.welcome-transition {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.75;
    margin: 0 0 24px;
    font-weight: 300;
    letter-spacing: 0.01em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
}

.welcome-question {
    font-size: 1.05rem;
    color: rgba(196, 143, 86, 0.85);
    line-height: 1.7;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.01em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: italic;
    padding-left: 20px;
    border-left: 1.5px solid rgba(196, 143, 86, 0.4);
    position: relative;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-right: 0;
    min-height: 3em;
}

.typing-text {
    display: inline;
}

.typing-cursor {
    display: inline-block;
    color: rgba(196, 143, 86, 0.9);
    animation: blinkCursor 1s infinite;
    margin-left: 2px;
    font-weight: 300;
}

@keyframes blinkCursor {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.welcome-signature {
    text-align: right;
    margin-top: 50px;
    position: relative;
    z-index: 1;
    padding-right: 15px;
}

.signature-name {
    font-size: 1.8rem;
    font-weight: 400;
    color: rgba(196, 143, 86, 0.95);
    margin: 0 0 8px;
    letter-spacing: 0.08em;
    font-family: "Allura", "Satisfy", cursive;
    font-style: normal;
    text-transform: none;
    line-height: 1.15;
    transform: rotate(1deg);
    display: inline-block;
    position: relative;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.4),
        0 0 1px rgba(0, 0, 0, 0.3);
    filter: blur(0.3px);
}

.signature-tagline {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.06em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
    text-transform: none;
}

/* Hero Section - Unique */
.services-hero-unique {
    padding: 120px 20px 100px;
    text-align: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(2, 2, 2, 0.97) 50%, rgba(0, 0, 0, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.services-hero-unique::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 100% 70% at 30% 20%, rgba(196, 143, 86, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 90% 90% at 70% 80%, rgba(196, 143, 86, 0.05) 0%, transparent 60%);
    pointer-events: none;
    filter: blur(30px);
    opacity: 0.8;
}

.hero-content-unique {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-label {
    font-size: 0.85rem;
    color: rgba(196, 143, 86, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0 0 25px;
    font-weight: 500;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
}

.hero-title-unique {
    font-size: 4.5rem;
    font-weight: 300;
    color: #ffffff;
    margin: 0 0 30px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-subtitle-unique {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.01em;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

/* Philosophy & Elements Combined Section */
.philosophy-elements-section {
    padding: 80px 20px 80px;
    background: linear-gradient(180deg, rgba(2, 2, 2, 0.97) 0%, rgba(0, 0, 0, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.philosophy-elements-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 100% 80% at 50% 50%, rgba(196, 143, 86, 0.03) 0%, transparent 60%);
    pointer-events: none;
    filter: blur(25px);
    opacity: 0.9;
}

.philosophy-elements-section .container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.philosophy-elements-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.philosophy-intro {
    max-width: 900px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto 70px;
    position: relative;
    z-index: 1;
    padding-bottom: 0;
    border-bottom: none;
}

.elements-section {
    margin-top: 0;
    padding-top: 0;
}

.philosophy-title {
    font-size: 2rem;
    font-weight: 300;
    color: #ffffff;
    margin: 0 0 20px;
    letter-spacing: -0.01em;
    line-height: 1.3;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
    text-align: center;
}

.philosophy-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 0 0 22px;
    font-weight: 300;
    letter-spacing: 0.01em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
    text-align: center;
}

.philosophy-description:last-child {
    margin-bottom: 0;
}

.philosophy-transition {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin: 30px 0 0;
    font-weight: 300;
    letter-spacing: 0.01em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
    text-align: center;
}

/* Experience Elements Section - Now part of combined section */
.elements-section {
    position: relative;
}

.elements-title {
    font-size: 3rem;
    font-weight: 300;
    color: #ffffff;
    text-align: center;
    margin: 0 0 15px;
    letter-spacing: -0.01em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
}

.elements-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin: 0 0 70px;
    font-weight: 300;
    letter-spacing: 0.02em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
}

.elements-grid-unique {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 0;
}

/* For 8 items, ensure proper wrapping */
.elements-grid-unique .experience-element:nth-child(8) {
    grid-column: span 1;
}

.experience-element {
    padding: 35px 30px;
    background: rgba(10, 10, 10, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.experience-element::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(196, 143, 86, 0.8) 0%, rgba(196, 143, 86, 0.3) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.experience-element:hover::before {
    transform: scaleX(1);
}

.experience-element:hover {
    border-color: rgba(196, 143, 86, 0.3);
    background: rgba(15, 15, 15, 0.85);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(196, 143, 86, 0.2);
}

.element-number {
    font-size: 0.85rem;
    color: rgba(196, 143, 86, 0.6);
    font-weight: 600;
    letter-spacing: 0.12em;
    margin: 0 0 16px;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
    text-transform: uppercase;
}

.element-title-unique {
    font-size: 1.4rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 12px;
    letter-spacing: 0.01em;
    line-height: 1.3;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
    flex: 1;
}

.element-description-unique {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.01em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
}

/* Starting Points Section */
.starting-points-section {
    padding: 120px 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(2, 2, 2, 0.97) 50%, rgba(0, 0, 0, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.starting-points-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 100% 90% at 50% 30%, rgba(196, 143, 86, 0.04) 0%, transparent 65%);
    pointer-events: none;
    filter: blur(30px);
    opacity: 0.8;
}

.starting-points-section .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.starting-points-intro {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.starting-title {
    font-size: 2rem;
    font-weight: 300;
    color: #ffffff;
    margin: 0 0 20px;
    letter-spacing: -0.01em;
    line-height: 1.3;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
}

.starting-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.01em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
}

.starting-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.starting-point {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0;
    position: relative;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.starting-point:hover {
    border-color: rgba(196, 143, 86, 0.2);
    background: rgba(12, 12, 12, 0.65);
    transform: translateY(-5px);
    box-shadow: 0 12px 45px rgba(196, 143, 86, 0.12);
}

.starting-point-highlighted {
    border-color: rgba(196, 143, 86, 0.3) !important;
    background: rgba(12, 12, 12, 0.7) !important;
    box-shadow: 0 8px 30px rgba(196, 143, 86, 0.15) !important;
}

.starting-point-highlighted:hover {
    border-color: rgba(196, 143, 86, 0.4) !important;
    background: rgba(14, 14, 14, 0.75) !important;
    box-shadow: 0 12px 45px rgba(196, 143, 86, 0.2) !important;
}

.point-content {
    padding: 45px 35px;
    flex: 1;
}

.point-name {
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 15px;
    letter-spacing: 0.01em;
    line-height: 1.3;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
}

.point-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 0 0 30px;
    font-weight: 300;
    letter-spacing: 0.01em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
}

.point-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    font-size: 0.8rem;
    color: rgba(196, 143, 86, 0.8);
    padding: 6px 14px;
    border: 1px solid rgba(196, 143, 86, 0.2);
    border-radius: 20px;
    background: rgba(196, 143, 86, 0.05);
    font-weight: 400;
    letter-spacing: 0.02em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
}

.point-reference {
    padding: 25px 35px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.reference-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
}

.reference-amount {
    font-size: 1.4rem;
    font-weight: 300;
    color: rgba(196, 143, 86, 0.6);
    letter-spacing: 0.02em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
}

/* For Cinematic package with "On call" - smaller, italic */
.reference-amount[data-custom="true"] {
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
    color: rgba(196, 143, 86, 0.8);
}

.customization-message {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 40px;
    background: rgba(196, 143, 86, 0.05);
    border: 1px solid rgba(196, 143, 86, 0.15);
    border-radius: 0;
    text-align: center;
    position: relative;
}

.customization-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(196, 143, 86, 0.6) 50%, transparent 100%);
}

.message-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.01em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
}

/* Next Steps Section - Enhanced Timeline */
.next-steps-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, rgba(2, 2, 2, 0.97) 0%, rgba(0, 0, 0, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.next-steps-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 100% 60% at 50% 50%, rgba(196, 143, 86, 0.03) 0%, transparent 65%);
    pointer-events: none;
    filter: blur(25px);
    opacity: 0.9;
}

.next-steps-section .container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.next-steps-title {
    font-size: 2rem;
    font-weight: 300;
    color: #ffffff;
    text-align: center;
    margin: 0 0 50px;
    letter-spacing: -0.01em;
    line-height: 1.3;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
}

.next-steps-timeline {
    position: relative;
    padding-left: 40px;
}

.next-steps-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, rgba(196, 143, 86, 0.3) 0%, rgba(196, 143, 86, 0.1) 100%);
}

.timeline-item-enhanced {
    position: relative;
    margin-bottom: 50px;
    padding-left: 50px;
}

.timeline-item-enhanced:last-child {
    margin-bottom: 0;
}

.timeline-marker-enhanced {
    position: absolute;
    left: -25px;
    top: 5px;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(196, 143, 86, 0.5);
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.9);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.9);
    transition: all 0.4s ease;
}

.timeline-item-enhanced:hover .timeline-marker-enhanced {
    background: rgba(196, 143, 86, 0.2);
    border-color: rgba(196, 143, 86, 0.8);
    transform: scale(1.2);
    box-shadow: 
        0 0 0 4px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(196, 143, 86, 0.3);
}

.timeline-title-enhanced {
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 12px;
    letter-spacing: 0.05em;
    line-height: 1.3;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
    text-transform: uppercase;
}

.timeline-description-enhanced {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.01em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
}

/* CTA Section - Unique */
.services-cta-unique {
    padding: 120px 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(2, 2, 2, 0.97) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-cta-unique::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 100% 90% at 50% 50%, rgba(196, 143, 86, 0.08) 0%, transparent 65%);
    pointer-events: none;
    filter: blur(30px);
    opacity: 0.8;
}

.cta-content-unique {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title-unique {
    font-size: 2.5rem;
    font-weight: 300;
    color: #ffffff;
    margin: 0 0 25px;
    letter-spacing: -0.02em;
    line-height: 1.3;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.cta-subtitle-unique {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 0 0 50px;
    font-weight: 300;
    letter-spacing: 0.01em;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
}

.cta-button-unique {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(196, 143, 86, 0.15);
    border: 1px solid rgba(196, 143, 86, 0.4);
    color: #c48f56;
    padding: 18px 42px;
    border-radius: 0;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
    font-style: normal;
    position: relative;
    overflow: hidden;
}

.cta-button-unique::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(196, 143, 86, 0.2);
    transition: left 0.3s ease;
}

.cta-button-unique:hover::before {
    left: 0;
}

.cta-button-unique:hover {
    border-color: rgba(196, 143, 86, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 143, 86, 0.3);
}

.cta-button-unique span {
    position: relative;
    z-index: 1;
}

.cta-button-unique svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.cta-button-unique:hover svg {
    transform: translateX(4px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .elements-grid-unique {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .starting-points-grid {
        gap: 25px;
    }
}

@media (max-width: 968px) {
    .elements-grid-unique {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 968px) {
    .welcome-note-section {
        padding: 100px 20px 80px;
    }
    
    .welcome-note-content {
        max-width: 100%;
        padding: 50px 40px 60px;
    }
    
    .welcome-greeting {
        font-size: 2rem;
    }
    
    .signature-name {
        font-size: 1.6rem;
    }
    
    .welcome-paragraph,
    .welcome-transition {
        font-size: 1rem;
    }
    
    .welcome-question {
        font-size: 1.1rem;
        padding-left: 18px;
    }
    
    .signature-name {
        font-size: 2rem;
    }
    
    .signature-tagline {
        font-size: 0.85rem;
    }
    
    .services-hero-unique {
        padding: 100px 20px 80px;
    }
    
    .hero-title-unique {
        font-size: 3rem;
    }
    
    .hero-subtitle-unique {
        font-size: 1.2rem;
    }
    
    .philosophy-section {
        padding: 80px 20px;
    }
    
    .philosophy-title {
        font-size: 1.8rem;
    }
    
    .philosophy-description {
        font-size: 0.95rem;
    }
    
    .philosophy-elements-section {
        padding: 70px 20px 70px;
    }
    
    .philosophy-intro {
        margin-bottom: 35px;
    }
    
    .philosophy-content {
        margin-bottom: 50px;
    }
    
    .elements-section {
        margin-top: 50px;
    }
    
    .elements-title {
        font-size: 2.5rem;
    }
    
    .elements-grid-unique {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 0;
    }
    
    .experience-element {
        padding: 30px 25px;
    }
    
    .starting-points-section {
        padding: 100px 20px;
    }
    
    .starting-title {
        font-size: 1.8rem;
    }
    
    .starting-points-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .next-steps-section {
        padding: 70px 20px;
    }
    
    .next-steps-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .next-steps-timeline {
        padding-left: 30px;
    }
    
    .timeline-item-enhanced {
        padding-left: 40px;
        margin-bottom: 40px;
    }
    
    .timeline-marker-enhanced {
        left: -20px;
        width: 18px;
        height: 18px;
    }
    
    .timeline-title-enhanced {
        font-size: 1.3rem;
    }
    
    .timeline-description-enhanced {
        font-size: 0.95rem;
    }
    
    .services-cta-unique {
        padding: 100px 20px;
    }
    
    .cta-title-unique {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .welcome-note-section {
        padding: 80px 15px 70px;
    }
    
    .welcome-note-content {
        padding: 45px 35px 55px;
    }
    
    .welcome-greeting {
        font-size: 1.8rem;
    }
    
    .welcome-paragraph,
    .welcome-transition {
        font-size: 0.9rem;
    }
    
    .welcome-question {
        font-size: 0.95rem;
        padding-left: 18px;
        padding-top: 14px;
        padding-bottom: 14px;
    }
    
    .signature-name {
        font-size: 1.5rem;
    }
    
    .signature-tagline {
        font-size: 0.8rem;
    }
    
    .hero-title-unique {
        font-size: 2.2rem;
    }
    
    .philosophy-title {
        font-size: 1.6rem;
    }
    
    .starting-title {
        font-size: 1.6rem;
    }
    
    .element-title-unique {
        font-size: 1.3rem;
    }
    
    .point-name {
        font-size: 1.3rem;
    }
    
    .philosophy-description {
        font-size: 0.9rem;
    }
    
    .philosophy-transition {
        font-size: 0.9rem;
    }
    
    .next-steps-title {
        font-size: 1.6rem;
        margin-bottom: 35px;
    }
    
    .next-steps-timeline {
        padding-left: 25px;
    }
    
    .timeline-item-enhanced {
        padding-left: 35px;
        margin-bottom: 35px;
    }
    
    .timeline-marker-enhanced {
        left: -18px;
        width: 16px;
        height: 16px;
    }
    
    .timeline-title-enhanced {
        font-size: 1.1rem;
    }
    
    .timeline-description-enhanced {
        font-size: 0.9rem;
    }
    
    .cta-title-unique {
        font-size: 2rem;
    }
}

/* ============================================
   404 ERROR PAGE STYLES
   ============================================ */
.error-404-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    padding-top: 80px;
}

.error-404-hero {
    width: 100%;
    padding: 100px 20px;
}

.error-404-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.error-404-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.error-number {
    font-size: 8rem;
    font-weight: 700;
    color: #c48f56;
    line-height: 1;
    font-family: "IBM Plex Sans Condensed", Arial, Helvetica, sans-serif;
}

.error-message {
    font-size: 2.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.2;
}

.error-404-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-404-search {
    margin-bottom: 50px;
}

.error-404-search .search-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.error-404-search .search-field {
    flex: 1;
    padding: 16px 20px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-family: inherit;
}

.error-404-search .search-field::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.error-404-search .search-field:focus {
    outline: none;
}

.error-404-search .search-submit {
    padding: 16px 20px;
    background: rgba(196, 143, 86, 0.2);
    border: none;
    color: #c48f56;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-404-search .search-submit:hover {
    background: rgba(196, 143, 86, 0.3);
}

.error-404-links {
    margin-bottom: 40px;
}

.error-404-links-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.error-404-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.error-404-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.error-404-link:hover {
    background: rgba(196, 143, 86, 0.15);
    border-color: rgba(196, 143, 86, 0.4);
    color: #c48f56;
    transform: translateY(-2px);
}

.error-404-link svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
}

.error-404-cta {
    margin-top: 40px;
}

.error-404-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(196, 143, 86, 0.2);
    border: 1px solid rgba(196, 143, 86, 0.4);
    border-radius: 8px;
    color: #c48f56;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.error-404-button:hover {
    background: rgba(196, 143, 86, 0.3);
    border-color: rgba(196, 143, 86, 0.6);
    transform: translateY(-2px);
}

.error-404-button svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .error-404-hero {
        padding: 80px 20px;
    }
    
    .error-number {
        font-size: 6rem;
    }
    
    .error-message {
        font-size: 2rem;
    }
    
    .error-404-description {
        font-size: 1rem;
    }
    
    .error-404-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .error-404-link {
        padding: 20px 15px;
        font-size: 0.9rem;
    }
    
    .error-404-link svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .error-number {
        font-size: 5rem;
    }
    
    .error-message {
        font-size: 1.6rem;
    }
    
    .error-404-links-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(196, 143, 86, 0.2);
    border: 1px solid rgba(196, 143, 86, 0.4);
    border-radius: 50%;
    color: #c48f56;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: rgba(196, 143, 86, 0.3);
    border-color: rgba(196, 143, 86, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(196, 143, 86, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
    
    .scroll-to-top svg {
        width: 18px;
        height: 18px;
    }
}

/* ============================================
   MOBILE MENU BACKDROP
   ============================================ */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Enhanced Mobile Menu Animation */
@media (max-width: 968px) {
    .nav-menu {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    }
    
    .nav-menu:not(.active) {
        transform: translateX(-100%);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
}

/* ============================================
   SERVICES FLOATING CTA BUTTON (MOBILE)
   ============================================ */
.services-floating-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: none; /* Hidden on desktop */
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(196, 143, 86, 0.95);
    border: 1px solid rgba(196, 143, 86, 0.5);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 998;
    box-shadow: 0 4px 20px rgba(196, 143, 86, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.services-floating-cta:hover {
    background: rgba(196, 143, 86, 1);
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 25px rgba(196, 143, 86, 0.5);
    color: #ffffff;
}

.services-floating-cta svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .services-floating-cta {
        display: flex;
    }
}

@media (max-width: 480px) {
    .testimonials-filters-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .testimonials-search {
        max-width: 100%;
        width: 100%;
    }
    
    .testimonials-filters {
        width: 100%;
        justify-content: center;
    }
}

/* Internal Links Styling */
.internal-link {
    color: #c48f56;
    text-decoration: underline;
    text-decoration-color: rgba(196, 143, 86, 0.4);
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.internal-link:hover {
    color: #d4a866;
    text-decoration-color: rgba(196, 143, 86, 0.6);
}
    
    
    .experience-element {
        padding: 40px 30px;
    }
    
    .point-content {
        padding: 35px 25px;
    }
    
    .point-reference {
        padding: 20px 25px;
    }
}

