/* ==========================================================================
   VCABS Theme Stylesheet
   Main CSS for all theme components, sections, and utilities.
   Loaded via functions.php → wp_enqueue_style('vcabs-theme')
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #f39223;
    --secondary-color: #1a1a1a;
    --dark-color: #121212;
    --light-color: #ffffff;
    --gray-color: #7f8c8d;
    --bg-light: #f8f9fa;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

    /* Vibrant Color Palette */
    --color-blue: #4a90e2;
    --color-purple: #9b59b6;
    --color-teal: #1abc9c;
    --color-pink: #e74c7a;
    --color-cyan: #00bcd4;
    --color-green: #27ae60;
    --color-coral: #ff6b6b;
    --navbar-height: 5.5rem;
    --section-tint: #fce4ec;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--secondary-color);
    background-color: var(--light-color);
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Helper Classes */
.fw-extrabold {
    font-weight: 800;
}

.ls-md {
    letter-spacing: 1px;
}

.hover-primary:hover {
    color: var(--primary-color) !important;
}

/* Global Bootstrap Overrides - Force Orange Theme */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Global Button Styles - Ensure Orange Theme */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
    transition: var(--transition);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #e67e22 !important;
    /* Slightly darker orange */
    border-color: #e67e22 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(243, 146, 35, 0.3) !important;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
    transform: translateY(-3px);
}

/* Contact Section - Clean Background */
.contact-section {
    background: #ffffff !important;
    position: relative;
}

.contact-main-card {
    transition: var(--transition);
}

/* Contact Form 7 Fix - Make fields clickable */
.wpcf7-form-control {
    position: relative !important;
    z-index: 10 !important;
    pointer-events: auto !important;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    background-color: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    pointer-events: auto !important;
    z-index: 10 !important;
    position: relative !important;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(243, 146, 35, 0.25) !important;
    outline: none !important;
}

.wpcf7-form .wpcf7-submit {
    background-color: var(--primary-color) !important;
    border: none !important;
    color: white !important;
    padding: 12px 30px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    pointer-events: auto !important;
    z-index: 10 !important;
    position: relative !important;
}

.wpcf7-form .wpcf7-submit:hover {
    background-color: #e67e22 !important;
    transform: translateY(-2px) !important;
}

/* Navbar — Bootstrap fixed-top + scroll state */
.navbar {
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    overflow: visible;
    line-height: 0;
}

.site-logo {
    display: block;
    width: auto;
    max-width: 115px;
    max-height: none;
    height: auto;
    object-fit: contain;
}

.footer-logo {
    display: inline-block;
    max-width: 90px;
    height: auto;
}

.nav-link {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    color: #ffffff !important;
    padding: 10px 20px !important;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-top: 15px !important;
    transition: all 0.3s ease;
}

/* Hover support for dropdowns on large screens */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0 !important;
        opacity: 1;
        visibility: visible;
    }
}


.dropdown-item {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 14px;
    font-weight: 500;
}

.dropdown-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
    padding-top: var(--navbar-height);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    overflow: hidden;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--bg-url);
    background-size: cover;
    background-position: center;
    z-index: -1;
    transition: transform 10s ease-out;
}

.slide.active {
    opacity: 1;
}

.slide.active::before {
    animation: kenBurns 10s ease-out forwards;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.4));
}

.text-shadow {
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8), 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    color: #fff;
    padding: 20px;
}

.hero-content h1 {
    letter-spacing: -1px;
}

/* Common UI Components */
.header-accent {
    width: 60px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--color-blue), var(--color-cyan));
    border-radius: 10px;
    animation: accentGlow 2s ease-in-out infinite;
}

@keyframes accentGlow {
    0%,
    100% {
        box-shadow: 0 0 10px rgba(243, 146, 35, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(243, 146, 35, 0.8);
    }
}

/* Founder Section - Premium Obsidian Theme */
.founder-section {
    background: linear-gradient(135deg, #0a0a0b 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

/* Vibrant Multi-Color Background Glows */
.founder-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(156, 89, 182, 0.2) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
}

.founder-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.15) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

.founder-section .section-content-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(26, 188, 156, 0.1) 0%, transparent 70%);
    bottom: 20%;
    right: 10%;
    border-radius: 50%;
    filter: blur(70px);
    z-index: 0;
}

