/*
Theme Name: Ricart Theme
Theme URI: https://example.com/
Author: Ricart
Description: Custom theme for Ricart Life Coaching.
Version: 1.0
Text Domain: ricart-theme
*/

/* GLOBAL RESETS & BODY */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
}

/* Top Info Bar */
.top-bar {
    background: #3d5af1;
    color: white;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.top-bar-left {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-right {
    font-size: 1.1rem;
    font-weight: bold;
}

/* Header & Navigation */
header.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #2c3e50;
}

.logo span {
    color: #f47d3b;
}

  /* Hide desktop nav */
  .nav-links {
      display: none;
  }


.top-bar-right .phone-link {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: bold;
}

  /* Mobile header layout adjustments */
  @media (max-width: 768px) {

      .main-nav {
          flex-direction: column;
          justify-content: center;
          align-items: center;
          text-align: center;
          gap: 0.75rem;
          padding: 1rem 1.25rem;
      }
      .menu-toggle {
    display: flex;
}


      .nav-top-row {
          width: 100%;
          display: flex;
          justify-content: space-between;
          align-items: center;
      }

      .logo {
          display: flex;
          justify-content: center;
          align-items: center;
          width: 100%;
      }
  }

  /* Mobile hamburger + MENU text */
  @media (max-width: 768px) {

      .menu-toggle {
          display: flex;
          font-size: 1.3rem;
          background: transparent;
          border: none;
          color: #2c3e50;
          align-items: center;
          gap: 6px;
      }

      .menu-toggle .menu-text {
          display: inline-block;
          font-size: 1rem;
          font-weight: 600;
          letter-spacing: 1px;
      }
  }

  /* MOBILE */
  @media (max-width: 1024px) {

      .inner-container {
          flex-direction: column;
          gap: 2rem;
      }

      .content-left,
      .content-sidebar {
          width: 100%;
          flex: 0 0 100%;
      }

      .content-sidebar {
          position: static;
      }

      .inner-hero-content h1 {
          font-size: 2.2rem;
      }
  }

  /* Logo shrinks properly */
  .logo {
      font-size: 1.4rem;
      line-height: 1.2;
  }

  /* Improve spacing between hamburger + button */
  .contact-button {
      padding: 0.75rem 1.25rem;
      font-size: 0.8rem;
      white-space: nowrap;
      margin-left: 0.5rem;
  }

  /* Fix hamburger position */
  .menu-toggle {
      margin-left: auto;
      margin-right: 0.75rem;
  }

  /* Ensure elements don’t smash together */
  .main-nav>* {
      flex-shrink: 0;
  }
  

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 600;
    transition: color 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-links a:hover,
.nav-links a.current-menu-item {
    color: #f47d3b;
}

.menu-toggle .menu-text {
    display: none;
}

.contact-button {
    background: #f47d3b;
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: background 0.3s;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.contact-button:hover {
    background: #e56a28;
}

/* Generic container */
.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.65), rgba(44, 62, 80, 0.75));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 8rem 2rem;
    text-align: center;
    background-attachment: scroll;
}
.hero-content {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-tagline {
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    opacity: 0.95;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 900;
}

.hero h1 .highlight {
    color: #f47d3b;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #f47d3b;
    color: white;
    padding: 1.1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: #e56a28;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(244, 125, 59, 0.4);
}

.btn-secondary {
    background: #3d5af1;
    color: white;
    padding: 1.1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-secondary:hover {
    background: #2d4ae1;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(61, 90, 241, 0.4);
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media(max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: #3d5af1;
    color: white;
    padding: 3rem 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(61, 90, 241, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(61, 90, 241, 0.4);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-transform: uppercase;
}

.service-card p {
    line-height: 1.7;
    opacity: 0.95;
}

/* About Section */
.about {
    padding: 5rem 2rem;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-header h2 .highlight {
    color: #f47d3b;
}

.section-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 800px;
    margin: 0 auto;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* Modalities Section */
.modalities {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.modalities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.modality-card {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.modality-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(244, 125, 59, 0.2);
}

.modality-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f47d3b, #ff9966);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.modality-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
}

.modality-card p {
    color: #7f8c8d;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f47d3b, #ff9966);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.btn-white {
    background: white;
    color: #f47d3b;
    padding: 1.1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-block;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer.site-footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    color: #f47d3b;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #f47d3b;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #95a5a6;
}

/* Generic page/blog layout */
main.page-main,
main.single-main,
main.archive-main {
    padding: 4rem 2rem;
    background: #ffffff;
    /* pure white, like homepage */
}

.page-main .container,
.single-main .container,
.archive-main .container {
    max-width: 1400px;
    /* same width as home */
    width: 100%;
}

.page-title,
.single-title,
.archive-title {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: #2c3e50;
}

.page-content,
.single-content {
    font-size: 1.05rem;
    color: #555;
}

.archive-list article {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.archive-list h2 a {
    color: #2c3e50;
    text-decoration: none;
}

.archive-list h2 a:hover {
    color: #f47d3b;
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .top-bar-left {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .nav-links {
        display: none;
        /* simple: hide desktop nav on mobile for now */
    }

    .services-grid,
    .modalities-grid {
        grid-template-columns: 1fr;
    }

    main.page-main,
    main.single-main,
    main.archive-main {
        padding: 3rem 1.25rem;
    }

}

@media (max-width: 768px) {

    /* Stack header into two rows */
    .main-nav {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
    }

    /* Top row wrapper (logo + hamburger) */
    .nav-top-row {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Logo size on mobile */
    .logo {
        font-size: 1.5rem;
    }

    /* Hamburger icon placement */
    .menu-toggle,
    .main-nav button {
        margin: 0;
    }

    /* Book Session Button moves BELOW and is centered */
    .contact-button {
        width: auto;
        align-self: center;
        text-align: center;
        padding: 0.85rem 1.75rem;
        font-size: 0.9rem;
    }
}
/* Desktop logo size */
.logo img,
.logo-img {
    height: 110px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Mobile logo size */
@media (max-width: 768px) {

    .logo img,
    .logo-img {
        height: 85px;
        width: auto;
        object-fit: contain;
    }
}
/* Hide hamburger on desktop */
.menu-toggle {
    display: none;
}
/* Remove underline and make full card clickable */
.service-card,
.service-card:link,
.service-card:visited,
.modality-card,
.modality-card:link,
.modality-card:visited {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

/* Remove underline on hover too */
.service-card:hover,
.modality-card:hover {
    text-decoration: none !important;
}

/* FORCE WHITE TEXT INSIDE BLUE SERVICE CARDS */
a.service-card .service-card h3,
a.service-card .service-card p,
a.service-card .service-card .service-icon {
    color: #ffffff !important;
}
/* REMOVE ALL LINK UNDERLINES ON CLICKABLE CARDS */
a.service-card,
a.service-card:link,
a.service-card:visited,
a.service-card:hover,
a.modality-card,
a.modality-card:link,
a.modality-card:visited,
a.modality-card:hover {
    text-decoration: none !important;
}

/* Card text colors */
.service-card h3,
.service-card p {
    color: #ffffff !important;
    text-decoration: none !important;
}

.modality-card h3,
.modality-card p {
    color: #2c3e50;
    text-decoration: none;
}
/* FIX SERVICE CARD LINK COLOR OVERRIDE */
a.service-card {
    color: inherit !important;
}

/* FORCE WHITE TEXT INSIDE BLUE SERVICE CARDS */
a.service-card .service-card h3,
a.service-card .service-card p,
a.service-card .service-card .service-icon {
    color: #ffffff !important;
}

/* ALSO FORCE THE CONTAINER ITSELF TO STAY WHITE */
a.service-card .service-card {
    color: #ffffff !important;
}
/* Add arrow indicator inside clickable service cards */
.service-card {
    position: relative;
    transition: transform 0.3s ease;
}

.service-card::after {
    content: "→";
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.85);
    position: absolute;
    bottom: 1.2rem;
    right: 1.5rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* Hover effect to reinforce clickability */
a.service-card:hover .service-card::after {
    transform: translateX(6px);
    color: #ffffff;
}
/* Arrow indicator for modality cards (white background) */
.modality-card {
    position: relative;
    transition: transform 0.3s ease;
}

.modality-card::after {
    content: "→";
    font-size: 1.8rem;
    color: #3d5af1;
    /* your brand blue */
    position: absolute;
    bottom: 1.2rem;
    right: 1.5rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* Hover effect */
.modality-card:hover::after {
    transform: translateX(6px);
    color: #f47d3b;
    /* your brand orange */
}
/* Reviews Carousel */
.reviews-section {
    padding: 5rem 2rem;
    background: #ffffff;
}

.review-card {
    background: #f8f9fa;
    padding: 2.25rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left: 6px solid #f47d3b;
    height: auto;
}

.review-text {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-style: italic;
}

.review-author {
    font-weight: bold;
    color: #3d5af1;
    font-size: 1rem;
}

/* Pagination dots */
.swiper-pagination-bullet {
    background: #3d5af1 !important;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background: #f47d3b !important;
    opacity: 1;
}
/* Star Rating */
.review-stars {
    color: #f4c542;
    /* gold stars */
    font-size: 1.4rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

/* Review Buttons */
.reviews-buttons {
    margin-top: 2.5rem;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.btn-review,
.btn-review-secondary {
    padding: 0.9rem 1.75rem;
    font-size: 1rem;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-review {
    background: #3d5af1;
    color: #fff;
}

.btn-review:hover {
    background: #2d4ae1;
}

.btn-review-secondary {
    background: #f47d3b;
    color: #fff;
}

.btn-review-secondary:hover {
    background: #e56a28;
}
/* STORY SECTION */
.story-section {
    padding: 5rem 2rem;
    background: #f4f5f7;
    /* soft grey so it stands out */
}

.story-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 3rem;
}

.story-image-wrap {
    width: 100%;
}

.story-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.story-content {
    color: #2c3e50;
}

.story-subheading {
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    color: #f47d3b;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.story-heading {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.story-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
    color: #555;
}

.story-list {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
}

.story-list li {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.story-cta {
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    color: #f47d3b;
}

.story-cta:hover {
    color: #d45a21;
}

/* Responsive */
@media (max-width: 900px) {
    .story-container {
        grid-template-columns: 1fr;
    }

    .story-image {
        margin-bottom: 2rem;
    }

    .story-heading {
        font-size: 2rem;
    }
}
/* Full-width page sections */
.full-width {
    width: 100%;
    max-width: 100% !important;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
}

/* Make inner content breathe */
.full-width>* {
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (min-width: 1200px) {
    .full-width>* {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}
/* ===========================
   FULL WIDTH INNER PAGE HERO
   =========================== */
.inner-hero {
    width: 100%;
    min-height: 350px;
    padding: 6rem 2rem;
    color: #ffffff;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.inner-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

/* ===========================
   TWO-COLUMN PAGE LAYOUT
   =========================== */
.inner-page {
    width: 100%;
    background: #ffffff;
    padding: 4rem 2rem;
}

.inner-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

/* MAIN CONTENT */
.content-left {
    flex: 0 0 70%;
    width: 70%;
}

/* SIDEBAR */
.content-sidebar {
    flex: 0 0 30%;
    width: 30%;
    position: sticky;
    top: 120px;
}

.sidebar-box {
    background: #f8f9fa;
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.sidebar-box h3 {
    color: #3d5af1;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.sidebar-list {
    list-style: none;
    padding: 0;
}

.sidebar-list li {
    margin-bottom: 0.7rem;
}

.sidebar-list li a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
}

.btn-sidebar {
    display: block;
    text-align: center;
    background: #f47d3b;
    color: #fff;
    padding: 0.9rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

.btn-sidebar-secondary {
    display: block;
    text-align: center;
    background: #3d5af1;
    color: #fff;
    padding: 0.9rem 1rem;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

@media(max-width: 1024px) {
    .inner-container {
        flex-direction: column;
    }

    .content-left,
    .content-sidebar {
        width: 100%;
    }

    .content-sidebar {
        position: static;
    }

    .inner-hero-content h1 {
        font-size: 2.2rem;
    }
}
/* Remove WP Block Navigation default background */
.wp-block-navigation__container a,
.wp-block-navigation__item a {
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
/* Clean header menu styling – remove black pill background */
.main-nav .nav-links,
.main-nav .nav-links li,
.main-nav .nav-links li a,
.main-nav .nav-links li a:link,
.main-nav .nav-links li a:visited,
.main-nav .nav-links li.current-menu-item,
.main-nav .nav-links li.current_page_item,
.main-nav .nav-links li.current-menu-ancestor {
    background: none !important;
    box-shadow: none !important;
}

/* Normal + hover colors for menu links */
.main-nav .nav-links li a {
    display: inline-block;
    padding: 0;
    /* no extra pill padding */
    color: #2c3e50;
    text-decoration: none;
}

.main-nav .nav-links li a:hover {
    color: #f47d3b;
}
/* Remove black background from menu */
.nav-links,
.nav-links ul,
.nav-links li {
    background: transparent !important;
}

/* Ensure menu items have no background */
.nav-links li a {
    background: transparent !important;
    padding: 0.5rem 1rem !important;
}

/* Remove any box shadows or borders that might create the black bar effect */
.nav-links,
.nav-links * {
    box-shadow: none !important;
    border: none !important;
}

/* If there's a specific container with dark background */
.main-nav .wp-block-navigation,
.main-nav .wp-block-navigation__container,
.main-nav .wp-block-navigation-item {
    background: transparent !important;
}

/* Ensure proper spacing without backgrounds */
.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
/* For WordPress block navigation */
.wp-block-navigation {
    background: transparent !important;
}

.wp-block-navigation__container {
    background: transparent !important;
}

.wp-block-navigation-item {
    background: transparent !important;
}

.wp-block-navigation-item__content {
    background: transparent !important;
    padding: 0.5rem 1rem !important;
}
/* Remove bullets from all WP menu lists */
.nav-links,
.nav-links li,
.main-nav ul,
.main-nav ul li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}
/* Add dropdown arrow next to parent items */
.nav-links li.menu-item-has-children>a::after {
    content: " ▼";
    font-size: 0.7rem;
    margin-left: 6px;
    color: #2c3e50;
    /* menu text color */
}

/* On hover – turn arrow orange */
.nav-links li.menu-item-has-children:hover>a::after {
    color: #f47d3b;
    /* your brand orange */
}
.nav-links li.menu-item-has-children>a::after {
    font-weight: bold;
}
/* ==========================================
   CLEAN SUBMENU — SIDEWAYS LAYOUT WITH NO GAP
========================================== */

/* Base dropdown container - positioned to the RIGHT */
.main-nav .nav-links .sub-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: #ffffff;
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    min-width: 220px;
    z-index: 9999;
    margin-left: 0;
    /* Remove gap - submenu touches parent */
}

/* Position parent menu items that have children */
.main-nav .nav-links li.menu-item-has-children {
    position: relative;
}

/* Create invisible hover bridge between parent and submenu */
.main-nav .nav-links li.menu-item-has-children::after {
    content: '';
    position: absolute;
    top: 0;
    right: -15px;
    /* Extend hover area to the right */
    width: 15px;
    height: 100%;
    background: transparent;
}

/* Show dropdown on hover of parent OR the invisible bridge */
.main-nav .nav-links li.menu-item-has-children:hover>.sub-menu {
    display: block;
}

/* Keep submenu visible when hovering over it */
.main-nav .nav-links .sub-menu:hover {
    display: block;
}

/* Submenu items */
.main-nav .nav-links .sub-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #2c3e50 !important;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    background: #f7f9fc;
    transition: all 0.25s ease;
    margin: 0.25rem 0.5rem;
}

/* Hover effect */
.main-nav .nav-links .sub-menu li a:hover {
    background: #e9ecf5;
    color: #f47d3b !important;
    transform: translateX(5px);
}

/* Down arrow indicator */
.main-nav .nav-links li.menu-item-has-children>a::after {
    content: " ▼";
    font-size: 0.6rem;
    color: #f47d3b;
    margin-left: 6px;
    transition: transform 0.2s ease;
}

.main-nav .nav-links li.menu-item-has-children:hover>a::after {
    transform: rotate(180deg);
}

/* ==========================================
   MOBILE SUBMENU - VERTICAL ACCORDION
========================================== */
@media (max-width: 768px) {

    /* Submenu items with clear indentation */
    .nav-links .sub-menu li a {
        padding: 12px 30px !important;
        background: #eef2ff !important;
        margin: 4px 15px !important;
        border-radius: 6px;
        display: block !important;
        font-weight: 600;
        color: #1b1f28 !important;
    }

    /* Nested submenus on mobile get more indentation */
    .nav-links .sub-menu .sub-menu li a {
        padding-left: 45px !important;
        margin: 4px 20px !important;
        background: #e0e7ff !important;
    }

    /* Hover effect for mobile */
    .nav-links .sub-menu li a:active {
        background: #dbeafe !important;
        transform: translateX(5px);
    }
}

/* ==========================================
   FIX SUBMENU BACKGROUND BEING OVERRIDDEN
========================================== */

/* Force submenu dropdown background */
.main-nav .nav-links .sub-menu {
    background: #ffffff !important;
}

/* Force submenu item backgrounds */
.main-nav .nav-links .sub-menu li a {
    background: #f7f9fc !important;
    padding: 0.75rem 1.5rem !important;
    display: block !important;
}

/* Force hover background */
.main-nav .nav-links .sub-menu li a:hover {
    background: #e9ecf5 !important;
    color: #f47d3b !important;
}
/* ================================
   RICART INNER MODALITY PAGE STYLES
   ================================ */

.rlc-page-intro {
    max-width: 900px;
    margin: 0 auto 3rem auto;
    text-align: center;
}

.rlc-page-intro h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 800;
}

.rlc-page-intro p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

.rlc-tagline {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: #3d5af1;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.rlc-highlight-text {
    color: #f47d3b;
    font-weight: 700;
}

/* Two-column feature sections */
.rlc-section {
    margin-bottom: 3.5rem;
}

.rlc-section h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 800;
}

.rlc-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
}

.rlc-split {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 2.5rem;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .rlc-split {
        grid-template-columns: 1fr;
    }
}

/* Lists */
.rlc-bullet-list {
    margin: 1rem 0 0 0;
    padding-left: 1.2rem;
}

.rlc-bullet-list li {
    margin-bottom: 0.5rem;
    font-size: 1.02rem;
    color: #333;
}

/* Soft cards / highlighted blocks */
.rlc-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.rlc-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: #3d5af1;
    font-weight: 800;
}

/* CTA strip inside pages */
.rlc-inner-cta {
    margin-top: 3.5rem;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #3d5af1, #2d4ae1);
    color: #fff;
    text-align: center;
}

.rlc-inner-cta h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.rlc-inner-cta p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.rlc-inner-cta .btn-white {
    text-transform: uppercase;
}

/* Small labels like "Ideal for" */
.rlc-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #3d5af1;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.rlc-emphasis {
    font-weight: 600;
    color: #2c3e50;
}

/* Tiny spacing tweaks inside content-left only */
.content-left p {
    margin-bottom: 1.2rem;
}
/* ============================
   INNER PAGE REFINEMENTS
   ============================ */

.rlc-section {
    margin-bottom: 3rem;
}

.rlc-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.rlc-section-intro {
    font-size: 1.08rem;
    color: #64748b;
    max-width: 700px;
    line-height: 1.8;
    margin-bottom: 1.75rem;
}

/* Pricing grids */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.pricing-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.pricing-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pricing-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.75rem 1.8rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    border-top: 4px solid #3d5af1;
}

.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.pricing-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #f47d3b;
    margin-bottom: 0.75rem;
}

.pricing-desc {
    font-size: 0.98rem;
    color: #64748b;
    margin-bottom: 0.9rem;
}

.pricing-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.pricing-list li {
    font-size: 0.98rem;
    color: #334155;
    margin-bottom: 0.35rem;
}

.pricing-label {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: #e0ebff;
    color: #1d4ed8;
    margin-bottom: 0.75rem;
}

/* FAQ styling */
.rlc-faq {
    margin-bottom: 1.5rem;
}

.rlc-faq h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.3rem;
}

.rlc-faq p {
    font-size: 0.98rem;
    color: #4b5563;
}

/* Contact form */
.rlc-contact-form {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.rlc-form-row {
    margin-bottom: 1.1rem;
}

.rlc-form-row label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #0f172a;
}

.rlc-contact-form input,
.rlc-contact-form textarea,
.rlc-contact-form select {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: 0.7rem 0.8rem;
    font-size: 0.95rem;
    font-family: inherit;
}

.rlc-contact-form input:focus,
.rlc-contact-form textarea:focus,
.rlc-contact-form select:focus {
    outline: none;
    border-color: #3d5af1;
    box-shadow: 0 0 0 1px rgba(61, 90, 241, 0.3);
}

.rlc-form-note {
    font-size: 0.9rem;
    color: #64748b;
}

/* Contact list */
.rlc-contact-list {
    list-style: none;
    padding-left: 0;
}

.rlc-contact-list li {
    margin-bottom: 0.4rem;
    font-size: 0.98rem;
}

/* Gallery grid */
.rlc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
}

.rlc-gallery-item img {
    width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
}

/* Blog article */
.blog-article-header {
    margin-bottom: 1rem;
}

.blog-meta {
    font-size: 0.85rem;
    color: #6b7280;
}

.blog-meta-sep {
    margin: 0 0.25rem;
}

.blog-article-content {
    font-size: 1.02rem;
    color: #374151;
    line-height: 1.85;
}

.blog-article-content p {
    margin-bottom: 1.1rem;
}

.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
    color: #111827;
}

/* Smaller screens */
@media (max-width: 900px) {
    .rlc-section-title {
        font-size: 1.6rem;
    }

    .pricing-card {
        padding: 1.4rem 1.4rem;
    }
}/* --- MOBILE MENU FIX --- */

/* ======================================
   MOBILE MENU — SHOW/HIDE NAV LINKS
====================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
        flex-direction: column;
        gap: 1.25rem;
        width: 100%;
        margin-top: 1.5rem;
        text-align: center;
        max-height: 70vh;
        overflow-y: auto;
    }

    /* When hamburger is clicked */
    .nav-links.mobile-open {
        display: flex !important;
    }

    /* Mobile parent links */
    .nav-links li a {
        font-size: 1.1rem;
        padding: 0.75rem 1rem !important;
    }

    /* Hide desktop submenu hover behavior */
    .nav-links .sub-menu {
        display: none !important;
        background: #f8f9fa;
        padding: 0.5rem 0;
        border-radius: 8px;
    }

    /* Expand submenu when parent is clicked (JS toggle class) */
    .nav-links .sub-menu.mobile-open {
        display: block !important;
    }

    /* Submenu items */
    .nav-links .sub-menu li a {
        padding: 0.75rem 1.35rem !important;
        text-align: left;
        background: #f5f7ff;
        border-radius: 6px;
        font-size: 1rem;
        color: #1b1f28 !important;
        font-weight: 600;
        margin: 3px 0;
    }
}
/* ==========================
   FORCE HAMBURGER ON MOBILE
   ========================== */
@media (max-width: 768px) {

    /* Show hamburger button */
    .menu-toggle {
        display: flex !important;
        font-size: 1.8rem;
        background: none;
        border: none;
        cursor: pointer;
        align-items: center;
        gap: 6px;
        color: #1b1f28;
        z-index: 9999;
    }

    /* Show "MENU" text next to hamburger */
    .menu-toggle .menu-text {
        display: inline-block !important;
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: 1px;
    }

    /* Hide desktop nav initially */
    .nav-links {
        display: none !important;
    }

    /* Show nav when open */
    .nav-links.mobile-open {
        display: flex !important;
    }
}
/* ==========================================
   MOBILE MENU: CLEAN SUBMENU ACCORDION FIX
   ========================================== */
@media (max-width: 768px) {

    /* Turn the menu into a vertical list */
    .nav-links {
        display: none;
        /* stays hidden until hamburger toggles it */
        flex-direction: column;
        width: 100%;
        text-align: left;
        padding: 1rem 0;
        gap: 0.5rem;
    }

    /* Show menu when opened */
    .nav-links.mobile-open {
        display: flex;
    }

    /* Parent items */
    .nav-links li {
        width: 100%;
        padding: 0;
    }

    /* Remove desktop absolute dropdown */
    .nav-links .sub-menu {
        position: static !important;
        display: none !important;
        /* hidden until toggled */
        background: #f5f7ff !important;
        padding: 0.5rem 0 !important;
        margin-top: 0.25rem;
        border-radius: 8px;
        width: 100%;
        box-shadow: none !important;
    }

    /* Submenu items */
    .nav-links .sub-menu li a {
        padding: 12px 20px !important;
        background: #eef2ff !important;
        margin: 4px 0 !important;
        border-radius: 6px;
        display: block !important;
        font-weight: 600;
        color: #1b1f28 !important;
    }

  
    
        /* Rotated arrow on open - fixed transform */
        .menu-item-has-children.open>a::after {
            transform: translateY(-50%) rotate(180deg);
            /* Fixed - keeps centered while rotating */
        }

    /* Rotated arrow on open */
    .menu-item-has-children.open>a::after {
        transform: translateY(-50%) rotate(180deg);
    }
}
/* Add this after your existing mobile menu CSS */
@media (max-width: 768px) {
    .nav-links.mobile-open {
        max-height: 70vh;
        overflow-y: auto;
    }
}
@media (max-width: 768px) {

    /* Only affect links inside the mobile nav container */
    .nav-links li.menu-item-has-children>a {
        position: relative;
        padding-right: 42px !important;
    }

    .nav-links li.menu-item-has-children>a::after {
        content: "›";
        /* slim chevron instead of ▼ */
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        color: #f47d3b;
        line-height: 1;
        font-weight: 700;
        transition: transform 0.25s ease, color 0.25s ease;
    }

    /* When JS adds .open to the LI, rotate the arrow */
    .nav-links li.menu-item-has-children.open>a::after {
        transform: translateY(-50%) rotate(90deg);
        color: #3d5af1;
    }
}
.rlc-success {
    padding: 15px;
    margin-top: 10px;
    background: #d4f7d4;
    color: #0a6d0a;
    border-left: 4px solid #0a6d0a;
    font-weight: 600;
    border-radius: 6px;
}

.rlc-error {
    padding: 15px;
    margin-top: 10px;
    background: #ffe1e1;
    color: #b30000;
    border-left: 4px solid #b30000;
    font-weight: 600;
    border-radius: 6px;
}