/* 
Theme Name:      Everest Roof Services
Theme URI:       http://childtheme-generator.com/
Description:     Everest Roof Services is a child theme of Shelder, created by ChildTheme-Generator.com
Author:          Bishal Shrestha
Author URI:      http://childtheme-generator.com/
Template:        Shelder
Version:         1.2.0
Text Domain:     everest-roof-services
*/

/*
    Add your custom styles here
*/

/* CUSTOMIZER CSS - HEADER/LOGO FIXES =============================== */
.main-header.style-one .header-upper .outer-box .logo-box:before{
    transform: none!important;
}

.main-header.style-one .header-upper .outer-box .logo-box:before,.main-header .sticky-header .logo-box:before{
    transform: none!important;
}
.main-header.style-one .header-upper .outer-box .logo-box:after,.main-header .sticky-header .logo-box:after{
    transform: none!important;
}

.main-header.style-one .header-upper .outer-box .logo-box,.main-header.style-one .header-upper .outer-box .logo-box:before,.main-header.style-one .header-upper .outer-box .logo-box:after{height:110px!important}

.main-header.style-one .header-upper .outer-box .logo-box{top:unset}
.main-header.style-one .header-upper .outer-box .logo-box{
    line-height:unset
}

.main-header.style-one .header-upper .outer-box .logo-box:before,.main-header .sticky-header .logo-box:before{background:unset}

.main-header.style-one .header-upper .outer-box .logo-box:after,.main-header .sticky-header .logo-box:after{border:unset;}
.main-header.style-one .header-upper .outer-box .logo-box .logo img{max-width:100%}

.main-header .sticky-header .logo-box{
    width:200px !important;
}

/* CUSTOMIZER CSS - OTHER ELEMENTS ================================== */
.cu-why-us .video-btn{
    display:none;
}

.cu-footer-bar{
    display:none;
}

.cu-fullwidth p{
    color:white!important;
}
.cu-services .icon-box{
    display:none;
}
.cu-shape .elementor-shape-top{
    top:unset!important;
}

.cu-steps ol li{
    list-style:numbers!important;
    margin-left: 20px;
    padding: 10px;
}
.cu-steps ol li::marker{
    color:#af7f1e;
    font-weight: 900;
}

/* CUSTOMIZER CSS - MOBILE STYLES =================================== */
@media only screen and (max-width:600px){
    .header-top{
        display:none!important;
    }
    .logo-box{
        width:70%;
        float:left;
    }
    .menu-area{
        width:30%;
    }
    .main-header.style-one .header-upper .outer-box .logo-box .logo{
        padding-top:15px!important;
        vertical-align:middle!important;
    }
    .main-header.style-one .header-upper .outer-box .logo-box:after{height:unset!important}
    .main-header.style-one .header-upper .outer-box .logo-box{height:max-content!important}
}

@media only screen and (max-width:600px){
    .cu-footer-bar{
        display:unset!important;
        width:100%;
        z-index:999;
        position:fixed;
        bottom:0
    }
    .cu-get-quote,.cu-call-now{
        width:50%;float:left;
        text-align:center;
        background-color:#B47D0D;
        padding:10px!important;
        box-shadow:5px 0px 5px -5px #B47D0D;
    }
    .cu-get-quote a,.cu-call-now a{
        padding:10px!important;
        color:white;
    }
    .cu-reviews-badge .rplg .rplg-badge_left-fixed{
        bottom:50px!important;    
    }
}

/* CUSTOMIZER CSS - HERO FORM SECTION =============================== */
.cu-form-section{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  padding:100px 4%;
  position:relative;
  color:#fff;
}

.cu-form-section::before{
  content:'';
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
  z-index:1;
}

.cu-form-section h1,
.cu-form-section .tagline{
  position:relative;
  z-index:2;
}
.cu-form-section h1{
  flex:1 1 48%;
  font-size:48px;
  line-height:1.2;
  margin:0 0 12px;
}
.cu-form-section .tagline{
  flex:1 1 48%;
  font-size:16px;
  max-width:420px;
  margin:0 0 24px;
  color:white;
}