.founder-image-container {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.founder-image-container:hover {
    border-color: rgba(243, 146, 35, 0.5);
    background: rgba(243, 146, 35, 0.05);
    transform: translateY(-10px);
}

.founder-badge {
    background: #f39223 !important;
    color: #fff !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 40px rgba(243, 146, 35, 0.3) !important;
    border: none !important;
}

.founder-section h2 {
    color: #ffffff;
}

.founder-section .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.mission-box-premium {
    background: linear-gradient(145deg, rgba(74, 144, 226, 0.08) 0%, rgba(155, 89, 182, 0.08) 100%);
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 35px;
    padding: 40px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-box-premium:hover {
    background: linear-gradient(145deg, rgba(74, 144, 226, 0.15) 0%, rgba(155, 89, 182, 0.1) 100%);
    border: 2px solid var(--color-purple);
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(74, 144, 226, 0.2);
}

.mission-box-premium h3 {
    color: var(--primary-color);
    font-weight: 800;
}

.mission-icon-glow {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2), rgba(155, 89, 182, 0.2));
    color: var(--color-blue);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.3);
    transition: var(--transition);
    border: 2px solid rgba(74, 144, 226, 0.4);
}

.mission-box-premium:hover .mission-icon-glow {
    background: linear-gradient(135deg, var(--color-blue), var(--color-purple));
    color: #fff;
    box-shadow: 0 0 40px rgba(74, 144, 226, 0.6);
    transform: rotate(10deg) scale(1.1);
    border-color: var(--color-purple);
}

.quote-accent {
    font-size: 1.25rem;
    color: #fff;
    opacity: 0.9;
    border-left: 4px solid var(--primary-color);
    line-height: 1.8;
}

.youtube-btn {
    transition: var(--transition);
}

.youtube-btn:hover {
    background-color: #cc0000 !important;
    transform: translateY(-3px);
}

.submit-btn {
    transition: var(--transition);
}

.transition-all {
    transition: all 0.3s ease;
}

.transition-3d:hover {
    transform: translateY(-5px) scale(1.02);
}

.hover-bg-white-opacity:hover {
    background: rgba(255, 255, 255, 0.05);
}

.modern-form .form-control:focus {
    background: #fff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.modern-form .form-floating>label {
    transition: all 0.2s ease;
    opacity: 0.8;
}

.modern-form .form-floating>.form-control:focus~label,
.modern-form .form-floating>.form-control:not(:placeholder-shown)~label {
    color: var(--primary-color) !important;
    opacity: 1;
    font-weight: 800;
}

/* Responsive UI Fixes */
@media (max-width: 991px) {
    .nav-links-wrap {
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 25px !important;
        border-radius: 15px;
        margin-top: 15px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.1);
        max-height: 70vh;
        overflow-y: auto;
    }

    .nav-link {
        border-radius: 8px;
        margin-bottom: 5px;
        padding: 12px 20px !important;
    }
    
    /* Let Bootstrap handle dropdowns naturally - no overrides */
}

.bi-list {
    color: #fff !important;
}

/* Client Logos Marquee Section */
.client-section {
    background-color: #fff;
    overflow: hidden;
    padding: 60px 0;
}

/* Text Marquee Section */
.text-marquee-wrapper {
    white-space: nowrap;
    position: relative;
    user-select: none;
}

.text-marquee-scroll {
    display: inline-flex;
    animation: text-marquee-scroll-left 40s linear infinite;
}

.text-marquee-scroll:hover {
    animation-play-state: paused;
}

@keyframes text-marquee-scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-section {
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@keyframes blob-float {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    100% {
        transform: translate(50px, 40px) scale(1.15) rotate(90deg);
    }
}

/* Client Logos Marquee Section - Premium Colorful Theme */
.client-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #7e8ba3 100%);
    overflow: hidden;
    padding: 100px 0;
    position: relative;
}

