/**
 * Kobenan Consulting - Animations CSS
 *
 * @package Kobenan Consulting
 * @since 1.0.0
 */

/* ============================================
   GLOBAL STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rubik', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* ============================================
   KEYFRAME ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

/* ============================================
   ANIMATION CLASSES
   ============================================ */
.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.6s ease-out forwards;
}

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

.animate-pulse-slow {
    animation: pulse 2s ease-in-out infinite;
}

/* ============================================
   DELAY CLASSES
   ============================================ */
.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; }

/* ============================================
   SCROLL ANIMATION CLASSES
   ============================================ */
.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animated {
    opacity: 1;
}

/* ============================================
   BUTTON EFFECTS
   ============================================ */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(224, 124, 36, 0.4);
}

.btn-secondary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #E07C24;
    color: white;
    transform: translateY(-3px);
}

/* Outline button on dark backgrounds */
.btn-outline-white {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid white;
    color: white;
}

.btn-outline-white:hover {
    background: white !important;
    color: #E07C24 !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Contact cards */
.contact-card {
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

/* Form inputs */
.form-input {
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #E07C24 !important;
    box-shadow: 0 0 0 3px rgba(224, 124, 36, 0.1);
}

/* Contact Form 7 styling */
.wpcf7 .wpcf7-form-control-wrap {
    display: block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    background: white;
    transition: all 0.3s ease;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #E07C24;
    box-shadow: 0 0 0 3px rgba(224, 124, 36, 0.1);
}

.wpcf7 textarea {
    resize: none;
    min-height: 150px;
}

.wpcf7 .wpcf7-submit {
    width: 100%;
    background: #E07C24;
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7 .wpcf7-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(224, 124, 36, 0.4);
}

.wpcf7 .wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.25rem;
}

.wpcf7 .wpcf7-response-output {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.75rem;
}

.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-acceptance-missing {
    border-color: #ef4444;
    background: #fef2f2;
    color: #dc2626;
}

.wpcf7 .wpcf7-mail-sent-ok {
    border-color: #22c55e;
    background: #f0fdf4;
    color: #16a34a;
}

.wpcf7 .wpcf7-not-valid-tip {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* FAQ accordion */
details summary::-webkit-details-marker {
    display: none;
}

details[open] summary i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Blog cards */
.blog-card {
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

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

.blog-image {
    transition: transform 0.5s ease;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Related posts cards */
.related-card {
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Prose styling for blog content */
.prose {
    color: #4b5563;
    line-height: 1.8;
}

.prose p {
    margin-bottom: 1.5rem;
}

.prose h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    color: #009246;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.prose h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #009246;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.prose a {
    color: #E07C24;
    text-decoration: none;
    transition: color 0.3s ease;
}

.prose a:hover {
    color: #C46A1D;
    text-decoration: underline;
}

.prose ul,
.prose ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.prose ul {
    list-style-type: disc;
}

.prose ol {
    list-style-type: decimal;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose blockquote {
    border-left: 4px solid #E07C24;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6b7280;
}

.prose img {
    border-radius: 1rem;
    margin: 2rem 0;
}

.prose strong {
    color: #1f2937;
    font-weight: 600;
}

.prose code {
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.prose pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    margin: 2rem 0;
}

.prose pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.prose th,
.prose td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    text-align: left;
}

.prose th {
    background: #f9fafb;
    font-weight: 600;
    color: #1f2937;
}

.prose hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 3rem 0;
}

/* ============================================
   CARD EFFECTS
   ============================================ */
.service-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(224, 124, 36, 0.15);
}

.service-card:hover .card-icon {
    background: #E07C24;
    transform: rotateY(360deg);
}

.service-card:hover .card-icon i {
    color: white;
}

.card-icon {
    transition: all 0.6s ease;
}

.testimonial-card {
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    background:
        linear-gradient(#f9fafb, #f9fafb) padding-box,
        linear-gradient(180deg, #FF8200 0%, #FF8200 33%, #FFFFFF 33%, #FFFFFF 66%, #009E49 66%, #009E49 100%) border-box;
}

.testimonial-card:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(224, 124, 36, 0.15);
}

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

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

/* ============================================
   NAVIGATION EFFECTS
   ============================================ */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #E07C24;
    transition: width 0.3s ease;
}

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

/* ============================================
   IMAGE EFFECTS
   ============================================ */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.5s ease;
}

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

/* ============================================
   PARALLAX
   ============================================ */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 320px !important;
    max-width: 85vw !important;
    height: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #ffffff !important;
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s ease, opacity 0.4s ease;
    z-index: 9999 !important;
    pointer-events: none;
    padding: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-shadow: -10px 0 40px rgba(0,0,0,0.25) !important;
    display: flex !important;
    flex-direction: column !important;
}