.cu-form-section .nice-select .option:hover, .cu-form-section .nice-select .option.focus,  .cu-form-section .nice-select .current, .cu-form-section .nice-select .option, .cu-form-section .nice-select .option.selected.focus{
    color:black!important;
}

@media(max-width:767px){
  .cu-form-section{padding:60px 4%;}
  .cu-form-section h1,
  .cu-form-section .tagline{flex:1 1 100%;text-align:center;margin:0px}
  .booking-form{flex:1 1 100%;margin-top:32px;}
  .booking-form .form-group{flex:1 1 100%;}
}

/* USP STRIP STYLES ================================================== */
.usp-strip {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.usp-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #b8860b 0%, #d4af37 50%, #b8860b 100%);
}

.usp-strip .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.usp-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #b8860b 0%, #d4af37 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.usp-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.usp-item:hover::before {
    opacity: 1;
}

.usp-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #b8860b 0%, #d4af37 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
    transition: all 0.3s ease;
}

.usp-item:hover .usp-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);
}

.usp-icon svg {
    width: 24px;
    height: 24px;
}

.usp-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.usp-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.usp-subtitle {
    font-size: 13px;
    color: #7f8c8d;
    font-weight: 500;
    line-height: 1.2;
}

/* HERO RESPONSIVE FORM/BUTTON ======================================= */
.desktop-form {
    display: block;
}

.mobile-only {
    display: none;
}

.hero-mobile-btn {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.hero-mobile-btn .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, #b8860b 0%, #d4af37 100%);
    color: #ffffff;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    max-width: 280px;
}

.hero-mobile-btn .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(184, 134, 11, 0.4);
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
}

.mobile-cta-text {
    margin-top: 12px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* BOOKING FORM SECTION ============================================== */
.booking-form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
    padding: 80px 0;
    position: relative;
}

.booking-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #b8860b 50%, transparent 100%);
}

.booking-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.booking-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #b8860b 0%, #d4af37 50%, #b8860b 100%);
}

.booking-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.booking-form-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.2;
}

