:root {
    --primary-color: #4342ff;
    --secondary-color: #c8ff3e;
    --text-color: #333;
    --text-color-light: #8d8d8d;
    --theme-font: "Roboto", sans-serif;
    
    /* Bootstrap 5 Primary & Secondary Overrides */
    --bs-primary: #4342ff;
    --bs-primary-rgb: 67, 66, 255;
    --bs-secondary: #c8ff3e;
    --bs-secondary-rgb: 200, 255, 62;
}

body {
    font-family: var(--theme-font);
}

p {
    color: var(--text-color-light);
}

.header-nav-actions {
    width: 100%;
}

.navbar-toggler {
    padding: 0;
    border: 0;
    box-shadow: none;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible,
.navbar-toggler:not(:disabled):not(.disabled):active:focus {
    outline: none;
    border: 0;
    box-shadow: none;
}

.navbar-toggler-icon {
    display: none;
}

.menu-toggle-icon {
    position: relative;
    display: block;
    width: 28px;
    height: 20px;
}

.menu-toggle-bar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: #111827;
    transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.menu-toggle-bar:nth-child(1) {
    top: 0;
}

.menu-toggle-bar:nth-child(2) {
    top: 9px;
}

.menu-toggle-bar:nth-child(3) {
    top: 18px;
}

.navbar-toggler.is-active .menu-toggle-bar:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

.navbar-toggler.is-active .menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.is-active .menu-toggle-bar:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
}

#primary-menu {
    gap: 0.35rem;
}

#primary-menu>li {
    position: relative;
}

#primary-menu>li>a {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 0.95rem;
    color: var(--text-color);
    font-size: 0.98rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: color 0.2s ease;
}

#primary-menu>li>a:hover,
#primary-menu>li>a:focus,
#primary-menu>li.current-menu-item>a,
#primary-menu>li.current-menu-ancestor>a {
    color: var(--primary-color);
}

.header-enquire-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    margin-top: 0.75rem;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.header-enquire-btn:hover,
.header-enquire-btn:focus {
    background: #2f2ee6;
    color: #fff;
    transform: translateY(-1px);
}

.site-footer {
    background: #0E0E0E;
}

.footer-top {
    color: var(--text-color-light);
    padding: 80px 0 50px;
}

.footer-median {
    padding: 14px 0 50px;
}

.footer-median-row {
    --bs-gutter-y: 1.5rem;
}

.footer-median-panel {
    position: relative;
    height: 100%;
    padding: 1.85rem 1.6rem;
}

.footer-median-panel::before {
    content: "";
    display: block;
    width: 3rem;
    height: 3px;
    margin-bottom: 1.15rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary-color), rgba(67, 66, 255, 0.1));
}

.footer-median .widget-title {
    margin-bottom: 1.15rem !important;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-footer hr {
    margin: 0;
    border-color: #FFFFFF1A;
    opacity: 1;
    margin-top: 30px;
}

.footer-logo-image {
    max-height: 72px;
    width: auto;
}

.footer-contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 0;
    color: var(--text-color-light);
}

.footer-contact-item+.footer-contact-item {
    margin-top: 0;
}

.footer-contact-item:last-child {
    padding-bottom: 0;
}

.footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.footer-contact-icon svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.footer-contact-item a {
    color: var(--text-color-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-item a:hover,
.footer-contact-item a:focus {
    color: var(--primary-color);
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    color: var(--secondary-color);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.footer-social-link svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.footer-social-link:hover,
.footer-social-link:focus {
    color: #fff;
    background: rgba(67, 66, 255, 0.16);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-menu li+li {
    margin-top: 0;
}

.footer-menu a {
    display: flex;
    align-items: center;
    min-height: 3rem;
    padding: 0.75rem 0;
    color: var(--text-color-light);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-menu li:last-child a {
    padding-bottom: 0;
}

.footer-menu a:hover,
.footer-menu a:focus {
    color: var(--primary-color);
    transform: translateX(4px);
}

.site-info {
    padding: 20px 0;
    border-top: 1px solid #FFFFFF1A;
}

.site-info p {
    font-size: 14px;
}

@media (max-width: 991.98px) {
    .footer-top {
        padding: 60px 0 40px;
    }

    .footer-median {
        padding: 10px 0 40px;
    }

    .footer-median-panel {
        padding: 1.5rem 1.25rem;
    }

    #primary-menu {
        flex-direction: column;
        gap: 0.15rem;
    }

    #primary-menu>li>a {
        width: 100%;
        justify-content: space-between;
        padding: 0.85rem 0;
    }

    .header-enquire-btn {
        width: 100%;
        margin-top: 1rem;
    }

    .footer-social-links {
        margin-top: 2rem;
    }
}

@media (min-width: 992px) {
    .header-nav-actions {
        width: auto;
        gap: 1rem;
    }

    #primary-menu>li>a {
        padding: 0.7rem 1.05rem;
    }

    .header-enquire-btn {
        margin-top: 0;
        margin-left: 1rem;
    }
}

/* ==========================================================================
   Banner Section
   ========================================================================== */
.banner-section {
    position: relative;
    padding: 160px 0 120px;
    background: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, #2928b5 100%);
    text-align: center;
    overflow: hidden;
    color: #ffffff;
    z-index: 1;
}

/* Elegant animated background elements */
.banner-section::before,
.banner-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    z-index: -1;
    animation: bannerFloat 12s infinite alternate ease-in-out;
}

.banner-section::before {
    width: 400px;
    height: 400px;
    top: -150px;
    left: -100px;
}

.banner-section::after {
    width: 600px;
    height: 600px;
    bottom: -250px;
    right: -150px;
    animation-delay: -5s;
    background: rgba(200, 255, 62, 0.03);
    /* subtle secondary color hint */
}

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

    100% {
        transform: translate(40px, -40px) rotate(10deg) scale(1.05);
    }
}

.banner-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    animation: bannerFadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(40px);
}

.banner-section .page-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin: 0;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

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