.mobile-menu.active {
    transform: translateX(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Overlay behind mobile menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 9998;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Close Button */
.mobile-menu-close {
    position: absolute !important;
    top: 1.25rem !important;
    right: 1.25rem !important;
    width: 40px !important;
    height: 40px !important;
    background: #f3f4f6 !important;
    border: none !important;
    border-radius: 50% !important;
    color: #374151 !important;
    font-size: 1.25rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
}

.mobile-menu-close:hover {
    background: #E07C24 !important;
    color: white !important;
    transform: rotate(90deg) !important;
}

/* Header / Logo */
.mobile-menu-header {
    padding: 1.5rem !important;
    padding-top: 2rem !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.mobile-menu-logo {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    text-decoration: none !important;
}

.mobile-menu-logo-icon {
    width: 48px !important;
    height: 48px !important;
    background: #009246 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    color: white !important;
    flex-shrink: 0 !important;
}

.mobile-menu-logo-text {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.2 !important;
}

.mobile-menu-logo-title {
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    color: #1f2937 !important;
}

.mobile-menu-logo-subtitle {
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    color: #6b7280 !important;
}

/* Navigation */
.mobile-menu-nav {
    padding: 1rem 0 !important;
    flex-grow: 1 !important;
}

.mobile-menu-links,
.mobile-menu-nav ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mobile-menu-links li,
.mobile-menu-nav ul li {
    margin: 0 !important;
    border-bottom: 1px solid #f3f4f6 !important;
}

.mobile-menu-links li:last-child,
.mobile-menu-nav ul li:last-child {
    border-bottom: none !important;
}

.mobile-menu-links a,
.mobile-menu-nav ul li a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1rem 1.5rem !important;
    color: #1f2937 !important;
    text-decoration: none !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1.15rem !important;
    transition: all 0.3s ease !important;
}

.mobile-menu-links a:hover,
.mobile-menu-nav ul li a:hover {
    background: #f9fafb !important;
    color: #009246 !important;
    padding-left: 2rem !important;
}

.mobile-menu-arrow {
    font-size: 0.75rem !important;
    color: #9ca3af !important;
    transition: all 0.3s ease !important;
}

.mobile-menu-links a:hover .mobile-menu-arrow,
.mobile-menu-nav ul li a:hover .mobile-menu-arrow {
    color: #009246 !important;
    transform: translateX(5px) !important;
}

/* CTA Button */
.mobile-menu-cta {
    padding: 0 1.5rem !important;
    margin-bottom: 1rem !important;
}

.mobile-menu-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
    padding: 1rem !important;
    background: #E07C24 !important;
    color: white !important;
    text-decoration: none !important;
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(224, 124, 36, 0.4) !important;
}

.mobile-menu-btn:hover {
    background: #C46A1D !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(224, 124, 36, 0.5) !important;
}

/* Contact Info */
.mobile-menu-contact {
    padding: 1rem 1.5rem !important;
    border-top: 1px solid #e5e7eb !important;
    background: #f9fafb !important;
}

.mobile-menu-contact-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.5rem 0 !important;
    color: #4b5563 !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: color 0.3s ease !important;
}

.mobile-menu-contact-item:hover {
    color: #009246 !important;
}

.mobile-menu-contact-item i {
    width: 20px !important;
    text-align: center !important;
    color: #E07C24 !important;
}

/* Social Links */
.mobile-menu-social {
    display: flex !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    padding: 1rem 1.5rem !important;
    background: #f3f4f6 !important;
}

.mobile-menu-social a {
    width: 40px !important;
    height: 40px !important;
    background: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #374151 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
}

