/*
Theme Name: TruPace
Theme URI: https://trupace.com
Author: TruPace Team
Author URI: https://trupace.com
Description: Tema moderno con Bootstrap, fuentes Montserrat y Nunito, y menú off-canvas responsive
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trupace
Tags: custom-menu, featured-images, bootstrap, responsive
*/

/* ==========================================================================
   Paul Irish's CSS Reset
   ========================================================================== */
   :root{
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Nunito', sans-serif;
    --color-primary: #192845;
    --secondary-primary: #761F8D;
    --accent-color: #316F9B;
    --content-color: #1e1e1e;
    --background-color: #F6F7F8;
    --blue-background: #E8EEF4;
   }

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

body {
  line-height: 1;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

nav ul {
  list-style: none;
}
ul{
    list-style-image: url('./assets/img/dot-icon.png');
    margin: 1rem 0;
    padding: 0;
    line-height: 2.2;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}


/* ==========================================================================
   Theme Base Styles
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.4!important;
  font-weight: lighter;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

h1,h2{
  font-weight: 700;
}

h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.75rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #0052a3;
}

img {
  max-width: 100%;
  height: auto;
}
.purple-background{
    background-color: rgb(118, 31, 141, .14)
}

.blue-background{
    background-color: var(--blue-background);
}

.general-cta{
    background-color: var(--secondary-primary);
    color: #fff;
    padding: 15px 40px;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    border: none;
    transition: all 0.3s ease;
}

.general-cta:hover{
   background-color: #fff;
   border: 1px solid var(--secondary-primary);
   color: var(--secondary-primary);
   transform: scale(1.05);
}

.who-is-pace-for{
    background-color: rgba(118, 13, 141, 0.14);
    color: var(--accent-color);
    font-size: 1rem;
}

.who-is-pace-for p{
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 0;
}

.reset-image{
    width: 100%;
}
/* ==========================================================================
   Off-Canvas Mobile Menu
   ========================================================================== */

.offcanvas-menu {
  background: #ffffff;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
}

.offcanvas-menu .navbar-nav {
  padding: 1rem 0;
}

.offcanvas-menu .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  color: #333;
}

.offcanvas-menu .nav-link:hover {
  background-color: #f8f9fa;
  color: #0066cc;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.offcanvas-menu .btn-close {
  background-color: transparent;
  opacity: 1;
  filter: invert(0);
  color: #000;
  font-size: 1.5rem;
}

.offcanvas-menu .btn-close:hover {
  opacity: 0.75;
}

/* ==========================================================================
   Main Navigation
   ========================================================================== */

.main-navigation {
  background: #ffffff;
  padding: 1rem 0;
}

.main-navigation .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.main-navigation .navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  color: var(--content-color);
  flex: 0 0 auto;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  flex: 0 0 auto;
}

.main-navigation .navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
}

.main-navigation .nav-link,
.main-navigation .dropdown-toggle {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  font-size: 1rem;
  color: var(--color-primary);
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  transition: color 0.3s ease;
}

.dropdown-menu .menu-item .nav-link {
  font-size: .8rem;
   margin: 0rem; 
}

.main-navigation .nav-link.active,
.main-navigation .dropdown-toggle.active {
  color: var(--accent-color);
}

.main-navigation .nav-link:hover,
.main-navigation .dropdown-toggle:hover {
  color: var(--secondary-primary);
}

/* Logo Responsive Styles */
.logo-img {
  height: 60px;
  width: auto;
  max-width: 100%;
  transition: height 0.3s ease;
}

@media (max-width: 991px) {
  .logo-img {
    height: 45px;
  }
  
  .main-navigation .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 767px) {
  .logo-img {
    height: 40px;
  }
}

@media (max-width: 575px) {
  .logo-img {
    height: 35px;
  }
  
  .main-navigation {
    padding: 0.75rem 0;
  }
}

/* Dropdown Styles */
.main-navigation .dropdown-menu {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-top: 0;
  padding: 0.5rem 0;
  min-width: 220px;
}

.main-navigation .dropdown-item {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #333;
  padding: 0.75rem 1.5rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: block;
  width: 100%;
  clear: both;
  text-align: left;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
}

.main-navigation .dropdown-item:hover,
.main-navigation .dropdown-item:focus {
  background-color: var(--accent-color);
  color: #fff !important;
  text-decoration: none;
}