/* Enhanced overlay with colorful gradients */
.client-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(74, 144, 226, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(26, 188, 156, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.client-section h2 {
    color: #fff !important;
    position: relative;
    z-index: 2;
}

.client-marquee-container {
    padding: 60px 0;
    position: relative;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 50px;
    z-index: 2;
}

.client-marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    gap: 50px;
    min-width: 100%;
    animation: client-scroll-left 50s linear infinite;
}

.client-marquee-container:hover .client-marquee-content {
    animation-play-state: paused;
}

.logo-item {
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: transparent;
    border: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.logo-item:hover {
    transform: translateY(-10px) scale(1.1);
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.logo-item:hover img {
    transform: scale(1.1);
}

@keyframes client-scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Video Section - Modern Side-by-Side */
.video-section-modern {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.video-section-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.video-section-modern>div {
    position: relative;
    z-index: 2;
}

.video-modern-frame {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.video-modern-frame:hover {
    transform: scale(1.02) rotate(1deg);
}

.video-container-box {
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
}

.frame-decoration {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(50px);
    z-index: 0;
}

.video-section-modern .display-5 {
    line-height: 1.1;
    letter-spacing: -1px;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.video-section-modern .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Video Glass Morphism Container */
.video-glass-container {
    position: relative;
    z-index: 2;
}

.video-glass-box {
    max-width: 1000px;
    margin: 0 auto;
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

.video-glass-box .ratio {
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.video-glass-box:hover .ratio {
    transform: scale(1.02);
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.4) !important;
}

/* Glass Morphism Panel */
.glass-panel {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15) !important;
    animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.glass-panel-overlay {
    z-index: 10;
}

.video-play-indicator {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 10px 30px rgba(74, 144, 226, 0.6);
    }
}


@media (max-width: 991px) {
    .video-modern-frame:hover {
        transform: none;
    }

    .glass-panel {
        padding: 20px !important;
    }

    .glass-panel h3 {
        font-size: 1.2rem !important;
    }

    .glass-panel p {
        font-size: 0.85rem !important;
    }

    .glass-panel-overlay {
        bottom: 20px !important;
        left: 20px !important;
        right: 20px !important;
    }
}

/* ========================================
   VIBRANT COLOR ENHANCEMENT STYLES
   ======================================== */

/* Founder Section - Enhanced Colorful Glows */
.founder-section {
    background: linear-gradient(135deg, #0a0a0b 0%, #1a1a2e 50%, #16213e 100%) !important;
}

.founder-section::before {
    background: radial-gradient(circle, rgba(156, 89, 182, 0.2) 0%, transparent 70%) !important;
}

.founder-section::after {
    background: radial-gradient(circle, rgba(74, 144, 226, 0.15) 0%, transparent 70%) !important;
}

/* Enhanced Mission Box with Colorful Gradient */
.mission-box-premium {
    background: linear-gradient(145deg, rgba(74, 144, 226, 0.08) 0%, rgba(155, 89, 182, 0.08) 100%) !important;
    border: 2px solid rgba(74, 144, 226, 0.3) !important;
    box-shadow: 0 10px 40px rgba(74, 144, 226, 0.1) !important;
}

.mission-box-premium:hover {
    background: linear-gradient(145deg, rgba(74, 144, 226, 0.15) 0%, rgba(155, 89, 182, 0.1) 100%) !important;
    border-color: var(--color-purple) !important;
    box-shadow: 0 20px 60px rgba(74, 144, 226, 0.2) !important;
}

/* Enhanced Mission Icon with Gradient */
.mission-icon-glow {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2), rgba(155, 89, 182, 0.2)) !important;
    color: var(--color-blue) !important;
    border: 2px solid rgba(74, 144, 226, 0.4) !important;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.3) !important;
}

.mission-box-premium:hover .mission-icon-glow {
    background: linear-gradient(135deg, var(--color-blue), var(--color-purple)) !important;
    color: #fff !important;
    box-shadow: 0 0 40px rgba(74, 144, 226, 0.6) !important;
    border-color: var(--color-purple) !important;
    transform: rotate(10deg) scale(1.1) !important;
}

/* Container positioning for z-index */
.founder-section>* {
    position: relative;
    z-index: 2;
}

.video-section-modern>* {
    position: relative;
    z-index: 2;
}

/* Text styling enhancements for colorful sections */
.founder-section .section-header {
    position: relative;
    z-index: 3;
}

.founder-section .display-5 {
    background: linear-gradient(135deg, var(--secondary-color), var(--color-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   SHARED THEME UTILITIES (Refactored)
   ======================================== */

/* Inner page heroes — clear fixed navbar + room for CTA button */
.hero-section,
.tp-hero-section {
    position: relative;
    overflow: hidden;
    padding-top: var(--navbar-height);
    padding-bottom: 2.5rem;
    box-sizing: border-box;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none !important;
    transition: none !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-section .container,
.tp-hero-section .container {
    position: relative;
    z-index: 2;
    padding-top: 2rem;
    padding-bottom: 3rem;
}

/* Text gradient utilities */
.text-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), #ffb347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-primary.display-1 {
    font-size: inherit;
    line-height: inherit;
}

.text-gradient-red {
    background: linear-gradient(135deg, #ff6b6b, #c44569);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.animate-up {
    animation: fadeInUpTheme 0.8s ease forwards;
}

.blob-colorful {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    z-index: 1;
    pointer-events: none;
}

.blob-1 {
    top: -10%;
    right: -10%;
    background: rgba(243, 146, 35, 0.6);
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    background: rgba(74, 144, 226, 0.5);
}

.underline-red::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, #ff416c, #ff4b2b);
    border-radius: 5px;
}

/* Taller heroes so heading + CTA are never clipped (all service pages) */
.min-vh-60 {
    min-height: max(82vh, 680px);
}

.min-vh-70 {
    min-height: max(88vh, 760px);
}

@media (max-width: 767.98px) {
    .min-vh-60 {
        min-height: max(88vh, 620px);
    }

    .min-vh-70 {
        min-height: max(92vh, 700px);
    }
}

/* Static hero images — no zoom on hover/scroll (service pages) */
.hero-section .scale-110,
.tp-hero-section .scale-110,
.hero-section:hover .scale-110,
.tp-hero-section:hover .scale-110 {
    transform: none !important;
    transition: none !important;
}

@keyframes fadeInUpTheme {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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


/* Border Utilities */
.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

@media (min-width: 992px) {
    .border-start-lg {
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
}

.project-item {
    padding-left: 20px;
    position: relative;
    color: #444;
}

.project-item .dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(243, 146, 35, 0.4);
}

.category-icon-box {
    width: 55px;
    height: 55px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}


/* Service/Expertise Detail Pages Shared Styles */
.benefit-card-wrapper {
    perspective: 1000px;
}

.benefit-card {
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
    background: #fff;
}

.benefit-card:hover {
    transform: translateY(-15px) rotateX(2deg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1) !important;
}

.benefit-img-wrapper img {
    transition: transform 0.6s ease;
}

.benefit-card:hover .benefit-img-wrapper img {
    transform: scale(1.1);
}

.benefit-img-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.benefit-card:hover .benefit-img-overlay {
    opacity: 0.5;
}

.icon-box-floating {
    position: absolute;
    bottom: -25px;
    right: 25px;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 2;
    transition: all 0.3s ease;
}

.benefit-card:hover .icon-box-floating {
    transform: translateY(-5px) scale(1.1) rotate(5deg);
}

/* Color Specific Shared Styles */
.bg-gradient-blue {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.8), rgba(53, 122, 189, 0.9));
}

.bg-gradient-green {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.8), rgba(33, 145, 80, 0.9));
}

.bg-gradient-cyan {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.8), rgba(0, 151, 167, 0.9));
}

.bg-gradient-warning {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.8), rgba(211, 84, 0, 0.9));
}

