/* Color Palette */
:root {
    --primary-yellow: #f9c332; /* Matches the header.jpg yellow */
    --dark-text: #1a1a1a;
}

/* Top Bar */
.top-bar {
    background-color: var(--primary-yellow);
    font-size: 14px;
    font-weight: 500;
}

.top-bar a {
    color: var(--dark-text);
    margin-right: 15px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-bar a:hover { opacity: 0.7; }
.contact-details span { color: var(--dark-text); }

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, rgba(0,0,0,0.8) 30%, rgba(0,0,0,0.1) 100%), 
                url('../images/H1-slider-01.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    min-height: 700px;
}

/* Navbar Customization */
.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 16px;
    padding: 0.5rem 1rem !important;
}

.navbar-nav .nav-link.text-warning {
    color: var(--primary-yellow) !important;
}

.btn-warning {
    background-color: var(--primary-yellow);
    border: none;
    color: var(--dark-text);
}

.btn-warning:hover {
    background-color: #e5b22d;
}

/* Hero Typography */
.ls-2 { letter-spacing: 2px; }

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}

/* Review Avatars */
.review-avatars img {
    width: 45px;
    height: 45px;
    object-fit: cover;
}

.ms-n2 { margin-left: -15px !important; }

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-section { text-align: center; }
    .hero-content { margin: 0 auto; }
    .hero-content h1 { font-size: 2.5rem; }
    .d-flex.align-items-center.gap-3 { justify-content: center; }
}

/* Installation Services Custom Styles */
.ls-1 { letter-spacing: 1px; }

.custom-image-grid {
    position: relative;
    display: flex;
    gap: 20px;
}

.left-large-img {
    flex: 1;
}

.left-large-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.right-stack {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.floating-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--primary-yellow); /* Using the yellow from the previous step */
    padding: 30px 20px;
    border-radius: 20px;
    width: 160px;
    text-align: center;
    border: 5px solid #fff;
    z-index: 5;
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.icon-img {
    width: 100%;
    height: auto;
    filter: grayscale(1); /* Matches the subtle look in section1.jpg */
}

.feature-text p {
    line-height: 1.6;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .custom-image-grid {
        flex-direction: column;
    }
    .floating-badge {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin: 20px auto;
        width: 100%;
    }
}

/* Services Section Layout */
.services-section {
    padding-bottom: 80px;
    background-color: #fff;
}

.services-top-bg {
    background-color: var(--primary-yellow); /* Hex: #f9c332 */
    min-height: 400px;
}

.mt-n5 {
    margin-top: -140px; /* Pulls the images up into the yellow background */
}

.service-item-box {
    height: 100%;
    transition: transform 0.3s ease;
}

.service-item-box:hover {
    transform: translateY(-5px);
}

