/* 
 * Main Theme CSS
 * Ivara Innovation
 */

:root {
    --maroon: #4a0e0e;
    --ocean: #1a2a3a;
    --gold: #c5a059;
    --mist: #d9d4cf;
    --surface: #f9f9f9;
    --charcoal: #1a1a1a;
    --forest: #2d5a42;
    --grounded: #a62626;
    --bs-btn-color: var(--maroon) !important;
}

/* Typography */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--surface);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.brand-font {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
}
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    opacity: .8;
}

/* Buttons */
.btn-gold {
    background-color: var(--gold) !important;
    color: white !important;
    border: none !important;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    transform: translateY(-3px);
    background-color: #b38e4a !important;
    color: white;
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

.btn-ocean {
    background-color: var(--ocean) !important;
    color: white !important;
    border: none !important;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-ocean:hover {
    background-color: #2a3a4a !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(26, 42, 58, 0.3);
}

.btn-outline-gold {
    border: 1px solid var(--gold) !important;
    color: var(--gold) !important;
    background: transparent;
}

.btn-outline-gold:hover {
    background: var(--gold) !important;
    color: white !important;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--mist);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.navbar .nav-link {
    color: var(--surface) !important;
    font-weight: 600;
    transition: color 0.3s;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--mist) !important;
}
.text-gold { color: var(--gold) !important; }
/* Text Colors */


.text-maroon { color: var(--maroon) !important; }
.text-ocean { color: var(--ocean) !important; }
.text-charcoal { color: var(--charcoal) !important; }
.text-mist { color: var(--mist) !important; }


/* Backgrounds */
.bg-gold { background-color: var(--gold) !important; }
.bg-maroon { background-color: var(--maroon) !important; }
.bg-ocean { background-color: var(--ocean) !important; }
.bg-surface { background-color: var(--surface) !important; }
.bg-mist { background-color: var(--mist) !important; }

.section-video h2, .section-services h2, .section-CTA h2 {
    color:var(--surface) !important;
}
.accordion-header button{ overflow: hidden;}
/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}
.custom-logo{ height: 60px; width: auto;}
footer .custom-logo{ height: 40px; width: auto;}
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.scroll-indicator {
    width: 30px;
    height: 50px;
    border: 2px solid var(--ocean);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 10px;
    background: var(--maroon);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

/* Animation Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }
.delay-900 { animation-delay: 0.9s; }
.delay-1000 { animation-delay: 1s; }

/* Card Styles */
.value-card {
    border: 1px solid var(--mist);
    border-radius: 2rem;
    padding: 2rem;
    transition: all 0.4s ease;
    background: white;
    height: 100%;
}

.value-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.team-img {
    filter: grayscale(1);
    transition: all 0.6s ease;
}

.team-card:hover .team-img {
    filter: grayscale(0);
    transform: scale(1.05);
}

.case-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

.case-card:hover {
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.15);
}

.transition-scale {
    transition: transform 0.8s ease;
}

.case-card:hover .transition-scale,
.blog-card:hover .transition-scale {
    transform: scale(1.05);
}

/* Blog Card */
.blog-card {
    transition: all 0.4s ease;
    border: 1px solid var(--mist);
}

.blog-card:hover {
    border-color: var(--maroon);
    box-shadow: 0 25px 40px -15px rgba(26, 42, 58, 0.15);
}

.category-tag {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

/* Filter Buttons */
.filter-btn {
    background: transparent;
    border: 1px solid var(--mist);
    color: var(--ocean);
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--maroon);
    border-color: var(--maroon);
    color: white;
}

/* Process Steps */
.process-node {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 1.5rem;
    border: 1px solid var(--mist);
    transition: all 0.3s ease;
}

.process-node:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.process-number {
    position: absolute;
    top: -15px;
    left: 30px;
    width: 35px;
    height: 35px;
    background: var(--maroon);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.9rem;
}

/* Accordion Styles */
.accordion-button {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--ocean) !important;
    background-color: white !important;
}

.accordion-button:not(.collapsed) {
    color: var(--maroon) !important;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--gold);
}

/* Form Styles */
.form-control,
.form-select {
    border: 1px solid var(--mist);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(197, 160, 89, 0.25);
}

.form-control-lg,
.form-select-lg {
    padding: 1rem 2rem;
}

textarea.form-control {
    border-radius: 20px;
}

.form-label {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    color: var(--ocean);
    margin-bottom: 0.5rem;
}