.mobile-menu-social a:hover {
    background: #009246 !important;
    color: white !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 4px 12px rgba(0,146,70,0.3) !important;
}

/* Flag Decoration */
.mobile-menu-flag {
    height: 4px !important;
    background: linear-gradient(90deg,
        #E07C24 0%, #E07C24 33.33%,
        white 33.33%, white 66.66%,
        #009246 66.66%, #009246 100%
    ) !important;
    flex-shrink: 0 !important;
}

/* ============================================
   GRADIENT TEXT
   ============================================ */
.gradient-text {
    background: linear-gradient(135deg, #E07C24, #F4A261);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   FLAG DECORATIONS
   ============================================ */
.flag-decoration-combined {
    background: linear-gradient(90deg,
        #E07C24 0%, #E07C24 16.66%,
        white 16.66%, white 33.33%,
        #009246 33.33%, #009246 50%,
        #009246 50%, #009246 66.66%,
        white 66.66%, white 83.33%,
        #ce2b37 83.33%, #ce2b37 100%
    );
}

.flag-decoration {
    background: linear-gradient(90deg, #E07C24 33%, white 33%, white 66%, #009246 66%);
}

.flag-decoration-italy {
    background: linear-gradient(90deg, #009246 33%, white 33%, white 66%, #ce2b37 66%);
}

/* ============================================
   COUNTER ANIMATION
   ============================================ */
.counter {
    transition: all 0.3s ease;
}

/* ============================================
   LOADING SCREEN — minimal + brand
   ============================================ */
.kob-loader,
.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.kob-loader.hidden,
.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.kob-loader-inner {
    text-align: center;
    animation: kobLoaderFadeIn 0.4s ease-out;
}

.kob-loader-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    color: #E07C24;
}

.kob-loader-logo svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.kob-loader-circle {
    transform-origin: center;
    animation: kobLoaderCircle 1.6s ease-in-out infinite, kobLoaderRotate 2s linear infinite;
}

.kob-loader-letter {
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-size: 42px;
    font-weight: 700;
    fill: currentColor;
}

.kob-loader-name {
    font-family: 'Rajdhani', system-ui, sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 8px;
    color: #1a1a1a;
    margin: 0;
    line-height: 1;
    animation: kobLoaderPulse 1.8s ease-in-out infinite;
}

.kob-loader-sub {
    font-family: 'Rubik', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #6b7280;
    margin: 6px 0 24px;
}

.kob-loader-flag {
    width: 120px;
    height: 4px;
    margin: 0 auto;
    border-radius: 2px;
    background: linear-gradient(90deg,
        #E07C24 0%, #E07C24 16.66%,
        #ffffff 16.66%, #ffffff 33.33%,
        #009246 33.33%, #009246 50%,
        #009246 50%, #009246 66.66%,
        #ffffff 66.66%, #ffffff 83.33%,
        #ce2b37 83.33%, #ce2b37 100%
    );
    box-shadow: 0 0 16px rgba(224, 124, 36, 0.3);
}

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

@keyframes kobLoaderPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.6; }
}

@keyframes kobLoaderCircle {
    0%   { stroke-dashoffset: 226; }
    50%  { stroke-dashoffset: 60; }
    100% { stroke-dashoffset: 226; }
}

@keyframes kobLoaderRotate {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   PARTNER LOGO SLIDER
   ============================================ */
.partner-slider {
    overflow: hidden;
    position: relative;
    background: white;
}

.partner-slider::before,
.partner-slider::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partner-slider::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.partner-slider::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.partner-track {
    display: flex;
    animation: scroll-logos 30s linear infinite;
    width: max-content;
}

.partner-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partner-logo {
    flex-shrink: 0;
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 40px;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Partner Icon Box (for partners without logos) */
.partner-logo.partner-icon-box {
    width: auto;
    height: auto;
    filter: none;
    opacity: 1;
}

.partner-logo.partner-icon-box:hover {
    filter: none;
    transform: translateY(-5px);
}

.partner-logo.partner-icon-box > div {
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.partner-logo.partner-icon-box:hover > div {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #E07C24;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .parallax-bg {
        background-attachment: scroll;
    }
}

@media (max-width: 768px) {
    .service-card:hover {
        transform: translateY(-10px);
    }

    .btn-primary:hover,
    .btn-secondary:hover {
        transform: translateY(-2px);
    }
}

/* ============================================
   PROSE CONTENT STYLES
   ============================================ */
.prose {
    color: #374151;
    line-height: 1.75;
}

.prose h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #009246;
    margin-top: 0;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.prose h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    color: #009246;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.prose h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #009246;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.prose h4, .prose h5, .prose h6 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    color: #1f2937;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.prose p {
    margin-bottom: 1.25rem;
}

.prose a {
    color: #E07C24;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.prose a:hover {
    color: #C46A1D;
}

.prose strong {
    color: #1f2937;
    font-weight: 600;
}

.prose ul, .prose ol {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose ul li::marker {
    color: #E07C24;
}

.prose ol li::marker {
    color: #E07C24;
    font-weight: 600;
}

.prose blockquote {
    border-left: 4px solid #E07C24;
    padding-left: 1rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #4b5563;
    background: #f9fafb;
    padding: 1rem 1.5rem;
    border-radius: 0 0.5rem 0.5rem 0;
}

.prose img {
    border-radius: 1rem;
    margin: 2rem 0;
    max-width: 100%;
    height: auto;
}

.prose figure {
    margin: 2rem 0;
}

.prose figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.prose th, .prose td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    text-align: left;
}

.prose th {
    background: #009246;
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
}

.prose tr:nth-child(even) {
    background: #f9fafb;
}

.prose code {
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    color: #E07C24;
}

.prose pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.prose pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

.prose hr {
    border: 0;
    border-top: 2px solid #e5e7eb;
    margin: 2rem 0;
}

.prose-lg {
    font-size: 1.125rem;
}

/* ============================================
   FORM STYLES
   ============================================ */
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Rubik', sans-serif;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: #E07C24;
    box-shadow: 0 0 0 3px rgba(224, 124, 36, 0.1);
}

.form-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.25rem;
    border: 1px solid #e5e7eb;
    accent-color: #E07C24;
}