.animate-on-load {
    opacity: 0;
    transform: translateY(40px);
    animation: bannerFadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

/* ==========================================================================
   About Section 1
   ========================================================================== */

.section-subtitle {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.section-header {
    font-size: 48px;
    line-height: 58px;
    font-weight: 700;
}


/* ==========================================================================
   Contact Form Section
   ========================================================================== */
.form-section {
    padding: 100px 0;
    background-color: #fcfcfc;
}

.form-wrapper {
    background: #ffffff;
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.form-header {
    margin-bottom: 2rem;
}

.form-title {
    font-size: 2rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.form-subtitle {
    font-size: 1.05rem;
    color: var(--text-color-light);
    margin-bottom: 0;
    line-height: 1.6;
}

.form-wrapper .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 1.5rem;
}

.form-wrapper label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    font-size: 16px;
}

.form-wrapper input[type="text"],
.form-wrapper input[type="email"],
.form-wrapper input[type="tel"],
.form-wrapper input[type="number"],
.form-wrapper textarea,
.form-wrapper select {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    color: var(--text-color);
    background-color: #f7f8fa;
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-wrapper input[type="text"]:focus,
.form-wrapper input[type="email"]:focus,
.form-wrapper input[type="tel"]:focus,
.form-wrapper input[type="number"]:focus,
.form-wrapper textarea:focus,
.form-wrapper select:focus {
    outline: none;
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(67, 66, 255, 0.1);
}

.form-wrapper textarea {
    min-height: 160px;
    resize: vertical;
}

.form-wrapper input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.1rem 2rem;
    margin-top: 0.5rem;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.form-wrapper input[type="submit"]:hover,
.form-wrapper input[type="submit"]:focus {
    background: #2928b5;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(67, 66, 255, 0.25);
}

.form-wrapper input[type="submit"]:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(67, 66, 255, 0.2);
}

/* CF7 validation messages */
.form-wrapper .wpcf7-not-valid-tip {
    font-size: 0.85rem;
    color: #e63946;
    margin-top: 0.4rem;
    font-weight: 500;
}

.form-wrapper .wpcf7-response-output {
    border-radius: 12px;
    margin: 1.5rem 0 0 0 !important;
    padding: 1.2rem !important;
    font-size: 0.95rem;
    border-width: 2px !important;
}

@media (max-width: 767.98px) {
    .form-section {
        padding: 60px 0;
    }

    .form-wrapper {
        padding: 2rem;
    }
}

/* ==========================================================================
   Map Section
   ========================================================================== */
.map-section {
    position: relative;
    width: 100%;
    display: block;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    background-color: #f7f8fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    /* Elegant grayscale effect that reveals color on hover */
    filter: grayscale(85%) contrast(1.1) opacity(0.85);
    transition: filter 0.5s ease;
}

.map-wrapper:hover iframe {
    filter: grayscale(0%) contrast(1) opacity(1);
}

@media (max-width: 767.98px) {
    .map-wrapper {
        height: 350px;
    }
}

/* ==========================================================================
   Contact Info Section
   ========================================================================== */
.contact-info-wrapper {
    padding-top: 1rem;
}

.section-title-wrap .section-heading {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-title-wrap .section-subheading {
    font-size: 1.05rem;
    color: var(--text-color-light);
    line-height: 1.6;
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-block {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(67, 66, 255, 0.08);
    color: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.info-block:hover .info-icon {
    transform: translateY(-3px);
    background-color: var(--primary-color);
    color: #fff;
}

.info-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.info-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.35rem;
}

.info-content p {
    font-size: 1rem;
    color: var(--text-color-light);
    line-height: 1.5;
    margin-bottom: 0;
}

.info-content p a {
    color: var(--text-color-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-content p a:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   About Page Enhancements
   ========================================================================== */

/* Utility Classes */
.tracking-wider {
    letter-spacing: 0.1em;
}

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

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

.translate-y-100 {
    transform: translateY(100%);
}

.opacity-0 {
    opacity: 0;
}

.bg-gradient-to-t {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.bg-primary-soft {
    background-color: rgba(67, 66, 255, 0.1);
}

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

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

.z-1 {
    z-index: 1;
}

.z-n1 {
    z-index: -1;
}

/* Feature Card */
.feature-card {
    border-color: rgba(0, 0, 0, 0.05) !important;
}

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

.feature-card:hover .feature-icon {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2928b5 100%);
}

.stat-item h2 {
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Team Card */
.team-card:hover img {
    transform: scale(1.05);
}

.team-card:hover .team-social {
    transform: translateY(0);
    opacity: 1;
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--primary-color);
}

.team-social a {
    color: var(--primary-color) !important;
    transition: all 0.2s ease;
}

.team-social a:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}

/* ==========================================================================
   UI/UX Interactions & Animations
   ========================================================================== */

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Interactive Hover Cards */
.interactive-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.interactive-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

/* Hover Lift on text blocks */
.hover-lift {
    transition: transform 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
}

/* Image Zoom */
.img-zoom-wrapper img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.interactive-card:hover .img-zoom-wrapper img {
    transform: scale(1.08);
}

/* Hover Background */
.hover-bg-white-10 {
    transition: background-color 0.3s ease;
}
.hover-bg-white-10:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Float Animations */
.float-orb {
    animation: floatOrbAnim 15s ease-in-out infinite alternate;
}
.float-orb-reverse {
    animation: floatOrbReverseAnim 20s ease-in-out infinite alternate;
}
@keyframes floatOrbAnim {
    0% { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-30%, -70%) scale(1.2); }
}
@keyframes floatOrbReverseAnim {
    0% { transform: translate(-50%, -50%) scale(1); }
    100% { transform: translate(-70%, -30%) scale(1.1); }
}

.pulse-anim {
    animation: pulseGlow 4s infinite alternate;
}
@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.6; }
}

/* Button Hover Effects */
.btn-hover-effect {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}
.btn-hover-effect::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: all 0.5s ease;
    z-index: -1;
}
.btn-hover-effect:hover::before {
    left: 100%;
}
.btn-hover-effect:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* ==========================================================================
   Bootstrap Primary Color Overrides
   Force all default Bootstrap blue elements to use var(--primary-color)
   ========================================================================== */
.text-primary {
    color: var(--primary-color) !important;
}

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

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

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #3534cc !important;
    border-color: #3534cc !important;
}

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

.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}

/* ==========================================================================
   Bootstrap Secondary Color Overrides
   Force all default Bootstrap secondary elements to use var(--secondary-color)
   ========================================================================== */
.text-secondary {
    color: var(--secondary-color) !important;
}

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

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

.btn-secondary {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: var(--text-color) !important; /* Dark text for contrast on neon background */
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
    background-color: #b8eb39 !important;
    border-color: #b8eb39 !important;
    color: var(--text-color) !important;
}

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