/* Social Icons */
.social-circle {
    border: 1px solid var(--mist);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ocean);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-circle:hover {
    background: var(--maroon);
    color: white;
    border-color: var(--maroon);
    transform: translateY(-3px);
}

/* Hover Effects */
.hover-maroon:hover {
    color: var(--maroon) !important;
}

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

/* Utility Classes */
.tracking-widest {
    letter-spacing: 0.2em;
}

.tracking-wider {
    letter-spacing: 0.1em;
}

.rounded-4 {
    border-radius: 1.5rem !important;
}

.rounded-5 {
    border-radius: 2.5rem !important;
}

.filter-blur-3xl {
    filter: blur(72px);
}

.object-fit-cover {
    object-fit: cover;
}

/* WordPress Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.gallery-item {
    margin: 0;
}

.gallery-icon img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1, .display-1 {
        font-size: 2.5rem !important;
    }
    
    h2, .display-2 {
        font-size: 2.2rem !important;
    }
    
    h3, .display-3 {
        font-size: 2rem !important;
    }
    
    h4, .display-4 {
        font-size: 1.8rem !important;
    }
    
    h5, .display-5 {
        font-size: 1.5rem !important;
    }
    
    h6, .display-6 {
        font-size: 1.2rem !important;
    }
    
    .lead {
        font-size: 1.1rem !important;
    }
}
/* ==========================================================================
   Logo Slider Styling (Brand Colors - Faster & Larger)
   ========================================================================== */

.logo-slider-section {
    background: var(--surface);
    padding: 60px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    border-top: 1px solid var(--mist);
    border-bottom: 1px solid var(--mist);
}

/* Gradient Fade Edges with brand colors */
.logo-slider-section::before,
.logo-slider-section::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-slider-section::before {
    left: 0;
    background: linear-gradient(to right, var(--surface), rgba(249, 249, 249, 0));
}

.logo-slider-section::after {
    right: 0;
    background: linear-gradient(to left, var(--surface), rgba(249, 249, 249, 0));
}

.logo-slider-container {
    display: flex;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

.logo-slide-track {
    display: flex;
    animation: scrollLogos 30s linear infinite; /* Faster: 40s → 30s */
    width: max-content;
}

.slide-item {
    flex: 0 0 auto;
    width: 240px; /* Larger: 200px → 240px */
    height: 140px; /* Larger: 100px → 140px */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 25px; /* Slightly reduced padding to accommodate larger logos */
    transition: all 0.3s ease; /* Faster: 0.6s → 0.3s */
}

.slide-item img {
    max-width: 100%;
    max-height: 100px; /* Larger: 60px → 100px */
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); /* Faster: 0.4s → 0.2s */
}

/* Hover effect with brand maroon - faster */
.slide-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.15); /* Slightly larger scale on hover */
    transition: all 0.15s ease; /* Very fast hover transition */
}

/* Optional: Add maroon tint on hover */
.slide-item:hover {
    background: linear-gradient(180deg, transparent, rgba(74, 14, 14, 0.02));
    transition: background 0.2s ease;
}

/* Animation - faster */
@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.logo-slider-section:hover .logo-slide-track {
    animation-play-state: paused;
}

/* Gold accent for special items (optional - if you want to highlight certain logos) */
.slide-item.featured img {
    filter: grayscale(50%) sepia(20%);
    opacity: 0.8;
}

.slide-item.featured:hover img {
    filter: grayscale(0%) sepia(0%);
    transform: scale(1.2); /* Larger scale for featured items */
}

/* Responsive adjustments - adjusted for larger logos */
@media (max-width: 1200px) {
    .slide-item {
        width: 220px; /* Adjusted from 180px */
        height: 130px; /* Adjusted from 100px */
        padding: 0 20px;
    }
    
    .slide-item img {
        max-height: 90px; /* Adjusted from 50px */
    }
}

@media (max-width: 992px) {
    .slide-item {
        width: 200px; /* Adjusted from 160px */
        height: 120px; /* Adjusted from 100px */
        padding: 0 15px;
    }
    
    .slide-item img {
        max-height: 80px; /* Adjusted from 50px */
    }
}

@media (max-width: 768px) {
    .logo-slider-section {
        padding: 40px 0;
    }
    
    .logo-slider-section::before,
    .logo-slider-section::after {
        width: 60px;
    }
    
    .logo-slider-section::before {
        background: linear-gradient(to right, var(--surface), rgba(249, 249, 249, 0));
    }
    
    .logo-slider-section::after {
        background: linear-gradient(to left, var(--surface), rgba(249, 249, 249, 0));
    }
    
    .slide-item {
        width: 180px; /* Adjusted from 140px */
        height: 100px; /* Adjusted from 100px */
        padding: 0 12px;
    }
    
    .slide-item img {
        max-height: 70px; /* Adjusted from 40px */
    }
    
    @keyframes scrollLogos {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }
}