/* Contact Form 7 Styles */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Rubik', sans-serif;
    background: white;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    border-color: #E07C24;
    box-shadow: 0 0 0 3px rgba(224, 124, 36, 0.1);
}

.wpcf7 input[type="submit"] {
    width: 100%;
    background: #E07C24;
    color: white;
    padding: 1rem 2rem;
    border-radius: 9999px;
    border: none;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Rubik', sans-serif;
}

.wpcf7 input[type="submit"]:hover {
    background: #C46A1D;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(224, 124, 36, 0.4);
}

.wpcf7-response-output {
    border-radius: 0.75rem !important;
    padding: 1rem !important;
    margin-top: 1rem !important;
}

.wpcf7-mail-sent-ok {
    border-color: #009246 !important;
    background: rgba(0, 146, 70, 0.1) !important;
}

.wpcf7-validation-errors {
    border-color: #E07C24 !important;
    background: rgba(224, 124, 36, 0.1) !important;
}

/* ============================================
   BLOG SIDEBAR STYLES
   ============================================ */

/* Sticky Sidebar */
.sidebar-sticky {
    position: sticky;
    top: 2rem;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #E07C24 #f3f4f6;
}

.sidebar-sticky::-webkit-scrollbar {
    width: 4px;
}

.sidebar-sticky::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 2px;
}

.sidebar-sticky::-webkit-scrollbar-thumb {
    background: #E07C24;
    border-radius: 2px;
}

/* Table of Contents */
.toc-widget {
    transition: all 0.3s ease;
}

.toc-nav {
    max-height: 300px;
    overflow-y: auto;
}

.toc-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-nav li {
    margin-bottom: 0.5rem;
}

.toc-nav a {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.4;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
}

.toc-nav a:hover {
    background: #f3f4f6;
    color: #009246;
    border-left-color: #E07C24;
}

.toc-nav a.active {
    background: rgba(224, 124, 36, 0.1);
    color: #E07C24;
    border-left-color: #E07C24;
    font-weight: 600;
}