.main-navigation .dropdown-toggle::after {
  margin-left: 0.5rem;
  vertical-align: middle;
}

/* Desktop dropdown behavior */
@media (min-width: 992px) {
  .main-navigation .dropdown-menu {
    display: none;
    position: absolute;
    z-index: 1050;
    top: 100%;
    left: 0;
  }
  
  .main-navigation .dropdown-menu.show {
    display: block;
  }
  
  /* Mantener el dropdown visible cuando el cursor está sobre él */
  .main-navigation .nav-item.dropdown:hover > .dropdown-menu,
  .main-navigation .dropdown-menu:hover {
    display: block;
  }
  
  .main-navigation .nav-item.dropdown {
    position: relative;
  }
}

/* Mobile Dropdown Styles */
.offcanvas-menu .dropdown-menu {
  background-color: #f8f9fa;
  border: none;
  box-shadow: none;
  padding: 0.5rem 0 0.5rem 1rem;
  margin-top: 0.25rem;
  position: static !important;
  transform: none !important;
}

.offcanvas-menu .dropdown-item {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  color: #333;
  border-radius: 4px;
}

.offcanvas-menu .dropdown-item:hover,
.offcanvas-menu .dropdown-item:focus {
  background-color: rgba(0, 102, 204, 0.1);
  color: #0066cc;
  text-decoration: none;
}

/* Desktop Menu (hidden on mobile) */
@media (min-width: 992px) {
  .navbar-toggler {
    display: none;
  }
}