@media (max-width: 576px) {
    .logo-slider-section {
        padding: 30px 0;
    }
    
    .logo-slider-section::before,
    .logo-slider-section::after {
        width: 40px;
    }
    
    .slide-item {
        width: 150px; /* Adjusted from 120px */
        height: 80px; /* Adjusted from 100px */
        padding: 0 10px;
    }
    
    .slide-item img {
        max-height: 55px; /* Adjusted from 35px */
    }
}

/* Optional: Add a subtle maroon border on hover for container - faster */
.logo-slider-section:hover {
    border-top-color: var(--maroon);
    border-bottom-color: var(--maroon);
    transition: border-color 0.2s ease; /* Faster: 0.3s → 0.2s */
}

/* Alternative: Gold version on hover (uncomment to use gold instead) */
/*
.logo-slider-section:hover {
    border-top-color: var(--gold);
    border-bottom-color: var(--gold);
}
*/

/* Optional: Ocean version on hover */
/*
.logo-slider-section:hover {
    border-top-color: var(--ocean);
    border-bottom-color: var(--ocean);
}
*/

/* Dark mode with brand charcoal */
@media (prefers-color-scheme: dark) {
    .logo-slider-section {
        background: var(--maroon);
        border-top-color: var(--ocean);
        border-bottom-color: var(--ocean);
    }
    
     
    .slide-item img {
        filter: grayscale(50%) brightness(2.8);
        opacity: 0.7;
    }
    
    .slide-item:hover img {
        filter: grayscale(0%) brightness(1);
    }
}
.mobile-vid-container{position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;aspect-ratio: 9 / 16; position: relative;}
.mobile-overlay{background:url('../images/desktop-iphone.png') center center/cover no-repeat; height: 100%; border-radius: 1rem; position: relative; overflow: hidden; z-index: 3;
    aspect-ratio: 9 / 16;}
.vid-container{ padding: 14px 25px; aspect-ratio: 9 / 16; position: absolute; top:0; width: 100%;height: 100%; z-index: 2;}

.scroll-indicator-container{position: absolute; bottom: 7rem; left: 50%; transform: translateX(-50%); z-index: 5;}