.booking-form-header p {
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* YOUR WORKING FORM DESIGN - WITH SELECT COLOR FIX ================= */
.booking-form,
.hero-form-card .wpcf7 {
    width: 100%;
}

/* Reset any conflicting styles */
.booking-form *,
.hero-form-card .wpcf7 * {
    box-sizing: border-box;
}

/* Main form container */
.booking-form .row,
.hero-form-card .wpcf7 .row {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    clear: both;
}

.booking-form .row.clearfix,
.hero-form-card .wpcf7 .row.clearfix {
    clear: both;
}

/* Form groups - proper spacing */
.booking-form .form-group,
.hero-form-card .wpcf7 .form-group {
    position: relative;
    margin-bottom: 20px !important;
    width: 100% !important;
    float: none !important;
    clear: both !important;
    display: block !important;
}

/* Field input container - YOUR WORKING LAYOUT */
.booking-form .field-input,
.hero-form-card .wpcf7 .field-input {
    position: relative;
    display: flex !important;
    align-items: stretch !important;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
    width: 100% !important;
    height: auto !important;
    min-height: 60px;
}

.booking-form .field-input:hover,
.hero-form-card .wpcf7 .field-input:hover {
    border-color: #d4af37;
    background: #ffffff;
}

.booking-form .field-input:focus-within,
.hero-form-card .wpcf7 .field-input:focus-within {
    border-color: #b8860b;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

/* Icons - YOUR WORKING POSITIONING ON LEFT */
.booking-form .field-input i,
.hero-form-card .wpcf7 .field-input i {
    color: #b8860b !important;
    font-size: 16px !important;
    flex-shrink: 0 !important;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%) !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 60px !important;
    min-width: 60px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
}

/* Form inputs - YOUR WORKING TO FILL REMAINING SPACE */
.booking-form input[type="text"],
.booking-form input[type="tel"],
.booking-form input[type="email"],
.booking-form input[type="date"],
.booking-form select,
.hero-form-card .wpcf7 input[type="text"],
.hero-form-card .wpcf7 input[type="tel"],
.hero-form-card .wpcf7 input[type="email"],
.hero-form-card .wpcf7 input[type="date"],
.hero-form-card .wpcf7 select {
    flex: 1 !important;
    padding: 18px 20px !important;
    border: none !important;
    background: transparent !important;
    font-size: 16px !important;
    color: #2c3e50 !important;
    outline: none !important;
    font-family: inherit !important;
    height: 100% !important;
    margin: 0 !important;
    box-shadow: none !important;
    min-height: 56px !important;
    border-radius: 0 !important;
}

.booking-form input::placeholder,
.hero-form-card .wpcf7 input::placeholder {
    color: #95a5a6 !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

/* Select dropdown - FIXED COLOR ISSUES */
.booking-form select,
.hero-form-card .wpcf7 select {
    cursor: pointer !important;
    appearance: none !important;
    background: #ffffff !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23b8860b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 20px center !important;
    background-repeat: no-repeat !important;
    background-size: 16px !important;
    padding-right: 50px !important;
    color: #2c3e50 !important;
    font-weight: 600 !important;
    z-index: 10 !important;
}

/* Select options styling - FIXED COLORS */
.booking-form select option,
.hero-form-card .wpcf7 select option {
    background: #ffffff !important;
    color: #2c3e50 !important;
    padding: 10px !important;
    font-weight: 600 !important;
}

.booking-form select option:hover,
.hero-form-card .wpcf7 select option:hover {
    background: #f8f9fa !important;
    color: #b8860b !important;
}

/* Placeholder styling for select - FIXED */
.booking-form select option:first-child,
.hero-form-card .wpcf7 select option:first-child {
    color: #6c757d !important;
    font-style: italic !important;
    font-weight: 500 !important;
}

/* When select has value selected, ensure dark color */
.booking-form select:not(:invalid),
.hero-form-card .wpcf7 select:not(:invalid) {
    color: #2c3e50 !important;
    font-weight: 600 !important;
}

/* When select has no value selected, show placeholder color */
.booking-form select:invalid,
.hero-form-card .wpcf7 select:invalid {
    color: #6c757d !important;
    font-weight: 500 !important;
}

/* Submit button */
.booking-form .message-btn,
.hero-form-card .wpcf7 .message-btn {
    margin-top: 15px !important;
    width: 100% !important;
    clear: both !important;
    display: block !important;
}

.booking-form .theme-btn,
.booking-form input[type="submit"],
.hero-form-card .wpcf7 .theme-btn,
.hero-form-card .wpcf7 input[type="submit"] {
    width: 100% !important;
    padding: 20px 30px !important;
    background: linear-gradient(135deg, #b8860b 0%, #d4af37 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 8px 25px rgba(184, 134, 11, 0.3) !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 60px !important;
}

.booking-form .theme-btn:hover,
.booking-form input[type="submit"]:hover,
.hero-form-card .wpcf7 .theme-btn:hover,
.hero-form-card .wpcf7 input[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 35px rgba(184, 134, 11, 0.4) !important;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%) !important;
}

.booking-form .theme-btn:active,
.booking-form input[type="submit"]:active,
.hero-form-card .wpcf7 .theme-btn:active,
.hero-form-card .wpcf7 input[type="submit"]:active {
    transform: translateY(0) !important;
}

.booking-form .theme-btn i,
.hero-form-card .wpcf7 .theme-btn i {
    font-size: 16px;
}

/* Form validation styles */
.booking-form .wpcf7-not-valid,
.hero-form-card .wpcf7 .wpcf7-not-valid {
    border-color: #e74c3c !important;
    background: #fdf2f2 !important;
}

.booking-form .wpcf7-validation-errors,
.hero-form-card .wpcf7 .wpcf7-validation-errors {
    background: #e74c3c !important;
    color: #ffffff !important;
    padding: 15px 20px !important;
    border-radius: 8px !important;
    margin-top: 20px !important;
    font-weight: 500 !important;
}

.booking-form .wpcf7-mail-sent-ok,
.hero-form-card .wpcf7 .wpcf7-mail-sent-ok {
    background: #27ae60 !important;
    color: #ffffff !important;
    padding: 15px 20px !important;
    border-radius: 8px !important;
    margin-top: 20px !important;
    font-weight: 500 !important;
}

/* Clear floats and fix layout issues */
.booking-form .row::after,
.hero-form-card .wpcf7 .row::after {
    content: "";
    display: table;
    clear: both;
}

/* RESPONSIVE DESIGN ================================================= */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .usp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .usp-strip {
        padding: 35px 0;
    }
    
    .booking-form-wrapper {
        padding: 40px 30px;
    }
    
    .booking-form-header h2 {
        font-size: 28px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .usp-strip {
        padding: 30px 0;
    }
    
    .usp-grid {
        gap: 20px;
    }
    
    .usp-item {
        padding: 18px;
        gap: 12px;
    }
    
    .usp-icon {
        width: 44px;
        height: 44px;
    }
    
    .usp-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .usp-title {
        font-size: 15px;
    }
    
    .usp-subtitle {
        font-size: 12px;
    }
    
    /* Show mobile button, hide desktop form */
    .desktop-form {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    .booking-form-section {
        padding: 60px 0;
    }
    
    .booking-form-wrapper {
        margin: 0 20px;
        padding: 35px 25px;
    }
    
    .booking-form-header h2 {
        font-size: 26px;
    }
    
    .booking-form .field-input i,
    .hero-form-card .wpcf7 .field-input i {
        width: 55px !important;
        min-width: 55px !important;
    }
    
    .booking-form input[type="text"],
    .booking-form input[type="tel"],
    .booking-form input[type="email"],
    .booking-form input[type="date"],
    .booking-form select,
    .hero-form-card .wpcf7 input[type="text"],
    .hero-form-card .wpcf7 input[type="tel"],
    .hero-form-card .wpcf7 input[type="email"],
    .hero-form-card .wpcf7 input[type="date"],
    .hero-form-card .wpcf7 select {
        padding: 16px 18px !important;
        font-size: 15px !important;
    }
    
    .booking-form .theme-btn,
    .booking-form input[type="submit"],
    .hero-form-card .wpcf7 .theme-btn,
    .hero-form-card .wpcf7 input[type="submit"] {
        padding: 18px 25px !important;
        font-size: 16px !important;
    }
}

/* Mobile devices */
@media (max-width: 480px) {
    .usp-strip {
        padding: 25px 0;
    }
    
    .usp-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .usp-item {
        padding: 16px;
        gap: 12px;
        text-align: left;
    }
    
    .usp-icon {
        width: 40px;
        height: 40px;
    }
    
    .usp-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .usp-title {
        font-size: 14px;
    }
    
    .usp-subtitle {
        font-size: 11px;
    }
    
    .hero-mobile-btn {
        padding: 25px 15px;
    }
    
    .hero-mobile-btn .btn {
        padding: 16px 30px;
        font-size: 16px;
    }
    
    .booking-form-section {
        padding: 50px 0;
    }
    
    .booking-form-wrapper {
        margin: 0 15px;
        padding: 30px 20px;
    }
    
    .booking-form-header h2 {
        font-size: 24px;
    }
    
    .booking-form-header p {
        font-size: 15px;
    }
    
    .booking-form .field-input,
    .hero-form-card .wpcf7 .field-input {
        min-height: 50px;
    }
    
    .booking-form .field-input i,
    .hero-form-card .wpcf7 .field-input i {
        width: 50px !important;
        min-width: 50px !important;
        font-size: 14px !important;
    }
    
    .booking-form input[type="text"],
    .booking-form input[type="tel"],
    .booking-form input[type="email"],
    .booking-form input[type="date"],
    .booking-form select,
    .hero-form-card .wpcf7 input[type="text"],
    .hero-form-card .wpcf7 input[type="tel"],
    .hero-form-card .wpcf7 input[type="email"],
    .hero-form-card .wpcf7 input[type="date"],
    .hero-form-card .wpcf7 select {
        padding: 14px 15px !important;
        font-size: 14px !important;
        min-height: 46px !important;
    }
    
    .booking-form .theme-btn,
    .booking-form input[type="submit"],
    .hero-form-card .wpcf7 .theme-btn,
    .hero-form-card .wpcf7 input[type="submit"] {
        padding: 16px 20px !important;
        font-size: 15px !important;
        min-height: 50px !important;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .usp-strip .container {
        padding: 0 15px;
    }
    
    .usp-item {
        padding: 14px;
    }
    
    .booking-form-wrapper {
        margin: 0 10px;
        padding: 25px 15px;
    }
    
    .booking-form-header h2 {
        font-size: 22px;
    }
}

/* ACCESSIBILITY IMPROVEMENTS ======================================== */
.usp-item:focus-within {
    outline: 2px solid #b8860b;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .usp-item,
    .usp-icon,
    .booking-form .field-input,
    .booking-form .theme-btn,
    .hero-mobile-btn .btn,
    .hero-form-card .wpcf7 .field-input,
    .hero-form-card .wpcf7 .theme-btn {
        transition: none !important;
    }
    
    .usp-item:hover {
        transform: none;
    }
    
    .usp-item:hover .usp-icon {
        transform: none;
    }
    
    .booking-form .theme-btn:hover,
    .hero-mobile-btn .btn:hover,
    .hero-form-card .wpcf7 .theme-btn:hover {
        transform: none !important;
    }
}

/* HIGH CONTRAST MODE */
@media (prefers-contrast: high) {
    .usp-item {
        border: 2px solid #333;
    }
    
    .usp-title {
        color: #000;
    }
    
    .usp-subtitle {
        color: #333;
    }
    
    .booking-form .field-input,
    .hero-form-card .wpcf7 .field-input {
        border: 2px solid #333;
    }
    
    .booking-form .theme-btn,
    .hero-form-card .wpcf7 .theme-btn {
        background: #000 !important;
        border: 2px solid #fff !important;
    }
}
/* CONTACT FORM 7 COMPATIBILITY FIXES ================================ */

/* Remove CF7 default spacing and styling */
.booking-form .wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Ensure inputs fill the space properly */
.booking-form .field-input .wpcf7-form-control {
    flex: 1 !important;
    width: 100% !important;
    display: block !important;
}

/* Fix date input styling */
.booking-form input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 20px;
    opacity: 0.6;
    cursor: pointer;
    filter: invert(62%) sepia(61%) saturate(477%) hue-rotate(11deg) brightness(91%) contrast(87%);
}

/* Ensure select dropdown fills space */
.booking-form .wpcf7-select {
    width: 100% !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* Fix validation error positioning */
.booking-form .wpcf7-not-valid-tip {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: #e74c3c !important;
    color: #fff !important;
    font-size: 12px !important;
    padding: 5px 10px !important;
    border-radius: 0 0 8px 8px !important;
    margin: 0 !important;
    font-weight: 500 !important;
    z-index: 10 !important;
}

/* Adjust form group for validation messages */
.booking-form .form-group {
    position: relative;
    margin-bottom: 25px !important; /* Extra space for validation messages */
}

/* Fix spinner positioning */
.booking-form .wpcf7-spinner {
    position: absolute !important;
    right: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
}

/* Ensure submit button works with CF7 */
.booking-form input[type="submit"].theme-btn {
    appearance: none !important;
    -webkit-appearance: none !important;
    font-family: inherit !important;
    text-align: center !important;
}

/* Fix response output styling */
.booking-form .wpcf7-response-output {
    margin: 20px 0 0 0 !important;
    padding: 15px 20px !important;
    border-radius: 8px !important;
    border: none !important;
    font-weight: 500 !important;
    text-align: center !important;
}

.booking-form .wpcf7-response-output.wpcf7-validation-errors {
    background: #e74c3c !important;
    color: #ffffff !important;
}

.booking-form .wpcf7-response-output.wpcf7-mail-sent-ok {
    background: #27ae60 !important;
    color: #ffffff !important;
}

/* Fix for Contact Form 7 wrapper */
.booking-form form.wpcf7-form {
    width: 100% !important;
}

/* Ensure icons stay in place */
.booking-form .field-input > i {
    position: relative !important;
    z-index: 5 !important;
}

/* Mobile responsive fixes for CF7 */
@media (max-width: 768px) {
    .booking-form .wpcf7-not-valid-tip {
        font-size: 11px !important;
        padding: 4px 8px !important;
    }
}

/* Fix for date input on mobile */
@media (max-width: 480px) {
    .booking-form input[type="date"] {
        min-height: 46px !important;
    }
}
/* FIX FOR SERVICE DROPDOWN OVERRIDE ================================= */

/* Force native select to show */
.booking-form .field-input select,
.hero-form-card .wpcf7 .field-input select {
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 10 !important;
    display: block !important;
}

/* Hide any Nice Select or similar plugin elements */
.booking-form .nice-select,
.hero-form-card .nice-select,
.booking-form .select2-container,
.hero-form-card .select2-container,
.booking-form .chosen-container,
.hero-form-card .chosen-container {
    display: none !important;
}

/* Override select text color more aggressively */
.booking-form select,
.booking-form select option,
.hero-form-card .wpcf7 select,
.hero-form-card .wpcf7 select option {
    color: #2c3e50 !important;
    background-color: #ffffff !important;
}

/* Fix select dropdown arrow and padding */
.booking-form .field-input select,
.hero-form-card .wpcf7 .field-input select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23b8860b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 15px center !important;
    background-repeat: no-repeat !important;
    background-size: 20px !important;
    padding-right: 45px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

/* FIX ICON SIZES ================================================== */
.booking-form .field-input i,
.hero-form-card .wpcf7 .field-input i {
    font-size: 20px !important; /* Increased from 16px */
    color: #b8860b !important;
}

/* FIX OVERFLOW ISSUES ============================================= */
.booking-form .field-input,
.hero-form-card .wpcf7 .field-input {
    overflow: visible !important; /* Changed from hidden */
}

/* Ensure form groups have enough height */
.booking-form .form-group,
.hero-form-card .wpcf7 .form-group {
    min-height: 60px;
    overflow: visible !important;
}

/* ADDITIONAL FIXES FOR PLACEHOLDER VISIBILITY ===================== */
.booking-form select:required:invalid,
.hero-form-card .wpcf7 select:required:invalid {
    color: #6c757d !important; /* Placeholder color */
}

.booking-form select option:first-child,
.hero-form-card .wpcf7 select option:first-child {
    color: #6c757d !important;
}

.booking-form select option:not(:first-child),
.hero-form-card .wpcf7 select option:not(:first-child) {
    color: #2c3e50 !important;
}

/* MOBILE RESPONSIVE ICON FIXES ==================================== */
@media (max-width: 768px) {
    .booking-form .field-input i,
    .hero-form-card .wpcf7 .field-input i {
        font-size: 18px !important;
    }
}

@media (max-width: 480px) {
    .booking-form .field-input i,
    .hero-form-card .wpcf7 .field-input i {
        font-size: 16px !important;
    }
}

/* Z-INDEX FIXES TO ENSURE ELEMENTS APPEAR CORRECTLY =============== */
.booking-form .wpcf7-form-control-wrap {
    position: relative;
    z-index: 5;
}

.booking-form .field-input select {
    position: relative !important;
    z-index: 10 !important;
}