.bg-gradient-pink {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.8), rgba(192, 57, 43, 0.9));
}

.bg-gradient-purple {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.8), rgba(142, 68, 173, 0.9));
}

.text-blue {
    color: #4a90e2 !important;
}

.text-green {
    color: #27ae60 !important;
}

.text-cyan {
    color: #00bcd4 !important;
}

.text-pink {
    color: #e74c3c !important;
}

.text-purple {
    color: #9b59b6 !important;
}

.bg-blue {
    background: #4a90e2 !important;
}

.bg-green {
    background: #27ae60 !important;
}

.bg-cyan {
    background: #00bcd4 !important;
}

.bg-warning {
    background: #f39c12 !important;
}

.bg-pink {
    background: #e74c3c !important;
}

.bg-purple {
    background: #9b59b6 !important;
}

@media (max-width: 991px) {
    .display-1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .display-1 {
        font-size: 2.5rem;
    }
}

/* Section tint backgrounds (shared across service pages) */
#benefits,
#branding,
#finance,
#research,
#blog-grid,
#project-list,
#qualities,
#vlogs,
#team-philosophy {
    background-color: var(--section-tint) !important;
}

#benefits .benefit-card,
#branding .benefit-card,
#finance .benefit-card,
#research .benefit-card,
#qualities .benefit-card,
#team-philosophy .bg-light.shadow-hover,
#team-philosophy .rounded-4.border {
    background-color: #fff !important;
}