.fw-black {
    font-weight: 900;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.tracking-tighter {
    letter-spacing: -0.05em;
}

.hover-text-secondary:hover {
    color: var(--bs-secondary) !important;
}

.transition-colors {
    transition: color 0.2s ease-in-out;
}



/* For the blur effect */

.filter-blur {
    filter: blur(100px);
}
.cta-title>span {
   color:var(--gold)
}

.video-trigger-container {
    background-color: #000; /* Prevent white flash */
}

.video-overlay-stop-interface {
    display: none !important;
}
.video-overlay-stop-interface.stop-inline-btn{
    display: flex !important;
}
.video-trigger-container .video-overlay-stop-interface {
    opacity: 0;
}
.video-trigger-container:hover .video-overlay-stop-interface {
    display: block;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.video-poster-image, 
.video-overlay-interface {
    transition: opacity 0.4s ease;
}

.main-video-element {
    z-index: 0;
}

.video-poster-image {
    z-index: 1;
}

.video-overlay-interface {
    z-index: 2;
}
.play-button,.stop-button{  
    width: 80px;
    height: 80px;
}

.project-image img{ aspect-ratio: 3/2;}
.swiper-slide.swiper-slide-next .card { background-color: var(--ocean) !important; color:var(--surface) !important; transition: all 0.5s ease;}
.swiper-slide.swiper-slide-next .card h6 {color:var(--surface) !important;}
.review-slider{padding:50px 15px;}
.cta-box h2{color: var(--surface) !important;}
footer .custom-logo-link img{filter: invert(1);}
.key-features ul {padding: 0;}
.key-features ul li{list-style: none; border-bottom: 1px solid #eee; padding: 9px 12px;}
.key-features ul li:before{
  content: "\2713"; /* Unicode for ✔ */
  margin-right: 15px;  /* Optional spacing */
  color: var(--gold);      /* Optional styling */
  font-weight: bold;
}


 .detail-header {
            padding-top: 180px;
            padding-bottom: 60px;
            background: linear-gradient(to bottom, #fff, var(--surface));
        }

        /* Hero Image */
        .hero-img-wrapper {
            border-radius: 3rem;
            overflow: hidden;
            box-shadow: 0 30px 60px rgba(0,0,0,0.1);
            height: 500px;
            position: relative;
        }
        .hero-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Deliverables Card */
        .deliverables-card {
            background: white;
            border: 1px solid var(--mist);
            border-radius: 2rem;
            padding: 3rem;
            position: sticky;
            top: 120px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.03);
        }
        .deliverables-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .deliverables-list li {
            padding: 1rem 0;
            border-bottom: 1px solid var(--mist);
            display: flex;
            align-items: flex-start;
        }
        .deliverables-list li:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }
        .deliverables-list i {
            color: var(--gold);
            margin-right: 15px;
            margin-top: 5px;
            font-size: 1.2rem;
        }

        /* Methodology steps */
        .method-step {
            display: flex;
            margin-bottom: 2rem;
        }
        .method-number {
            font-family: 'Montserrat', sans-serif;
            font-size: 3rem;
            font-weight: 900;
            color: var(--mist);
            line-height: 1;
            margin-right: 1.5rem;
            transition: color 0.3s ease;
        }
        .method-step:hover .method-number {
            color: var(--maroon);
        }

        /* Tech Stack */
        .tech-icon {
            width: 60px;
            height: 60px;
            background: white;
            border-radius: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: var(--ocean);
            border: 1px solid var(--mist);
            transition: all 0.3s;
        }
        .tech-icon:hover {
            transform: translateY(-5px);
            border-color: var(--gold);
            color: var(--maroon);
            box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        }

        .cta-box {
            background-color: var(--ocean);
            border-radius: 4rem;
            padding: 6rem 2rem;
            position: relative;
            overflow: hidden;
        }

        .tracking-widest { letter-spacing: 0.1em; }

         /* Hero Image */
        .hero-img-wrapper {
            border-radius: 3rem;
            overflow: hidden;
            box-shadow: 0 30px 60px rgba(0,0,0,0.1);
            height: 500px;
            position: relative;
        }
        .hero-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Content Formatting */
        .article-content h2 {
            color: var(--ocean);
            font-weight: 900;
            margin-top: 3rem;
            margin-bottom: 1.5rem;
            font-size: 2.2rem;
        }
        .article-content p {
            color: var(--charcoal);
            font-size: 1.15rem;
            line-height: 1.8;
            margin-bottom: 1.5rem;
            opacity: 0.8;
        }
        
        /* Image Grid within Case Study */
        .showcase-img {
            border-radius: 1.5rem;
            width: 100%;
            object-fit: cover;
            aspect-ratio: 4/3;
            box-shadow: 0 15px 35px rgba(0,0,0,0.05);
            transition: transform 0.5s ease;
        }
        .showcase-img:hover {
            transform: translateY(-5px);
        }

        /* Blockquote */
        .testimonial-quote {
            background: white;
            border-left: 4px solid var(--gold);
            padding: 2.5rem;
            border-radius: 0 1.5rem 1.5rem 0;
            margin: 3rem 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.03);
        }
        .testimonial-quote p {
            font-size: 1.25rem;
            font-weight: 500;
            font-style: italic;
            color: var(--ocean);
            margin-bottom: 1rem;
        }

        /* Project Meta Card (Sticky) */
        .project-meta-card,.contact-meta-card {
            background: white;
            border: 1px solid var(--mist);
            border-radius: 2rem;
            padding: 3rem;
            position: sticky;
            top: 120px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.03);
        }
        .meta-group {
            margin-bottom: 2rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid var(--mist);
        }
        .meta-group:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        .meta-label {
            font-size: 0.75rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--mist);
            color: #a09d9a; /* slightly darker mist */
            margin-bottom: 0.5rem;
        }
        .meta-value {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--ocean);
            margin: 0;
        }
        
        /* Highlight Metrics */
        .metric-item {
            display: flex;
            align-items: center;
            margin-bottom: 1.2rem;
        }
        .metric-item:last-child { margin-bottom: 0; }
        .metric-value {
            font-size: 2.5rem;
            font-weight: 900;
            font-family: 'Montserrat', sans-serif;
            color: var(--maroon);
            margin-right: 1rem;
            line-height: 1;
            min-width: 80px;
        }
        .metric-label {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--charcoal);
            line-height: 1.2;
        }

        .cta-box {
            background-color: var(--ocean);
            border-radius: 4rem;
            padding: 6rem 2rem;
            position: relative;
            overflow: hidden;
        }

        .tracking-widest { letter-spacing: 0.1em; }
        /* Header Section */
        .article-header {
            padding-top: 180px;
            padding-bottom: 60px;
            background: linear-gradient(to bottom, #fff, var(--surface));
        }

        .category-tag {
            font-size: 0.75rem;
            letter-spacing: 0.15em;
            font-weight: 800;
            text-transform: uppercase;
            color: var(--gold);
            background: rgba(197, 160, 89, 0.1);
            padding: 0.4rem 1rem;
            border-radius: 2rem;
            display: inline-block;
        }

        .meta-info {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--charcoal);
            opacity: 0.6;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Hero Image */
        .hero-img-wrapper {
            border-radius: 3rem;
            overflow: hidden;
            box-shadow: 0 30px 60px rgba(0,0,0,0.1);
            height: 500px;
            position: relative;
        }
        .hero-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Article Formatting */
        .article-content {
            font-size: 1.15rem;
            line-height: 1.9;
            color: var(--charcoal);
        }
        /* Drop cap for first paragraph */
        .article-content > p:first-of-type::first-letter {
            font-family: 'Montserrat', sans-serif;
            font-weight: 900;
            font-size: 4rem;
            color: var(--maroon);
            float: left;
            line-height: 0.8;
            margin-right: 0.5rem;
            margin-top: 0.2rem;
        }
        .article-content h2 {
            color: var(--ocean);
            font-weight: 900;
            margin-top: 3.5rem;
            margin-bottom: 1.5rem;
            font-size: 2.2rem;
        }
        .article-content h3 {
            color: var(--ocean);
            font-weight: 800;
            margin-top: 2.5rem;
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }
        .article-content p {
            margin-bottom: 1.8rem;
            opacity: 0.85;
        }
        
        /* Inline Images */
        .article-img {
            border-radius: 1.5rem;
            width: 100%;
            margin: 2.5rem 0;
            box-shadow: 0 15px 35px rgba(0,0,0,0.05);
        }

        /* Blockquote */
        .article-quote {
            background: white;
            border-left: 4px solid var(--gold);
            padding: 2.5rem;
            border-radius: 0 1.5rem 1.5rem 0;
            margin: 3rem 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.03);
        }
        .article-quote p {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.4rem;
            font-weight: 800;
            color: var(--maroon);
            margin-bottom: 0;
            line-height: 1.4;
        }

        /* Sticky Sidebar Area */
        .sidebar-sticky {
            position: sticky;
            top: 120px;
        }

        /* Author Card */
        .author-card {
            background: white;
            border: 1px solid var(--mist);
            border-radius: 2rem;
            padding: 2.5rem;
            box-shadow: 0 20px 40px rgba(0,0,0,0.03);
            text-align: center;
            margin-bottom: 2rem;
        }
        .author-img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 1.5rem;
            border: 3px solid var(--mist);
        }

        /* Share Links */
        .share-box {
            background: white;
            border: 1px solid var(--mist);
            border-radius: 2rem;
            padding: 2rem;
            box-shadow: 0 20px 40px rgba(0,0,0,0.03);
        }
        .share-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            border: 1px solid var(--mist);
            color: var(--ocean);
            font-size: 1.2rem;
            transition: all 0.3s ease;
            text-decoration: none;
        }
        .share-btn:hover {
            background-color: var(--maroon);
            border-color: var(--maroon);
            color: white;
            transform: translateY(-3px);
        }

        /* Related Articles Card */
        .related-card {
            border: 1px solid var(--mist);
            border-radius: 1.5rem;
            overflow: hidden;
            background: white;
            transition: all 0.4s ease;
            height: 100%;
        }
        .related-card:hover {
            border-color: var(--gold);
            box-shadow: 0 15px 30px rgba(0,0,0,0.05);
        }
        .related-img {
            aspect-ratio: 16/9;
            width: 100%;
            object-fit: cover;
        }
        
        .tracking-widest { letter-spacing: 0.1em; }

        /* Related Articles Styling */