.service-img-wrapper {
    overflow: hidden;
    border-radius: 15px;
    height: 250px;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-hr {
    border: 0;
    border-top: 2px solid #333;
    width: 100%;
    opacity: 1;
    margin-top: 10px;
}

.ls-1 { letter-spacing: 1px; }

/* Responsive adjustments */
@media (max-width: 991px) {
    .mt-n5 {
        margin-top: -50px;
    }
    .services-top-bg {
        min-height: auto;
        padding-bottom: 100px !important;
    }
}

/* Why We Are Best Styles */
.feature-pill-container {
    border-radius: 30px;
    overflow: hidden; /* Ensures background colors don't bleed past corners */
}
.feature-pill-container svg{
  width: 70px;
}
.rounded-start-custom {
    border-radius: 30px 0 0 30px;
}

.rounded-end-custom {
    border-radius: 0 30px 30px 0;
    background-color: #fcfcfc !important; /* Slightly off-white for contrast */
}

.why-best-section .bg-warning {
    background-color: #f9c332 !important; /* Consistent with your branding */
}

.feature-icon img {
    transition: transform 0.3s ease;
}

.feature-pill-container:hover .feature-icon img {
    transform: scale(1.1);
}

.ls-1 {
    letter-spacing: 1.5px;
}

/* Responsive adjustments for mobile rounding */
@media (max-width: 991px) {
    .rounded-start-custom {
        border-radius: 30px 30px 0 0;
    }
    .rounded-end-custom {
        border-radius: 0 0 30px 30px;
    }
    .feature-pill-container {
        border-radius: 30px;
    }
}

/* Comprehensive Section Styles */
.comprehensive-section {
    background: url('section5-bg.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
}

.comprehensive-overlay {
    background: rgba(0, 0, 0, 0.85); /* Dark transparency to match mockup */
    width: 100%;
}
.comprehensive-overlay .comp-icon-box svg{
  width: 50px;
  fill: #fff;
}
.ls-2 {
    letter-spacing: 2px;
}

.comp-icon-box img {
    width: 45px;
    height: auto;
    transition: transform 0.3s ease;
    filter: invert(1);
}

.comp-icon-box:hover img {
    transform: translateY(-5px);
}

.comp-icon-box h6 {
    font-size: 15px;
    letter-spacing: 0.5px;
}

/* Schedule Bar Styles */
.schedule-bar {
    border-top: 1px solid #333;
}

.schedule-bar .btn-warning {
    background-color: #f9c332;
    border-color: #f9c332;
    color: #1a1a1a;
}

.schedule-bar .btn-outline-light {
    border-width: 2px;
}

/* Responsive fixes */
@media (max-width: 768px) {
    .comprehensive-section h2 {
        font-size: 2rem;
    }
    .schedule-bar .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Testimonial Section Styles */
.testimonial-section {
    background-color: #fff;
    overflow: hidden;
    margin-top: 70px;
}

/* Container Wrapper with rounded corners like mockup */
.testimonial-bg-wrapper {
    background-color: #f8f9fa;
    border-radius: 70px 0 0 50px;
    margin-right: 0 !important;
    /* position: relative; */
    padding-left: 150px;
    padding-right: 100px;
    padding-top: 100px !important;
}
.testimonial-section .stars{
  margin-top: 50px;
}
.line-art {
    position: absolute;
    bottom: -55px;
    left: 0;
    max-height: 80%;
    z-index: 1;
}

.testimonial-text {
    font-size: 20px;
    line-height: 1.8;
    color: #333;
    font-weight: 500;
}
.testimonial-bg-wrapper .rounded-circle{
  width: 80px !important;
  height: 80px !important;
}
/* Vertical Indicators */
.carousel-indicators-vertical {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 5;
}

.carousel-indicators-vertical button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: #ddd;
    transition: 0.3s;
}

.carousel-indicators-vertical button.active {
    background-color: var(--primary-yellow);
    transform: scale(1.3);
    outline: 2px solid var(--primary-yellow);
    outline-offset: 3px;
}

/* Divider styling */
.header-divider {
    height: 50px;
}

/* Responsive fixes */
@media (max-width: 991px) {
    .testimonial-bg-wrapper {
        border-radius: 30px;
        padding-left: 20px;
        margin-right: auto !important;
    }
    .carousel-indicators-vertical {
        position: relative;
        flex-direction: row;
        right: 0;
        top: 0;
        transform: none;
        justify-content: center;
        margin-top: 30px;
    }
}

/* Booking Form Specific Styles */
.booking-form-section .bg-warning {
    background-color: #f9c332 !important; /* Matches gsm mockup.jpg */
}
.booking-form-section{
  background-color: #f9c332;
}
.booking-form-section .contact-support-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.booking-form-section .form-control, 
.booking-form-section .form-select {
    font-size: 14px;
    box-shadow: none;
}

.booking-form-section .form-control::placeholder {
    color: #999;
}

.booking-form-section .btn-dark {
    background-color: #1a1a1a;
    border: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.booking-form-section .btn-dark:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.ls-1 {
    letter-spacing: 1px;
}

/* Ensure the image doesn't distort on smaller screens */
.object-fit-cover {
    object-fit: cover;
}

/* Footer Specific Customization */
.main-site-footer {
    background-color: #1a1a1a !important; /* Deep dark background */
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-nav a:hover {
    color: #ffc107; /* Bootstrap Warning Yellow */
    padding-left: 5px;
}

.text-secondary {
    color: #999 !important;
}

.newsletter-box {
    background-color: #222;
}

.newsletter-box .form-control:focus {
    box-shadow: none;
    background-color: #2a2a2a;
}

.newsletter-box .form-control::placeholder {
    color: #555;
    font-size: 13px;
}

.footer-contact-list i {
    font-size: 14px;
}

/* Scroll Top Button Positioning */
.scroll-top-btn {
    z-index: 1000;
    transition: 0.3s;
}

.scroll-top-btn:hover {
    background-color: #fff !important;
}

/* App Button Styling Fix */
.app-buttons a:hover {
    opacity: 0.8;
}

/* Page Header Section */
.page-header {
    /* Replace with your actual background image name */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 20%, rgba(0, 0, 0, 0.2) 100%), 
                url('../images/H1-slider-01.jpg'); 
    background-size: cover;
    background-position: center;
    min-height: 400px; /* Adjust height to match mockup */
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: -1;
}
.page-header .header-content{
    margin-top: 150px;
}
.page-header h1 {
    font-size: 4rem;
    letter-spacing: -1px;
}

/* Customizing the Breadcrumb Separator */
.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: rgba(255, 255, 255, 0.5);
    padding: 0 10px;
}

.breadcrumb-item a:hover {
    color: var(--primary-yellow) !important;
}

@media (max-width: 768px) {
    .page-header {
        min-height: 300px;
        text-align: center;
    }
    .page-header .breadcrumb {
        justify-content: center;
    }
    .page-header h1 {
        font-size: 3rem;
    }
}

/* Unique Services Styling */
.unique-services{
    margin-top: 300px;
}
.unique-services .display-6 {
    line-height: 1.2;
}

.service-card {
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-img-container {
    overflow: hidden;
    border-radius: 20px; /* Large rounded corners from mockup */
}

.service-img-container img {
    width: 100%;
    height: 350px; /* Fixed height for uniformity */
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img-container img {
    transform: scale(1.05);
}

.unique-services .btn-warning {
    background-color: #f9c332;
    border: none;
}

.unique-services .btn-dark {
    background-color: #1a1a1a;
    border: none;
}

.unique-services h4 {
    font-size: 1.25rem;
}

.unique-services p {
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .unique-services .display-6 {
        font-size: 2rem;
    }
    .service-img-container img {
        height: 280px;
    }
}

/* Testimonials Styling */
.testimonials-section.bg-warning {
    background-color: #f9c332 !important; /* Matches Mezan Yellow */
}

.ls-2 {
    letter-spacing: 2px;
}

.testimonial-card {
    min-height: 280px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.quote-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 5px solid #f9c332; /* Matches section bg to create "gap" effect */
}

.testimonial-card h5 {
    margin-top: 15px;
}

.testimonial-card p {
    line-height: 1.7;
}

.rating i {
    font-size: 12px;
    margin: 0 1px;
}

/* Custom spacing for the card row */
@media (min-width: 992px) {
    .testimonials-section .row.g-4 {
        padding: 0 20px;
    }
}

/* Single Service Page Styling */
.single-service-page {
    background-color: #fff;
    margin-top: 300px;
}

.main-service-img {
    overflow: hidden;
    border-radius: 20px;
}

.main-service-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Service Details (Left Side) */
.service-details h2 {
    font-size: 2.8rem;
    letter-spacing: -1px;
}

.service-details p {
    line-height: 1.8;
}

.btn-warning {
    background-color: #f9c332;
    border: none;
    color: #1a1a1a;
}

/* Sidebar Styling (Right Side) */
.service-nav {
    border-color: #f0f0f0 !important;
}

.service-nav a {
    transition: all 0.3s ease;
}

.service-nav a:hover, 
.service-nav .active-service {
    padding-left: 10px;
}

.service-nav li:last-child a {
    border-bottom: none !important;
}

/* Sidebar Quote Form */
.quote-form-sidebar {
    border-color: #f0f0f0 !important;
}

.quote-form-sidebar .form-control {
    font-size: 14px;
}

.quote-form-sidebar .form-control::placeholder {
    color: #999;
}

.quote-form-sidebar .form-control:focus {
    box-shadow: 0 0 0 3px rgba(249, 195, 50, 0.1);
    border-color: #f9c332 !important;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .sidebar-service {
        margin-top: 50px;
    }
    .service-details h2 {
        font-size: 2rem;
    }
}