﻿#HomeLogo
{
    width: 200px !important;
}

.header_area.navbar_fixed .main_menu
{
    background: white;
    border-bottom: 0.05rem solid var(--theme-blue);
}

.header_area .navbar .nav .nav-item .nav-link
{
    color: var(--theme-blue);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif
}

.header_area .navbar .nav .nav-item .nav-link.active
{
    color: var(--theme-orange);
    font-weight: bold;
}

.navbar-toggler span
{
    background: var(--theme-orange) !important;
}

.navbar-light .navbar-toggler
{
    color: white;
    border-color: white;
}

.banner_btn:hover
{
    color: var(--theme-orange) !important;
}

.services-section
{
    position: relative;
    margin-top: 70px;
    margin-bottom: -70px;
    border: 2px solid var(--theme-blue);
    border-radius: 30px;
    padding: 20px 20px;
}

.services-label
{
    top: 0;
    left: 0;
    padding: 10px 22px;
    color: var(--theme-blue);
    margin-left: 10px;
    font-weight: bolder;
    letter-spacing: 1px;
    text-align: center;
    font-size: 30px;
}

.services-row
{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.service-card
{
    width: calc(20% - 20px);
    height: 260px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 10px 24px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255,255,255,0.15);
}

.service-card:hover
{
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.service-overlay
{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay
{
    background: rgba(0, 0, 0, 0.55);
    opacity: 1;
}

.service-overlay h3
{
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 8px;
}

.service-overlay p
{
    font-size: 15px;
    opacity: 0.9;
}

.hero-container
{
    margin-left: 5%;
    margin-right: 5%;
}

.nav-link:hover
{
    color: var(--theme-orange) !important;
}

.dropdown-menu .nav-item:hover
{
    background-color: lightgray !important; /* example hover style */
}


.nav-arrow
{
    margin-top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.55);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
}

.service-card:hover .nav-arrow
{
    display: flex !important;
}

.services-list ul
{
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list ul li
{
    position: relative;
    padding-left: 14px;
    margin-bottom: 4px;
    font-size: 12px;
    color: #fff;
    line-height: 1.4;
}

.services-list ul li::before
{
    content: "-";
    position: absolute;
    left: 0;
    color: #ff8c2a;
    font-weight: bold;
}

.service-actions
{
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.service-actions a
{
    padding: 2px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s ease;
}

.btn-view
{
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 1px solid #fff;
}

.btn-view:hover
{
    background: #fff;
    color: #000;
}

.btn-quote
{
    background: var(--theme-orange);
    color: #fff;
}

.btn-quote:hover
{
    background: #d96c00;
    color: white;
}

.service-main-title
{
    width: fit-content;
    text-align: center;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    color: white;
    background: var(--theme-blue);
    padding: 3px 8px;
    border-radius: 50px;
}

.service-card:hover .service-main-title
{
    opacity: 0;
    display: none;
    transform: translateY(-10px);
    transition: opacity 0.1s ease, transform 0.1s ease;
}

/* Premium Section Styling */
.about_area, .full_service_area, .testimonials_area, .contact_area
{
    position: relative;
}

.about_area::before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--theme-blue), transparent);
}

/* Enhanced Process Items */
.service_process .process_item
{
    background: white;
    padding: 40px 25px !important;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service_process .process_item::before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, var(--theme-blue), var(--theme-orange));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service_process .process_item:hover::before
{
    transform: scaleX(1);
}