.related-articles-section {
    position: relative;
    overflow: hidden;
}

.related-card {
    border: 1px solid var(--mist);
    border-radius: 1.5rem;
    overflow: hidden;
    background: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
   
}

.related-card:hover {
    border-color: var(--gold);
}

.related-img-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.related-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    border-radius: 25px;
}

.related-card:hover .related-img {
    transform: scale(1.05);
     border-radius: 25px;
}

.related-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gold);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 1rem;
    border-radius: 2rem;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.related-content {
    background: white;
    position: relative;
    z-index: 1;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.related-card:hover .read-more-link {
    transform: translateX(5px);
}

.read-more-link i {
    transition: transform 0.3s ease;
}

.related-card:hover .read-more-link i {
    transform: translateX(3px);
}

/* Hover effect for titles */
.hover-maroon {
    transition: color 0.3s ease;
}

.related-card:hover .hover-maroon {
    color: var(--maroon) !important;
}

/* Carousel indicators styling */
.carousel-indicators {
    bottom: -30px;
    gap: 0.5rem;
}

.carousel-indicators button {
    width: 40px !important;
    height: 4px !important;
    border-radius: 4px !important;
    background-color: var(--mist) !important;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    opacity: 1;
    background-color: var(--gold) !important;
    width: 60px !important;
}

/* Carousel controls */
.carousel-control-prev,
.carousel-control-next {
    width: auto;
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 1.2rem;
    filter: none;
}

/* View all button */
.btn-outline-gold {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .related-card {
        margin-bottom: 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

/* Toast Container */
.toast-container {
    z-index: 9999;
}

/* Custom Toast Styling */
.toast {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    min-width: 300px;
    opacity: 0.95;
}

.toast-header {
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    font-weight: 600;
    padding: 12px 16px;
}

.toast-header .btn-close {
    font-size: 12px;
}

.toast-body {
    padding: 16px;
    border-radius: 0 0 10px 10px;
}

/* Success Toast */
.toast.bg-success .toast-body {
    background-color: #28a745;
}

/* Error Toast */
.toast.bg-danger .toast-body {
    background-color: #dc3545;
}

/* Warning Toast */
.toast.bg-warning .toast-body {
    background-color: #ffc107;
    color: #000;
}

/* Animation */
.toast {
    animation: slideInRight 0.3s ease-in-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 0.95;
    }
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .toast-container {
        width: 100%;
        padding: 10px;
    }
    
    .toast {
        min-width: auto;
        width: 100%;
    }
}
/* Custom Form Styling */
.cf7-custom-form {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Form Floating Labels */
.form-floating {
    margin-bottom: 1rem;
}

.form-floating > .form-control {
    border-radius: 50px;
    border: 2px solid #e9ecef;
    padding: 1rem 1.25rem;
    height: auto;
    min-height: 60px;
    transition: all 0.3s ease;
}

.form-floating > .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.form-floating > label {
    padding: 1rem 1.25rem;
    color: #6c757d;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Checkbox Styling */
.custom-checkbox {
    margin-bottom: 0.5rem;
}

.form-check {
    padding-left: 2em;
    margin-bottom: 0.5rem;
}

.form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.15em;
    margin-left: -2em;
    border: 2px solid #dee2e6;
    transition: all 0.2s ease;
}

.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.form-check-label {
    color: #495057;
    font-size: 1rem;
    margin-left: 0.5rem;
}

/* Select Styling */
.form-select-lg {
    border-radius: 50px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1.5rem;
    height: auto;
    min-height: 60px;
    background-position: right 1.5rem center;
}

.form-select-lg:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

/* Textarea Styling */
textarea.form-control {
    border-radius: 25px !important;
    height: 100px;
    padding: 1rem 1.25rem;
}

/* File Upload Styling */
.wpcf7-file {
    border: 2px dashed #dee2e6;
    border-radius: 50px;
    padding: 0.75rem;
    width: 100%;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-file:hover {
    border-color: #0d6efd;
    background: #e7f1ff;
}

/* Submit Button */
.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.4);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

/* Validation Styling */
.wpcf7-not-valid {
    border-color: #dc3545 !important;
}

.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    margin-left: 1rem;
}

.wpcf7-response-output {
    border-radius: 50px;
    padding: 1rem 1.5rem;
    margin: 2rem 0 0;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cf7-custom-form {
        padding: 20px;
    }
    
    .form-floating > .form-control {
        font-size: 16px; /* Prevents zoom on mobile */
    }
    
    .btn-primary {
        font-size: 1rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cf7-custom-form {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading Spinner */
.wpcf7-spinner {
    background-color: #0d6efd;
    opacity: 0.5;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid rgba(13, 110, 253, 0.3);
    border-top-color: #fff;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
.wpcf7-list-item{ display: block;}
.wpcf7-form-control-wrap .wpcf7-select option:first-child{ font-size: 14px;}