.cta-card {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%) !important;
}

/* Blog cards */
.blog-image-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-color: rgba(0, 0, 0, 0.05) !important;
}

.blog-image-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.blog-image-box img {
    transition: transform 0.3s ease;
}

.blog-image-box:hover img {
    transform: scale(1.05);
}

/* WYSIWYG content blocks */
.rel-wysiwyg-content ul,
.ai-custom-content ul {
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
}

.rel-wysiwyg-content li,
.ai-custom-content li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.rel-wysiwyg-content strong {
    color: #333;
}

.custom-wysiwyg-content ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.custom-wysiwyg-content li {
    margin-bottom: 8px;
}

.custom-wysiwyg-content p {
    margin-bottom: 1rem;
}

/* Tourism policy page */
.tp-hero-overlay {
    background: linear-gradient(135deg, rgba(10, 10, 11, 0.85) 0%, rgba(26, 26, 46, 0.65) 100%);
}

.tp-label-pill {
    display: inline-block;
    background: rgba(243, 146, 35, 0.12);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    border: 1px solid rgba(243, 146, 35, 0.25);
}

.tp-policy-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tp-policy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

.tp-card-img-wrap {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.tp-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tp-policy-card:hover .tp-card-img {
    transform: scale(1.07);
}

.tp-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, transparent 60%);
}

.tp-year-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 50px;
}

.tp-icon-wrap {
    width: 44px;
    height: 44px;
    background: rgba(243, 146, 35, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tp-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff !important;
    background: linear-gradient(135deg, var(--primary-color), #e07d10);
    padding: 10px 22px;
    border-radius: 8px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.tp-view-btn:hover {
    opacity: 0.88;
    transform: translateX(3px);
    color: #fff !important;
}


.bg-white-5 { background: rgba(255, 255, 255, 0.05); }
.bg-gradient-dark-primary {
    background: linear-gradient(135deg, rgba(20, 20, 25, 1) 0%, rgba(30, 30, 40, 0.9) 100%);
    border: 1px solid rgba(243, 146, 35, 0.2);
}
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); }
.skew-effect { transform: skewY(-2deg); transition: transform 0.5s ease; }
.skew-effect:hover { transform: skewY(0deg); }
.shadow-hover-lg:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: var(--primary-color) !important;
}

.bg-gradient-overlay-dark {
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0) 100%);
}

.org-head-card {
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.org-head-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-color);
}

.group-hover-scale {
    transition: transform 0.6s ease;
}

.org-head-card:hover .group-hover-scale {
    transform: scale(1.1);
}

.shadow-hover:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05) !important;
    background: #fff !important;
    border: 1px solid var(--primary-color);
}