.service_process .process_item:hover
{
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.process_icon
{
    font-size: 50px;
    color: var(--theme-blue);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service_process .process_item:hover .process_icon
{
    color: var(--theme-orange);
    transform: scale(1.1);
}

/* Enhanced Testimonials */
.testi_item
{
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin: 15px;
    border-left: 4px solid var(--theme-orange);
    transition: all 0.3s ease;
}

.testi_item:hover
{
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.testi_item .media .d-flex img
{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--theme-blue);
}

.testi_item small
{
    color: var(--theme-blue);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced Contact Form */
.contact_form .form-control
{
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.contact_form .form-control:focus
{
    border-color: var(--theme-blue);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.1);
}

.contact_info .info_item
{
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-left: 4px solid var(--theme-orange);
    transition: all 0.3s ease;
}

.contact_info .info_item:hover
{
    transform: translateX(5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.contact_info .info_item i
{
    font-size: 24px;
    color: var(--theme-blue);
    margin-bottom: 15px;
    display: block;
}

/* Premium Buttons */
.contact-btn-orange
{
    background: linear-gradient(45deg, #ff7b00, #ff5500);
    border: none;
    padding: 14px 35px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.contact-btn-orange:hover
{
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 123, 0, 0.3);
    color: white;
}

.contact-blue
{
    background: linear-gradient(45deg, var(--theme-blue), #0056b3);
    border: none;
    padding: 14px 35px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.contact-blue:hover
{
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
    color: white;
}

/* About Features */
.about_features .feature_item
{
    margin-bottom: 12px;
    padding: 8px 0;
}

.about_features .feature_item i
{
    color: #28a745;
    margin-right: 10px;
    margin-left: 10px;
    font-size: 16px;
}

/* Testimonial Filter Enhancement */
.testimonial-filters
{
    margin-bottom: 40px;
}

.filter-btn
{
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    padding: 10px 25px;
    margin: 0 8px 10px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active, .filter-btn:hover
{
    background: var(--theme-orange);
    color: white;
    border-color: var(--theme-orange);
    transform: translateY(-2px);
}

/* ==================== HORIZONTAL TESTIMONIAL CAROUSEL WITH SLIDING ==================== */

.testimonial-carousel-container
{
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-carousel
{
    display: flex;
    transition: transform 0.5s ease-in-out;
    position: relative;
}

.testimonial-slide
{
    display: flex;
    flex: 0 0 100%;
    gap: 30px;
    padding: 20px 10px;
    justify-content: center;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.testimonial-slide.active
{
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.testimonial-slide.slide-out-left
{
    transform: translateX(-100px);
    opacity: 0;
}

.testimonial-slide.slide-out-right
{
    transform: translateX(100px);
    opacity: 0;
}

.testimonial-card
{
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-left: 4px solid var(--theme-orange);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 0;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover
{
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.testimonial-text
{
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0px;
    flex-grow: 1;
    font-style: italic;
}

.testimonial-author
{
    text-align: right;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.testimonial-author h4
{
    color: var(--theme-blue);
    margin-bottom: 5px;
    font-size: 18px;
}

.testimonial-service
{
    color: var(--theme-orange);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.testimonial-rating
{
    color: #ffc107;
    font-size: 16px;
    margin-bottom: 10px;
}

/* Carousel Controls */
.carousel-controls
{
    display: none;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.carousel-arrow
{
    background: var(--theme-blue);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 20px;
    font-weight: bold;
}

.carousel-arrow:hover
{
    background: var(--theme-orange);
    transform: scale(1.1);
}

.carousel-dots
{
    display: flex;
    gap: 10px;
}

.carousel-dot
{
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active
{
    background: var(--theme-orange);
    transform: scale(1.2);
}

.carousel-position
{
    color: var(--theme-blue);
    font-weight: 600;
    font-size: 14px;
    min-width: 80px;
    text-align: center;
}

/* No profile pic styling */
.testimonial-card .media
{
    display: none;
}

.testimonial-card .media-body
{
    width: 100%;
    margin: 0;
    padding: 0;
}

.filtered-out
{
    display: none !important;
}

/* ==================== ENHANCED CONTACT SECTION ==================== */

/* ==================== ENHANCED CONTACT SECTION ==================== */

.contact_area
{
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.contact_area::before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--theme-blue), transparent);
}

.contact_form
{
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
}

.contact_form .form-group
{
    margin-bottom: 25px;
}

.contact_form .form-control
{
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    height: auto;
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
}

.contact_form .form-control:focus
{
    border-color: var(--theme-blue);
    background: white;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
    outline: none;
}

/* Fix text input styling */
.contact_form input[type="text"],
.contact_form input[type="email"],
.contact_form input[type="tel"]
{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 12px !important;
}

/* Fix dropdown styling and z-index */
.contact_form select.form-control
{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c757d' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
    padding-right: 50px;
    position: relative;
    z-index: 1;
}

/* Ensure dropdown appears above other elements */
.contact_form select
{
    z-index: 1000;
    position: relative;
}

/* Fix textarea styling */
.contact_form textarea.form-control
{
    resize: vertical;
    min-height: 120px;
    border-radius: 12px;
    font-family: inherit;
}

/* Fix form grid spacing */
.contact_form .row
{
    margin-left: -10px;
    margin-right: -10px;
}

.contact_form .col-md-6,
.contact_form .col-md-12
{
    padding-left: 10px;
    padding-right: 10px;
}

.contact_info
{
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.contact_info h4
{
    color: var(--theme-blue);
    margin-bottom: 30px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.contact_info h4::after
{
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--theme-orange);
    border-radius: 2px;
}

.contact_info .info_item
{
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    border-left: 4px solid var(--theme-orange);
    transition: all 0.3s ease;
    text-align: center;
}

.contact_info .info_item:hover
{
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    background: white;
}

.contact_info .info_item i
{
    font-size: 32px;
    color: var(--theme-blue);
    margin-bottom: 15px;
    display: block;
}

.contact_info .info_item h6
{
    color: var(--theme-blue);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact_info .info_item p
{
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Form validation styles */
.contact_form .form-control:invalid:not(:focus)
{
    border-color: #e9ecef;
}

.contact_form .form-control:valid
{
    border-color: var(--theme-blue);
}

.contact_form .form-control:valid:focus
{
    border-color: var(--theme-blue);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.1);
}

/* Submit button enhancements */
.contact_form button[type="submit"]
{
    width: 100%;
    padding: 18px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(45deg, var(--theme-orange), #ff5500);
    border: none;
    transition: all 0.3s ease;
    margin-top: 10px;
    color: white;
    cursor: pointer;
}

.contact_form button[type="submit"]:hover
{
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 123, 0, 0.3);
}

.contact_form button[type="submit"]:active
{
    transform: translateY(-1px);
}

/* Fix dropdown options styling */
.contact_form select option
{
    padding: 10px;
    background: white;
    color: #333;
}

.footer_area
{
    background: lightgray;
}
.f_title h3
{
    color: var(--theme-blue);
}
.ab_widget p
{
    color: black;
}

.social_widget .list li a
{
    color: var(--theme-blue);
}

.copy_right_text
{
    color: var(--theme-blue);
}

.service-card
{
    transition: background-image 0.8s ease-in-out, opacity 0.8s ease-in-out !important;
    background-size: cover !important;
    background-position: center !important;
}

.service-hero
{
    padding: 200px 0 200px 0;
    z-index: 1;
    background: url(../../img/services/construction/construction-banner.png) no-repeat scroll center center !important;
    background-size: cover;
}

.breadcrumb-nav
{
    background: var(--theme-blue);
    color: white;
    width: fit-content;
    padding: 5px 20px;
    border-radius: 20px;
}

.service-hero
{
    position: relative;
    padding: 200px 0 200px 0;
    z-index: 1;
    overflow: hidden;
}

.hero-image-container
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image
{
    width: 100%;
    height: 100%;
    object-fit: cover; /* This makes the image cover the container while maintaining aspect ratio */
    object-position: center; /* Focus on the center of the image */
    display: block;
}

.hero-overlay
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Optional: dark overlay for better text readability */
    z-index: 1;
}

.hero-content
{
    position: relative;
    z-index: 2; /* Ensure content appears above the image */
}



/* Responsive design for contact section */
@media (max-width: 768px)
{
    .contact_form
    {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    .service-hero
    {
        padding: 150px 0 150px 0;
    }
    .contact_info
    {
        padding: 30px 20px;
        position: relative;
        top: 0;
    }

    .contact_info .info_item
    {
        padding: 20px;
    }

    .contact_form .form-control
    {
        padding: 12px 15px;
    }

    /* Better spacing on mobile */
    .contact_form .form-group
    {
        margin-bottom: 20px;
    }
}

/* Loading state for form */
.contact_form.loading button[type="submit"]
{
    position: relative;
    color: transparent;
}

.contact_form.loading button[type="submit"]::after
{
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin
{
    to
    {
        transform: rotate(360deg);
    }
}

/* Fix for Bootstrap form-group compatibility */
.form-group
{
    position: relative;
}

/* Ensure proper dropdown rendering */
select
{
    z-index: 1000 !important;
}

/* Fix any potential overflow issues */
.contact_form
{
    overflow: visible;
}

.form-control
{
    position: relative;
    z-index: auto;
}

@keyframes spin
{
    to
    {
        transform: rotate(360deg);
    }
}

/* ==================== MEDIA QUERIES ==================== */


/* Large devices (desktops, 1100px and down) */
@media (max-width: 1100px)
{
    .service-card
    {
        width: calc(33.333% - 20px);
    }
}

/* Medium devices (tablets, 992px and down) */
@media (max-width: 992px)
{
    .testimonial-slide
    {
        gap: 20px;
        padding: 15px 5px;
    }

    .testimonial-card
    {
        padding: 25px;
        max-width: 300px;
    }

    .testimonial-carousel-container
    {
        height: 350px;
    }
}

/* Small devices (landscape phones, 768px and down) */
@media (max-width: 768px)
{
    .service-card
    {
        width: calc(50% - 20px);
    }

    .service_process .process_item
    {
        margin-bottom: 25px;
    }

    .testimonial-filters
    {
        text-align: center;
    }

    .filter-btn
    {
        margin: 5px;
        padding: 8px 20px;
    }

    .testimonial-slide
    {
        flex-direction: column;
        align-items: center;
    }

    .testimonial-card
    {
        width: 100%;
        max-width: 400px;
        margin-bottom: 15px;
    }

    /* Ensure all cards are visible */
    .testimonial-card
    {
        display: flex !important;
    }

    /* SHOW ALL 3 CARDS ON MOBILE - Remove the hiding */
    .testimonial-card:nth-child(2),
    .testimonial-card:nth-child(3)
    {
        display: flex !important; /* Show all cards */
    }

    .testimonial-carousel-container
    {
        height: auto; /* Let container adjust to content */
        min-height: 600px; /* Enough space for 3 stacked cards */
    }

    .testimonial-text
    {
        font-size: 14px; /* Slightly smaller text for mobile */
    }

    /* Hide carousel controls on mobile since we're showing all 3 */
    .carousel-controls
    {
        display: none !important;
    }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px)
{
    .service-card
    {
        width: 100%;
    }
}

/* Large devices (desktops, 993px and up) */
@media (min-width: 993px)
{
}