.btn-outline-secondary:hover, .btn-outline-secondary:focus, .btn-outline-secondary:active {
    background-color: var(--secondary-color) !important;
    color: var(--text-color) !important;
}

/* ==========================================================================
   Blog Pagination & Cards
   ========================================================================== */
.custom-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    color: var(--text-color);
    background-color: #f8f9fa;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.custom-pagination .page-numbers:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.custom-pagination .page-numbers.current {
    background-color: var(--primary-color);
    color: white;
}
.custom-pagination .dots {
    background: none;
}

/* Hover Utilities */
.hover-text-primary:hover {
    color: var(--primary-color) !important;
}

/* Card layout fix */
.card-body {
    flex: 1 1 auto;
}

/* ==========================================================================
   Single Post Styling Overrides
   ========================================================================== */
.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
    color: var(--text-color);
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}
.post-content p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    margin: 2rem 0;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
}
.post-content blockquote {
    border-left: 5px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2.5rem 0;
    background-color: rgba(67, 66, 255, 0.05); /* Primary color with very low opacity */
    border-radius: 0 1rem 1rem 0;
    font-style: italic;
    color: var(--text-color);
    font-size: 1.1rem;
}
.post-content blockquote p:last-child {
    margin-bottom: 0;
}
.post-content a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-color: rgba(67, 66, 255, 0.3);
    text-underline-offset: 4px;
    transition: all 0.2s ease;
}
.post-content a:hover {
    text-decoration-color: var(--primary-color);
}
.post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
.post-content li {
    margin-bottom: 0.5rem;
}

/* Helper Utilities */
.hover-bg-primary:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
}
.last-child-no-border:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* WordPress Sub-Menu Styles for Desktop, Tablet, and Mobile */
.navbar-nav .menu-item {
    position: relative;
}

/* Desktop & Tablet Styles (>= 992px) */
@media (min-width: 992px) {
    .navbar-nav .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: none;
        min-width: 220px;
        padding: 0.5rem 0;
        margin: 0;
        font-size: 0.95rem;
        background-color: #fff;
        border: 1px solid rgba(0,0,0,.15);
        border-radius: 0.25rem;
        box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
        list-style: none;
    }

    /* Super Sub-Menu (Level 3+) */
    .navbar-nav .sub-menu .sub-menu {
        top: 0;
        left: 100%;
        margin-left: 0.1rem;
    }

    /* Show on hover */
    .navbar-nav .menu-item:hover > .sub-menu {
        display: block;
    }

    .navbar-nav .sub-menu .menu-item a {
        display: block;
        width: 100%;
        padding: 0.5rem 1.5rem;
        clear: both;
        font-weight: 400;
        color: #212529;
        text-align: inherit;
        text-decoration: none;
        white-space: nowrap;
        background-color: transparent;
        border: 0;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .navbar-nav .sub-menu .menu-item a:hover,
    .navbar-nav .sub-menu .menu-item a:focus {
        color: var(--primary-color);
        background-color: #f8f9fa;
    }
}

/* Mobile Styles (< 992px) */
@media (max-width: 991.98px) {
    .navbar-nav .sub-menu {
        display: block;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        margin-top: 0;
        padding-top: 0;
        padding-bottom: 0;
        list-style: none;
        padding-left: 1.5rem;
        background-color: rgba(0,0,0,0.02);
        border-radius: 0.25rem;
        transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out, margin 0.3s ease, padding 0.3s ease, visibility 0.4s;
    }
    
    .navbar-nav .menu-item.submenu-open > .sub-menu {
        max-height: 1000px; /* Accommodate large submenus */
        opacity: 1;
        visibility: visible;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    
    .navbar-nav .menu-item.submenu-open > a::after {
        transform: translateY(-30%) rotate(225deg);
    }

    .navbar-nav .sub-menu .menu-item a {
        display: block;
        padding: 0.5rem 0;
        color: #495057;
        text-decoration: none;
        font-size: 0.95rem;
    }

    .navbar-nav .sub-menu .menu-item a:hover {
        color: var(--primary-color);
    }
    
    /* Super Sub-Menu (Level 3+) */
    .navbar-nav .sub-menu .sub-menu {
        padding-left: 1rem;
        margin-top: 0.25rem;
        background-color: transparent;
    }
}

/* Animated Arrows for Dropdown Menus */
.navbar-nav .menu-item-has-children > a {
    padding-right: 1.25rem !important; /* Make room for arrow */
    position: relative;
}

.navbar-nav .menu-item-has-children > a::after {
    content: '';
    position: absolute;
    right: 0.25rem;
    top: 50%;
    width: 0.4em;
    height: 0.4em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-70%) rotate(45deg); /* Down arrow */
    opacity: 0.7;
}