.toc-nav a::before {
    content: '';
    width: 6px;
    height: 6px;
    min-width: 6px;
    border-radius: 50%;
    background: #d1d5db;
    margin-top: 0.4rem;
    transition: all 0.3s ease;
}

.toc-nav a:hover::before,
.toc-nav a.active::before {
    background: #E07C24;
}

/* H3 items indented */
.toc-nav li.toc-h3 {
    margin-left: 1rem;
}

.toc-nav li.toc-h3 a {
    font-size: 0.8125rem;
    padding: 0.375rem 0.75rem;
}

.toc-nav li.toc-h3 a::before {
    width: 4px;
    height: 4px;
    min-width: 4px;
}

/* No headings message */
.toc-empty {
    text-align: center;
    padding: 1rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Popular posts widget */
.sidebar-sticky .space-y-4 a {
    transition: all 0.3s ease;
}

.sidebar-sticky .space-y-4 a:hover {
    transform: translateX(5px);
}

/* Line clamp utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Newsletter form in sidebar */
.sidebar-sticky input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-cta input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.newsletter-cta button:hover {
    background: #C46A1D !important;
    transform: translateY(-2px);
}

/* Prose anchor IDs for TOC */
.prose h2[id],
.prose h3[id] {
    scroll-margin-top: 6rem;
}

/* Prose heading styling enhancement */
.prose h2 {
    position: relative;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f3f4f6;
}

.prose h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #E07C24, #009246);
}

/* Article meta styling */
.article-meta time {
    font-feature-settings: "tnum";
}

/* Responsive sidebar */
@media (max-width: 1023px) {
    .sidebar-sticky {
        position: relative;
        top: 0;
        max-height: none;
        overflow: visible;
    }

    /* Hide TOC on mobile - can toggle */
    .toc-widget {
        display: block;
    }

    .toc-nav {
        max-height: 250px;
    }
}

/* Author box enhancement */
.author-box-link {
    transition: all 0.3s ease;
}

.author-box-link:hover {
    transform: translateX(5px);
}

/* Social share buttons animation */
.share-btn {
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Category pills in sidebar */
.sidebar-sticky .rounded-full {
    transition: all 0.3s ease;
}

.sidebar-sticky .rounded-full:hover {
    transform: translateY(-2px);
}

/* ============================================
   MEGA MENU STYLES
   ============================================ */

/* Mega Menu Container */
.mega-menu-container {
    position: relative;
}

/* Mega Menu Dropdown */
.mega-menu {
    transform: translateX(-50%) translateY(-10px);
    pointer-events: none;
}

.mega-menu-container:hover .mega-menu {
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Mega Menu Arrow */
.mega-menu > div::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid white;
}

/* Mega Menu Items */
.mega-menu-item {
    position: relative;
    overflow: hidden;
}

.mega-menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #E07C24;
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 0 3px 3px 0;
}

.mega-menu-item:hover::before {
    transform: scaleY(1);
}

.mega-menu-item:hover .w-12 {
    background: #009246 !important;
}

.mega-menu-item:hover .w-12 i {
    color: white !important;
}

.mega-menu-item:hover h4 {
    color: #009246 !important;
}

/* Mega Menu Shadow Animation */
.mega-menu > div {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

.mega-menu-container:hover .mega-menu > div {
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.25);
}

/* Nav Link Active State */
.nav-link.active {
    color: #E07C24 !important;
}

.nav-link.active::after {
    width: 100% !important;
}

/* Mega Menu Footer CTA */
.mega-menu a[style*="background: #E07C24"]:hover {
    background: #C46A1D !important;
    transform: translateY(-2px);
}

/* Mega Menu Image Cards */
.mega-menu-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.mega-menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.mega-menu-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 0.75rem;
    transition: border-color 0.3s ease;
}

.mega-menu-card:hover::after {
    border-color: #E07C24;
}

/* Mobile Mega Menu Accordion */
.mobile-services-toggle {
    cursor: pointer;
}

.mobile-services-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.mobile-services-list.open {
    max-height: 500px;
}

.mobile-services-toggle i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.mobile-services-toggle.open i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Responsive Mega Menu */
@media (max-width: 1023px) {
    .mega-menu {
        display: none;
    }
}
