.process-steps .step {
    margin-bottom: 20px;
}

.process-steps .step h5 span {
    color: #007bff;
    font-weight: bold;
    margin-right: 10px;
}

.locations-list .location-item {
    margin-bottom: 20px;
}

.locations-list .location-item h5 {
    color: #333;
    margin-bottom: 5px;
}

.locations-list .location-item i {
    color: #007bff;
    margin-right: 10px;
}

.service-box {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.service-box:hover {
    transform: translateY(-10px);
}

.service-icon {
    margin-bottom: 20px;
}

.service-box h3 {
    margin-bottom: 15px;
}

.service-box .read-more {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.service-box .read-more:hover {
    text-decoration: underline;
}

.testimonial-content {
    padding: 30px;
    text-align: center;
}

.testimonial-author {
    margin-top: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.testimonial-author h5 {
    margin-bottom: 5px;
    font-weight: bold;
}

.testimonial-author span {
    color: #6c757d;
    font-size: 14px;
}

.counter-box {
    padding: 40px 20px;
}

.counter-box h3 {
    font-size: 48px;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 10px;
}

.counter-box p {
    font-size: 18px;
    color: #333;
}

.cta-buttons {
    margin-top: 30px;
}

.cta-buttons .btn {
    margin: 0 10px;
}

/* Gallery carousel height adjustments */
.charter-carousel-2 .item {
    display: block;
}

.charter-carousel-2 .item a {
    display: block;
    height: 400px;
    overflow: hidden;
}

.charter-carousel-2 .item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.charter-carousel-2 .item a:hover img {
    transform: scale(1.05);
}

/* Header Scroll Background Fix */
.menu-2.menu-2-scrolled > div {
    background: #06062a !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: calc(100% - 60px) !important;
    transition: all .5s ease-in !important;
}

.menu-2.menu-2-scrolled .menu-2-inner {
    background-color: #fff !important;
    border-bottom: none !important;
    border-top: none !important;
    box-shadow: 0 10px 40px 0 rgba(47, 47, 47, .1) !important;
}

.menu-2.menu-2-scrolled .menu-2-inner .dropdown .btn,
.menu-2.menu-2-scrolled .menu-2-inner a:not(.dropdown-item) {
    color: #121730 !important;
}

.menu-2.menu-2-scrolled .toggle-dot,
.menu-2.menu-2-scrolled .toggle-dot:after,
.menu-2.menu-2-scrolled .toggle-dot:before {
    background: #121730 !important;
}

.menu-2.menu-2-scrolled .menu-2-inner .menu-2-logo .navbar-brand {
    background: 0 0 !important;
}

.menu-2.menu-2-scrolled .navbar-brand span.y {
    background: #06062a !important;
    color: #3aa6f5 !important;
}

.menu-2.menu-2-scrolled .menu-2-inner > div {
    background: 0 0 !important;
}

/* Debug styles to ensure scroll classes are being applied */
.menu-2-scrolled {
    background: #06062a !important;
}

.menu-1-scrolled {
    background: #06062a !important;
}

.navbar-scrolled {
    background: #06062a !important;
}

.header-scrolled {
    background: #06062a !important;
}

/* FAQ Section Styles */
.faq-section {
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/bg6.jpg') center/cover;
    opacity: 0.1;
    z-index: -1;
}

.faq-container {
    position: relative;
    z-index: 1;
}

.faq-category h3 {
    position: relative;
    display: flex;
    align-items: center;
}

.faq-category h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #007bff 0%, #00d4ff 100%);
}

.faq-question {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.faq-question.active {
    background: rgba(0, 123, 255, 0.1);
    border-color: rgba(0, 123, 255, 0.5);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.faq-icon.rotated i {
    transform: rotate(180deg);
}

.faq-answer {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(0, 123, 255, 0.2);
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}

.faq-answer.show {
    display: block !important;
    animation: slideDown 0.3s ease-out;
}

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

.cta-box {
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.cta-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

/* Form Validation Styling for .y-form */
form.y-form .form-control.is-invalid {
    border: 2px solid #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

form.y-form .invalid-feedback {
    display: block !important;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
    margin-bottom: 8px;
}

form.y-form .form-control.is-valid {
    border: 2px solid #28a745 !important;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

form.y-form .valid-feedback {
    display: block !important;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #28a745;
    margin-bottom: 8px;
}

/* Override .y-form styling for form-control inputs */
form.y-form .form-control {
    width: 100%;
    color: #06062a;
    padding: 5px 10px;
    height: 40px;
    line-height: 34px;
    background: #fff;
    border: 1px solid #ced4da;
    margin-bottom: 8px;
    font-size: 14px;
    border-radius: 0.25rem;
}

form.y-form .form-control:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

form.y-form textarea.form-control {
    height: 70px;
    resize: none;
    line-height: 1.5;
}

form.y-form .form-group {
    margin-bottom: 8px;
}

/* Mobile Responsive Header Styles */
@media screen and (max-width: 767px) {
    /* Header text sizing for mobile - increased sizes */
    .hh3 .header-cont h2 {
        font-size: 3.5rem !important; /* Increased from 2.5rem for better visibility */
        line-height: 1.1;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
        font-weight: 700;
    }
    
    .hh3 .header-cont h5 {
        font-size: 1.3rem !important; /* Increased from 1rem for better readability */
        line-height: 1.3;
        margin-bottom: 2rem;
        padding: 0 1.5rem;
        color: rgba(255, 255, 255, 0.9) !important; /* More visible on mobile */
        font-weight: 400;
    }
    
    /* Header container adjustments - better height coverage */
    .hh3 .header-cont {
        padding: 3rem 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: calc(100vh - 98px);
        text-align: center;
    }
    
    /* Make header sections take more height */
    .hh3 {
        min-height: calc(100vh - 98px) !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Compass navigation adjustments for mobile */
    .header-home-3-outer .compass {
        margin-top: 3rem;
    }
    
    .header-home-3-outer .compass .navigation_a p {
        font-size: 1rem;
    }
}

/* Extra small mobile devices */
@media screen and (max-width: 480px) {
    .hh3 .header-cont h2 {
        font-size: 2.8rem !important; /* Increased from 2rem */
        padding: 0 0.5rem;
        line-height: 1.1;
    }
    
    .hh3 .header-cont h5 {
        font-size: 1.1rem !important; /* Increased from 0.9rem */
        padding: 0 1rem;
        line-height: 1.3;
    }
    
    .hh3 .header-cont {
        padding: 2.5rem 0.5rem;
    }
    
    .hh3 {
        min-height: calc(100vh - 98px) !important;
    }
}

/* Mobile About Section Styles */
@media screen and (max-width: 767px) {
    /* About section container adjustments */
    .h3-about-section {
        padding: 60px 0;
        background: url(/images/pages/about-right.jpg) no-repeat top right;
        background-size: cover;
        min-height: 500px; /* Ensure minimum height for background to show */
        position: relative; /* Ensure proper positioning context */
    }
    
    .h3-about-section::before {
        filter: brightness(0.4); /* Lighter overlay for better text visibility */
    }
    
    /* About content container */
    .home-about-3 {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
        text-align: left;
    }
    
    /* Typography adjustments for mobile */
    .thm-h-3.thm-h h4 {
        font-size: 1.5rem !important; /* Reduced from 2rem for mobile */
        margin-bottom: 0.5em;
        line-height: 1.3;
        color: #ffffff !important; /* Ensure white text is visible */
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Add text shadow for better contrast */
    }
    
    .thm-h-3.thm-h h4:after {
        width: 60px; /* Shorter line for mobile */
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    /* Large background text - already handled in main CSS but ensuring it's visible */
    .thm-h-3.thm-h h2 {
        font-size: 47px !important; /* This matches the existing mobile style */
        opacity: 0.15 !important; /* More visible on mobile */
        line-height: 0.6;
        color: #ffffff !important; /* Ensure white text */
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Strong shadow for visibility */
    }
    
    /* Paragraph text adjustments */
    .home-about-3 p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 0;
        color: #ffffff !important; /* Pure white for maximum visibility */
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); /* Strong shadow for readability */
    }
    
    /* Column adjustments */
    .h3-about-section .col-md-8 {
        padding: 0 15px;
    }
    
    .h3-about-section .col-md-3 {
        display: none; /* Hide empty column on mobile */
    }
}

/* Extra small mobile devices - About section */
@media screen and (max-width: 480px) {
    .h3-about-section {
        padding: 40px 0;
        min-height: 450px; /* Slightly smaller height for very small screens */
    }
    
    .home-about-3 {
        padding: 0 15px;
    }
    
    .thm-h-3.thm-h h4 {
        font-size: 1.3rem !important;
        margin-bottom: 0.4em;
        color: #ffffff !important; /* Ensure white text is visible */
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Add text shadow for better contrast */
    }
    
    .thm-h-3.thm-h h4:after {
        width: 50px;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    
    .thm-h-3.thm-h h2 {
        font-size: 35px !important; /* Smaller background text for very small screens */
        opacity: 0.15 !important; /* More visible on mobile */
        color: #ffffff !important; /* Ensure white text */
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Strong shadow for visibility */
    }
    
    .home-about-3 p {
        font-size: 15px;
        line-height: 1.5;
        color: #ffffff !important; /* Pure white for maximum visibility */
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); /* Strong shadow for readability */
    }
    
    /* Gallery section - match desktop colors (dark text) */
    .h-charter .thm-h-3.thm-h h4 {
        color: #121730 !important; /* Dark text like desktop */
        text-shadow: none !important; /* Remove text shadow */
    }
    
    .h-charter .thm-h-3.thm-h h2 {
        color: #121730 !important; /* Dark text like desktop */
        text-shadow: none !important; /* Remove text shadow */
    }
}

/* Mobile Service Cards - Match Desktop Exactly */
@media screen and (max-width: 767px) {
    /* Service cards container - match desktop spacing */
    .explore-section {
        padding: 40px 0;
    }
    
    .explore-section .container-fluid {
        padding: 0 15px;
    }
    
    /* Mobile grid layout - 2 columns */
    .explore-section .row {
        margin: 0 -7.5px;
    }
    
    .explore-section .col-md-6 {
        padding: 0 7.5px;
        margin-bottom: 15px;
        width: 50%;
        float: left;
    }
    
    /* Clear floats every 2 items */
    .explore-section .col-md-6:nth-child(2n+1) {
        clear: left;
    }
    
    /* Match desktop card styling exactly */
    .explore_box {
        position: relative;
    }
    
    /* Match desktop image styling exactly */
    .explore_box img.img-fluid {
        max-width: inherit;
        width: 100%;
        max-height: 50vh; /* Adjusted for mobile viewport */
        object-fit: cover;
        transition: all 0.4s;
    }
    
    /* Match desktop hover images exactly */
    .explore_box.exb-type-2 .img-fluid-i {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        opacity: 0.05;
        max-width: 180px;
        margin: auto;
        transform: translateY(-50%);
    }
    
    /* Match desktop title positioning exactly */
    .explore_box .thm-h {
        position: absolute;
        top: 13%;
        left: 10%;
        z-index: 99;
    }
    
    /* Match desktop type-2 positioning exactly */
    .exb-type-2.explore_box .thm-h {
        left: 0;
        right: 0;
        bottom: 0;
        top: 0;
        margin: auto;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Match desktop text styling exactly - type-1 cards (white text) */
    .explore_box.exb-type-1 .thm-h h4 {
        text-transform: capitalize;
        color: #fff !important;
        text-shadow: none !important; /* Remove any text shadows */
    }
    
    /* Match desktop type-2 text styling exactly - type-2 cards (dark text) */
    .explore_box.exb-type-2 .thm-h h4 {
        text-transform: capitalize;
        color: #121730 !important;
        text-shadow: none !important; /* Remove any text shadows */
    }
    
    /* Remove any box shadows from service cards */
    .explore_box {
        box-shadow: none !important;
    }
    
    /* Match desktop hover effects exactly */
    .explore_box:hover img.img-fluid {
        filter: contrast(140%);
        transition: all 0.4s;
    }
    
    /* Match desktop border effects exactly */
    .explore_box>a::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        border: 8px solid #ddc29a;
        transform: scale(1);
        z-index: 99;
        transition: all 0.4s;
        opacity: 0;
    }
    
    .explore_box>a:hover::before {
        content: "";
        transform: scale(0.9);
        opacity: 0.5;
        transition: all 0.6s;
    }
}

/* Extra small mobile devices - Match Desktop Exactly */
@media screen and (max-width: 480px) {
    .explore-section {
        padding: 30px 0;
    }
    
    .explore-section .container-fluid {
        padding: 0 10px;
    }
    
    .explore-section .row {
        margin: 0 -5px;
    }
    
    .explore-section .col-md-6 {
        padding: 0 5px;
        margin-bottom: 10px;
        width: 50%;
        float: left;
    }
    
    /* Clear floats every 2 items */
    .explore-section .col-md-6:nth-child(2n+1) {
        clear: left;
    }
    
    /* Match desktop image styling exactly */
    .explore_box img.img-fluid {
        max-width: inherit;
        width: 100%;
        max-height: 45vh; /* Slightly smaller for very small screens */
        object-fit: cover;
        transition: all 0.4s;
    }
    
    /* Match desktop hover images exactly */
    .explore_box.exb-type-2 .img-fluid-i {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        opacity: 0.05;
        max-width: 180px;
        margin: auto;
        transform: translateY(-50%);
    }
    
    /* Match desktop text styling exactly - type-1 cards (white text) */
    .explore_box.exb-type-1 .thm-h h4 {
        text-transform: capitalize;
        color: #fff !important;
        text-shadow: none !important; /* Remove any text shadows */
    }
    
    /* Match desktop type-2 text styling exactly - type-2 cards (dark text) */
    .explore_box.exb-type-2 .thm-h h4 {
        text-transform: capitalize;
        color: #121730 !important;
        text-shadow: none !important; /* Remove any text shadows */
    }
    
    /* Remove any box shadows from service cards */
    .explore_box {
        box-shadow: none !important;
    }
    
    /* Gallery section - match desktop colors (dark text) */
    .h-charter .thm-h-3.thm-h h4 {
        color: #121730 !important; /* Dark text like desktop */
        text-shadow: none !important; /* Remove text shadow */
    }
    
    .h-charter .thm-h-3.thm-h h2 {
        color: #121730 !important; /* Dark text like desktop */
        text-shadow: none !important; /* Remove text shadow */
    }
}

/* Mobile Half-Section Styles for Monthly Maintenance Page */
@media screen and (max-width: 767px) {
    /* Disable transform translations on mobile for better visibility */
    .half-section .my-paroller,
    .half-section .mega,
    .half-section .my-element {
        transform: none !important;
    }
    
    /* Allow h2 paroller scrolling - don't override paroller transforms */
    
    /* Half-section mobile layout adjustments */
    .half-section {
        display: flex;
        flex-direction: column;
    }
    
    .half-section .half-left,
    .half-section .half-right {
        width: 100%;
        flex: none;
    }
    
    /* Image section adjustments for mobile */
    .half-section .half-left .img-sec,
    .half-section .half-left.jumbotron {
        height: 300px;
        margin: 0;
        background-size: cover !important;
        background-position: center !important;
    }
    
    .half-section .half-left .img-sec img {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }
    
    /* Writing section adjustments for mobile */
    .half-section .writing-sec {
        padding: 30px 20px;
        margin: 0;
        background: #fff;
        border-radius: 6px;
        box-shadow: 10px 15px 95px -5px rgba(3, 81, 89, .1);
    }
    
    /* Typography adjustments for mobile half-sections */
    .half-section .thm-h-3.thm-h h2 {
        font-size: 2.5rem !important;
        line-height: 0.6;
        opacity: 0.15;
        margin-bottom: 0.5rem;
        color: inherit !important;
    }
    
    .half-section .thm-h-3.thm-h h4 {
        font-size: 1.4rem !important;
        margin-bottom: 1rem;
        line-height: 1.3;
        color: inherit !important;
        text-shadow: none !important;
    }
    
    .half-section .writing-sec p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    /* List styling for mobile */
    .half-section .writing-sec ul {
        padding-left: 20px;
        margin-bottom: 1.5rem;
    }
    
    .half-section .writing-sec ul li {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 0.5rem;
    }
    
    /* Button adjustments for mobile */
    .half-section .writing-sec .btn {
        margin-top: 1rem;
        padding: 12px 24px;
        font-size: 14px;
    }
    
    /* RTL section adjustments for mobile */
    .half-section.rtl-sec {
        flex-direction: column;
    }
    
    .half-section.rtl-sec .half-left,
    .half-section.rtl-sec .half-right {
        order: unset;
    }
}

/* Extra small mobile devices - Half-Section Styles */
@media screen and (max-width: 480px) {
    /* Disable transform translations on very small mobile for better visibility */
    .half-section .my-paroller,
    .half-section .mega,
    .half-section .my-element {
        transform: none !important;
    }
    
    /* Allow h2 paroller scrolling - don't override paroller transforms */
    
    /* Image section adjustments for very small screens */
    .half-section .half-left .img-sec,
    .half-section .half-left.jumbotron {
        height: 250px;
    }
    
    .half-section .half-left .img-sec img {
        height: 250px;
    }
    
    /* Writing section adjustments for very small screens */
    .half-section .writing-sec {
        padding: 20px 15px;
        background: #fff;
        border-radius: 6px;
        box-shadow: 10px 15px 95px -5px rgba(3, 81, 89, .1);
    }
    
    /* Typography adjustments for very small screens */
    .half-section .thm-h-3.thm-h h2 {
        font-size: 2rem !important;
        color: inherit !important;
    }
    
    .half-section .thm-h-3.thm-h h4 {
        font-size: 1.2rem !important;
        color: inherit !important;
        text-shadow: none !important;
    }
    
    .half-section .writing-sec p {
        font-size: 15px;
        line-height: 1.5;
    }
    
    .half-section .writing-sec ul li {
        font-size: 15px;
        line-height: 1.5;
    }
    
    /* Button adjustments for very small screens */
    .half-section .writing-sec .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