/* Rotate to UP arrow on hover (Desktop Only) */
@media (min-width: 992px) {
    .navbar-nav .menu-item-has-children:hover > a::after,
    .navbar-nav .menu-item-has-children:focus-within > a::after {
        transform: translateY(-30%) rotate(225deg);
    }
}

/* Adjust arrow for Super Sub-Menus on Desktop */
@media (min-width: 992px) {
    .navbar-nav .sub-menu .menu-item-has-children > a::after {
        right: 1rem;
        transform: translateY(-50%) rotate(-45deg); /* Right arrow */
    }
    
    .navbar-nav .sub-menu .menu-item-has-children:hover > a::after,
    .navbar-nav .sub-menu .menu-item-has-children:focus-within > a::after {
        transform: translateY(-50%) rotate(45deg); /* Down arrow when expanded */
    }
}

/* Invisible Touch Target for Mobile Submenu Toggle */
.mobile-toggle-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 60px; /* Generous touch target area */
    z-index: 10;
    display: none;
    cursor: pointer;
}

@media (max-width: 991.98px) {
    .mobile-toggle-btn {
        display: block;
    }
}

/* ==========================================================================
   Home Page Hero Slider Section
   ========================================================================== */
.hero-slider-section {
    height: 750px !important;
    background: linear-gradient(135deg, #4342ff 0%, #312ecb 100%);
}

@media (max-width: 991.98px) {
    .hero-slider-section {
        height: auto !important;
        min-height: 550px !important;
        padding: 80px 0 !important;
    }
    .hero-slider-section .display-3 {
        font-size: 2.2rem !important;
    }
    .hero-slider-section .btn-lg {
        padding: 0.65rem 1.2rem !important;
        font-size: 0.85rem !important;
        flex: 1;
        text-align: center;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .hero-slider-section .btn-lg {
        padding: 0.5rem 0.8rem !important;
        font-size: 0.75rem !important;
    }
}

/* Centered Layout Overrides */
.hero-slider-section .row {
    justify-content: center !important;
}
.hero-slider-section .col-lg-7 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 900px !important;
    text-align: center !important;
}
.hero-slider-section .col-lg-5 {
    display: none !important;
}
.hero-slider-section .d-flex:not(.carousel-nav-btn) {
    justify-content: center !important;
}
.hero-slider-section .lead {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 800px !important;
}
.hero-slider-section h1, 
.hero-slider-section h1 span,
.hero-slider-section p {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* ==========================================================================
   Trust Section — 3D Content Slider
   ========================================================================== */
#trustContentSlider3D { perspective: 900px; overflow: hidden; }
#trustContentSlider3D .slide-3d {
    position: absolute; inset: 0;
    display: none; flex-direction: column;
    align-items: center; justify-content: flex-start;
    padding: 3rem 1.5rem 2rem; text-align: center;
    background: var(--bs-primary); overflow: hidden;
}
#trustContentSlider3D .slide-3d * { color: #fff !important; }
#trustContentSlider3D .slide-3d.active { display: flex; }

@keyframes slide3DIn {
    0%   { transform: perspective(900px) rotateX(-80deg) translateY(60px) scale(0.88); opacity: 0; }
    100% { transform: perspective(900px) rotateX(0deg)  translateY(0)     scale(1);    opacity: 1; }
}
@keyframes slide3DOut {
    0%   { transform: perspective(900px) rotateX(0deg)  translateY(0)     scale(1);    opacity: 1; }
    100% { transform: perspective(900px) rotateX(80deg) translateY(-60px) scale(0.88); opacity: 0; }
}
#trustContentSlider3D .slide-3d-enter { animation: slide3DIn  0.75s cubic-bezier(0.25,0.46,0.45,0.94) forwards; }
#trustContentSlider3D .slide-3d-exit  { animation: slide3DOut 0.75s cubic-bezier(0.55,0.06,0.68,0.19) forwards; display: flex !important; }