/* ==========================================================================
   Top Header Styles
   ========================================================================== */
   .top-header {
    background-color: var(--color-primary);
    color: #fff;
    font-family: var(--font-primary);
    font-size: 0.82rem;
   }
   .top-header .info-container > div {
    white-space: nowrap;
   }
   .CTA-container{
    width: 100%;
   }
   @media (min-width: 992px) {
    .CTA-container {
        width: auto;
        flex-shrink: 0;
    }
   }

   .elegible{
    background-color: var(--secondary-primary);
    color: #fff;
    padding: 1.4rem;
    font-size: 1rem;
    border: none;
    border-radius: 0;
    font-weight: bold;
   }
   .elegible:hover{
    background-color: var(--secondary-primary);
    color: #fff;
   }

   .referral{
    background-color: var(--accent-color);
    color: #fff;
    padding: 1.4rem;
    font-size: 1rem;
    border: none;
    border-radius: 0;
    font-weight: bold;
   }

   .referral:hover{
    background-color: var(--accent-color);
    color: #fff;
   }

   /* ==========================================================================
   HERO BANNER STYLES
    ========================================================================== */
    .home-hero-banner{
      background: url('./assets/img/home-hero.png');
      background-position: center center;
      background-repeat: no-repeat;
      background-size: cover;
      height: 100%;
    }
    .home-hero-clipath {
        background-color: rgba(48, 111, 155, 0.85);
        height: 100%;
        position: relative;
    }
    .home-hero-content{
        position: relative;
    }
    .home-hero-content h1,.home-hero-content h4{
      color: #fff;
      text-align: center;
    }
    .home-hero-content h1{
        font-size: 2rem;
    }
    .home-hero-content h4 span{
      font-weight: bold;
    }
    .home-hero-content p{
      color: #fff;
      font-size: 1.1rem;
      text-align: center;
    }
    .home-hero-content a{
        background: #E6B82B;
        font-weight: bold;
        font-size: 1rem;
        border-radius: 2rem;
        padding: 1rem 2rem;
        color: #fff;
    }
    .home-hero-content a:hover{
      background: #cf9e24;
      color: #fff;
    }



    /*==============================================================================
    FORM HOME STYLES
    ================================================================================*/
    .form-home{
        position: relative;
    }

    .form-home input{
       padding: 1rem;
       border: none;
       box-shadow:  0 4px 8px rgba(0, 0, 0, 0.1);
       margin: .5rem 0;
    }
    .form-home select{
        padding: 1rem;
       border: none;
       box-shadow:  0 4px 8px rgba(0, 0, 0, 0.1);
       margin: .5rem 0;
    }

    .form-home textarea{
        padding: 1rem;
       border: none;
       box-shadow:  0 4px 8px rgba(0, 0, 0, 0.1);
       margin: .5rem 0;
    }

    .form-home input[type="submit"]{
        background-color: #FFC107;
        color: #fff;
        padding: .5rem 4rem;
        border: none;
        border-radius: 2rem;
        font-size: 1rem;
        font-weight: bold;
        margin-top: 1rem;
        position: absolute;
        bottom: -40px;
        left: 50%;
        transform: translate(-50%,-50%);
    }
    /*==========================================================================
    CARDS SERIVCES
    =============================================================================*/
    .car-grid{
       display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: start;
        justify-content: center;
    }
    .card-services-content p{
      font-size: 1rem;
    }
    .card-services{
        width:300px;
        height: 475px;
        position: relative;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    .cta-service{
        display: block;
        font-size: .8rem;
        color: #fff;
        padding: .5rem 1rem;
        border-radius: 2rem;
        width: 250px;
        text-align: center;
    }

    .cta-service:hover{
      color: #fff;
    }
    .card-services-cta{
        position: absolute;
        bottom: -10px;
        left:25px;
    }

    /* ==========================================================================
    CTA BANNER STYLES
    ========================================================================== */
    .cta-banner{
      background: linear-gradient(rgba(0, 115, 152, 0.7), rgba(0, 115, 152, 0.7)), url('./assets/img/cta-banner.png');
      background-position: center center;
      background-repeat: no-repeat;
      background-size: cover;
      min-height: 300px;
      padding: 1rem;
    }
    .cta-banner_buttons a{
      color: #fff;
      padding: .5rem 2rem;
      font-size: 1rem;
    }
    .cta-banner_buttons a:hover{
      color: #fff;
    }
    .cta-banner_buttons a:nth-child(1){
        background-color: var(--accent-color);
    }
    .cta-banner_buttons a:nth-child(2){
        border: 1px solid #fff;
    }

   /* ==========================================================================
   SCROLL TO TOP BUTTON
    ========================================================================== */
    .scroll-to-top {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        background-color: var(--secondary-primary);
        color: #fff;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all 0.3s ease;
        z-index: 9999;
    }

    .scroll-to-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .scroll-to-top:hover {
        background-color: var(--accent-color);
        transform: translateY(-5px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }

    .scroll-to-top svg {
        width: 24px;
        height: 24px;
    }

   /* ==========================================================================
   FOOTER STYLES
    ========================================================================== */
    .site-footer {
       background: linear-gradient(rgba(16, 42, 68, 0.7), rgba(16, 45, 68, 0.7)), url('./assets/img/footer-bg.png');
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        color: #fff;
        font-family: var(--font-secondary);
        padding: 1rem 0;
    }

    /* Language Assistance Bar */
    .language-assistance {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .language-title {
        color: #fff;
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
        font-family: var(--font-primary);
    }

    .language-links {
        font-size: 0.9rem;
        line-height: 1.8;
    }

    .language-links a {
        color: #fff;
        text-decoration: none;
        transition: color 0.3s ease;
        padding: 0 0.25rem;
    }

    .language-links a:hover {
        color: #FFC107;
        text-decoration: underline;
    }

    /* Footer Main Content */
    .footer-main {
        padding: 3rem 0 2rem;
    }

    /* Footer Logos */
    .footer-logos {
        margin-bottom: 2rem;
    }

    .footer-logo-primary img,
    .footer-logo-secondary img {
        max-width: 250px;
        height: auto;
        transition: transform 0.3s ease;
    }

    .footer-logo-primary img:hover,
    .footer-logo-secondary img:hover {
        transform: scale(1.05);
    }

    .logo-text {
        color: #fff;
        font-size: 1.75rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        font-family: var(--font-primary);
        letter-spacing: 0.5px;
    }

    .logo-circles {
        display: inline-flex;
        align-items: center;
        gap: 2px;
        margin-right: 0.5rem;
        font-weight: 700;
    }

    .logo-circles::before,
    .logo-circles::after {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: #fff;
        display: inline-block;
    }

    .logo-subtitle {
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.85rem;
        font-style: italic;
        margin: 0;
        line-height: 1.4;
    }

    .footer-divider {
        border-color: rgba(255, 255, 255, 0.2);
        margin: 2rem 0;
    }

    /* Footer Content */
    .footer-heading {
        color: #fff;
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 1rem;
        font-family: var(--font-primary);
    }

    .footer-address {
        font-style: normal;
        line-height: 1.8;
        font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.9);
    }

    .footer-address a,
    .footer-text a {
        color: #fff;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .footer-address a:hover,
    .footer-text a:hover {
        color: #FFC107;
        text-decoration: underline;
    }

    .footer-text {
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.95rem;
        line-height: 1.8;
    }

    /* Social Icons */
    .social-icons {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: #fff;
        font-size: 1.25rem;
        transition: all 0.3s ease;
    }

    .social-icons a:hover {
        background-color: #FFC107;
        transform: translateY(-3px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    /* Provider Portal Button */
    .btn-provider-portal {
        background-color: transparent;
        color: #fff;
        border: 2px solid #fff;
        padding: 0.5rem 1.5rem;
        border-radius: 4px;
        font-weight: 600;
        text-decoration: none;
        display: inline-block;
        transition: all 0.3s ease;
        font-size: 0.95rem;
    }

    .btn-provider-portal:hover {
        background-color: #fff;
        color: var(--color-primary);
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    /* Footer Navigation */
    .footer-nav .footer-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-nav .footer-menu li {
        margin-bottom: 0.75rem;
    }

    .footer-nav .footer-menu a {
        color: #fff;
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 600;
        transition: color 0.3s ease;
        display: inline-block;
    }

    .footer-nav .footer-menu a:hover {
        color: #FFC107;
        padding-left: 5px;
    }

    /* Footer Bottom */
    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 0.85rem;
    }

    .footer-bottom p {
        color: rgba(255, 255, 255, 0.8);
        margin: 0;
        font-size: .8rem;
        font-weight: lighter;
    }
   /* ==========================================================================
   MEDIA QUERIES
    ========================================================================== */
    @media (min-width: 1024px) and (max-width: 1399px) {
        .reset-image{
    width: 50%;
}
            .car-grid{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: start;
        justify-content: center;
    }
           .home-hero-content p{
      text-align: left;
    }
            .home-hero-content h1{
        font-size: 2.6rem;
    }
    .home-hero-content h4{
        font-size: 2rem;
        text-align: left;
    }
      .CTA-container{
        width: 30%;
      }
      .home-hero-banner{
        height: 550px;
      }
      .home-hero-clipath {
       clip-path: polygon(0 0, 57% 0, 43% 100%, 0% 100%);
      }
       .home-hero-content{
        width: 600px;
        position: absolute;
        top: 50%;
        left: 25%;
        transform: translate(-50%,-50%);
    }
    }

    @media(min-width:1400px){
        .reset-image{
    width: 50%;
}
         .car-grid{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: start;
        justify-content: start;
    }
        .home-hero-content p{
      text-align: left;
    }
        .home-hero-content h1{
        font-size: 3rem;
    }
    .home-hero-content h4{
        font-size: 2rem;
        text-align: left;
    }
         .CTA-container{
        width: 30%;
      }
      .home-hero-banner{
        height: 600px;
      }
      .home-hero-clipath {
       clip-path: polygon(0 0, 49% 0, 37% 100%, 0% 100%);
      }
       .home-hero-content{
        width: 600px;
        position: absolute;
        top: 50%;
        left: 18%;
        transform: translate(-50%,-50%);
    }
    }

      /* Footer Responsive Styles */
    @media (max-width: 991px) {
        .footer-main {
            padding: 2rem 0 1.5rem;
        }

        .logo-text {
            font-size: 1.5rem;
        }

        .footer-logos .row > div {
            text-align: center !important;
        }

        .footer-logo-primary img,
        .footer-logo-secondary img {
            max-width: 220px;
        }

        .footer-heading {
            font-size: 1rem;
            text-align: center !important;
        }

        .footer-address,
        .footer-text {
            text-align: center;
        }

        .social-icons {
            justify-content: center;
        }

        .btn-provider-portal {
            display: block;
            margin-left: auto;
            margin-right: auto;
            width: fit-content;
        }

        .footer-nav {
            text-align: center;
        }

        .footer-menu {
            display: inline-block;
        }
    }

    @media (max-width: 767px) {
        .language-title {
            font-size: 1rem;
        }

        .language-links {
            font-size: 0.8rem;
        }

        .logo-text {
            font-size: 1.25rem;
        }

        .logo-subtitle {
            font-size: 0.75rem;
        }

        .footer-logo-primary img,
        .footer-logo-secondary img {
            max-width: 180px;
        }

        .footer-bottom {
            font-size: 0.75rem;
        }
    }

    @media (max-width: 575px) {
        .footer-logo-primary img,
        .footer-logo-secondary img {
            max-width: 150px;
        }
    }

/* ==========================================================================
   Eligibility Form Styles (Contact Form 7)
   ========================================================================== */

.eligibility-form-wrapper {
    background: var(--blue-background);
    padding: 3rem 2.5rem;
    border-radius: 8px;
}

.eligibility-form-title {
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.3;
}

/* Contact Form 7 Wrapper */
.eligibility-form-wrapper .wpcf7 {
    margin: 0;
}

.eligibility-form-wrapper .wpcf7-form {
    margin: 0;
}

.eligibility-form-wrapper .wpcf7-form p {
    margin-bottom: 0;
}

/* Form Rows */
.eligibility-form-wrapper .form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.eligibility-form-wrapper .form-group-half {
    flex: 1;
}

.eligibility-form-wrapper .form-group {
    margin-bottom: 1rem;
}

/* Input Fields */
.eligibility-form-wrapper .form-input,
.eligibility-form-wrapper input[type="text"],
.eligibility-form-wrapper input[type="email"],
.eligibility-form-wrapper input[type="tel"],
.eligibility-form-wrapper .wpcf7-text,
.eligibility-form-wrapper .wpcf7-email,
.eligibility-form-wrapper .wpcf7-tel {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--secondary-primary);
    background: #ffffff;
    border: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* Select Fields */
.eligibility-form-wrapper .form-select,
.eligibility-form-wrapper select,
.eligibility-form-wrapper .wpcf7-select {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--secondary-primary);
    background: #ffffff;
    border: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg width="14" height="8" viewBox="0 0 14 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L7 7L13 1" stroke="%23761F8D" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 14px 8px;
    padding-right: 3rem;
    cursor: pointer;
}

/* Textarea */
.eligibility-form-wrapper .form-textarea,
.eligibility-form-wrapper textarea,
.eligibility-form-wrapper .wpcf7-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    font-family: var(--font-secondary);
    font-size: 1rem;
    color: var(--secondary-primary);
    background: #ffffff;
    border: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 120px;
}

/* Placeholders */
.eligibility-form-wrapper input::placeholder,
.eligibility-form-wrapper textarea::placeholder {
    color: var(--secondary-primary);
    opacity: 1;
}

/* Focus States */
.eligibility-form-wrapper input:focus,
.eligibility-form-wrapper select:focus,
.eligibility-form-wrapper textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(49, 111, 155, 0.1);
}

/* Submit Button Wrapper */
.eligibility-form-wrapper .form-submit-wrapper,
.eligibility-form-wrapper .wpcf7-submit {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* Submit Button */
.eligibility-form-wrapper .form-submit-btn,
.eligibility-form-wrapper input[type="submit"],
.eligibility-form-wrapper .wpcf7-submit {
    background: var(--accent-color);
    color: #ffffff !important;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 1rem 4rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.eligibility-form-wrapper .form-submit-btn:hover,
.eligibility-form-wrapper input[type="submit"]:hover,
.eligibility-form-wrapper .wpcf7-submit:hover {
    background: #255a7a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 111, 155, 0.3);
}

.eligibility-form-wrapper .form-submit-btn:active,
.eligibility-form-wrapper input[type="submit"]:active,
.eligibility-form-wrapper .wpcf7-submit:active {
    transform: translateY(0);
}

/* CF7 Response Messages */
.eligibility-form-wrapper .wpcf7-response-output {
    margin: 1.5rem 0 0;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
}

.eligibility-form-wrapper .wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.eligibility-form-wrapper .wpcf7-validation-errors,
.eligibility-form-wrapper .wpcf7-mail-sent-ng {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* CF7 Validation Errors */
.eligibility-form-wrapper .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.eligibility-form-wrapper .wpcf7-not-valid {
    border: 1px solid #dc3545 !important;
}

/* CF7 Spinner */
.eligibility-form-wrapper .wpcf7-spinner {
    margin-left: 1rem;
}

@media (max-width: 767px) {
    .eligibility-form-wrapper {
        padding: 2rem 1.5rem;
        margin-top: 1rem;
    }
    
    .eligibility-form-title {
        font-size: 1.4rem;
    }
    
    .eligibility-form-wrapper .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .eligibility-form-wrapper .form-submit-btn,
    .eligibility-form-wrapper input[type="submit"],
    .eligibility-form-wrapper .wpcf7-submit {
        width: 100%;
        padding: 1rem 2rem;
    }
}

/* ======================================================================
   External Link Warning Modal
   ====================================================================== */

.external-link-modal .modal-dialog {
    max-width: 476px;
}

.external-link-modal .modal-content {
    background: linear-gradient(145deg, #f9fbff 0%, #f1f6ff 100%);
    border: 1px solid rgba(25, 40, 69, 0.08);
    border-radius: 17px;
    box-shadow: 0 17px 38px rgba(15, 35, 66, 0.24);
    overflow: hidden;
}

.external-link-modal .modal-header {
    border: 0;
    justify-content: flex-end;
    padding: 0.6rem 0.6rem 0;
}

.external-link-modal .btn-close {
    align-items: center;
    background-color: #f17c1d;
    background-image: none;
    border-radius: 6px;
    display: inline-flex;
    flex-shrink: 0;
    height: 24px;
    justify-content: center;
    margin: 0;
    opacity: 1;
    position: static;
    width: 24px;
}

.external-link-modal .btn-close::before,
.external-link-modal .btn-close::after {
    background: #ffffff;
    content: '';
    height: 2px;
    position: absolute;
    width: 10px;
}

.external-link-modal .btn-close::before {
    transform: rotate(45deg);
}

.external-link-modal .btn-close::after {
    transform: rotate(-45deg);
}

.external-link-modal .btn-close:hover {
    background-color: #d8660d;
}

.external-link-modal .btn-close:focus {
    box-shadow: 0 0 0 3px rgba(241, 124, 29, 0.25);
}

.external-link-modal .modal-body {
    padding: 0.18rem 1.54rem 0.84rem;
}

.external-link-modal .modal-title {
    color: #071832;
    font-family: var(--font-primary);
    font-size: clamp(1.26rem, 2.1vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 0.95rem;
}

.external-link-modal .external-link-text {
    color: #35465f;
    font-size: 1rem;
    line-height: 1.42;
    margin-bottom: 0.6rem;
}

.external-link-modal .external-link-url {
    background: #ffffff;
    border: 1px solid rgba(17, 39, 70, 0.12);
    border-radius: 8px;
    color: #1a385f;
    font-size: 0.95rem;
    line-height: 1.35;
    margin: 0 auto 0.7rem;
    max-width: 100%;
    overflow-wrap: anywhere;
    padding: 0.6rem 0.7rem;
    width: fit-content;
}

.external-link-modal .modal-footer {
    border: 0;
    gap: 0.7rem;
    padding: 0.7rem 1.54rem 1.4rem;
}

.external-link-modal .btn {
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 700;
    min-width: 120px;
    padding: 0.6rem 1rem;
}

.external-link-modal .btn-primary {
    background: #57b15a;
    border-color: #57b15a;
    color: #ffffff;
}

.external-link-modal .btn-primary:hover,
.external-link-modal .btn-primary:focus {
    background: #3e9b45;
    border-color: #3e9b45;
}

.external-link-modal .btn-outline-secondary {
    background: #d53b3b;
    border-color: #d53b3b;
    color: #ffffff;
}

.external-link-modal .btn-outline-secondary:hover,
.external-link-modal .btn-outline-secondary:focus {
    background: #b72d2d;
    border-color: #b72d2d;
    color: #ffffff;
}

@media (max-width: 767px) {
    .external-link-modal .modal-dialog {
        margin: 0.6rem;
    }

    .external-link-modal .modal-body {
        padding: 0.07rem 0.88rem 0.45rem;
    }

    .external-link-modal .modal-title {
        font-size: 1.2rem;
        margin-bottom: 0.65rem;
    }

    .external-link-modal .external-link-text {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
    }

    .external-link-modal .external-link-url {
        font-size: 0.7rem;
    }

    .external-link-modal .modal-footer {
        flex-direction: column;
        padding: 0.6rem 0.88rem 1rem;
    }

    .external-link-modal .btn {
        font-size: 0.75rem;
        min-width: 0;
        width: 100%;
    }
}


