/* Custom CSS for Connect Electric Solutions - v136 DEPLOYED 1757435696 */



:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --light-blue: #60a5fa;
    --dark-gray: #374151;
    --medium-gray: #6b7280;
    --light-gray: #f3f4f6;
    --black: #111827;
    --yellow-gold: #fbbf24;
    --dark-gold: #d97706;
    --white: #ffffff;
}

/* General Styles */
body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
}

/* Custom Bootstrap overrides */
.bg-primary {
    background-color: var(--yellow-gold) !important;
}

/* Dynamic navbar styling */
.navbar {
    background-color: var(--yellow-gold) !important;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--primary-blue) !important;
}

/* Default navbar (yellow background) */
.navbar .navbar-nav .nav-link {
    color: var(--black) !important;
    transition: color 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover {
    color: var(--primary-blue) !important;
}

.navbar .navbar-brand {
    color: var(--black) !important;
    transition: color 0.3s ease;
}

/* Scrolled navbar (blue background) */
.navbar.scrolled .navbar-nav .nav-link {
    color: white !important;
}

.navbar.scrolled .navbar-nav .nav-link:hover {
    color: var(--yellow-gold) !important;
}

.navbar.scrolled .navbar-brand {
    color: white !important;
}

.text-primary {
    color: var(--primary-blue) !important;
}

/* Hero service buttons */
.service-highlight-btn {
    background-color: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-highlight-btn i {
    color: var(--yellow-gold) !important;
}

.service-highlight-btn:hover {
    background-color: var(--secondary-blue) !important;
    border-color: var(--secondary-blue) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.service-highlight-btn:hover i {
    color: var(--yellow-gold) !important;
}

.btn-warning {
    background-color: var(--yellow-gold);
    border-color: var(--yellow-gold);
    color: var(--black);
    font-weight: 600;
}

.btn-warning:hover {
    background-color: var(--dark-gold);
    border-color: var(--dark-gold);
    color: var(--black);
}

.text-warning {
    color: var(--yellow-gold) !important;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.company-logo {
    height: 53px;
    width: auto;
    transition: transform 0.3s ease;
}

.company-logo:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}



/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('images/kitchen-backsplash-new.jpg');
    background-size: cover;
    background-position: center 68%;
    background-attachment: scroll;
    position: relative;
    overflow: hidden;
    filter: saturate(0.98) contrast(1.12) brightness(1.03) blur(0px) hue-rotate(-5deg);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    width: 100%;
    transform: translateZ(0);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.12);
    pointer-events: none;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-badges .badge {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 50px;
}

/* Hero Content Styles */
.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(30, 58, 138, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-highlight {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 500;
}

.hero-cta .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Service Cards */
.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--yellow-gold), var(--dark-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--black);
}

.service-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.service-list li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-list li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    color: var(--yellow-gold);
    font-weight: bold;
}

/* About Section Features */
.about-features {
    padding: 1rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--yellow-gold), var(--dark-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--black);
}

.feature-content h5 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-content p {
    margin: 0;
    color: var(--medium-gray);
}

/* Credentials */
.credential-item {
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 10px;
    border-left: 5px solid var(--yellow-gold);
}

/* Work Portfolio Section */
.work-card {
    cursor: pointer;
    transition: all 0.4s ease;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 1;
    visibility: visible;
}

.work-card.loaded {
    animation: fadeInUp 0.6s ease forwards;
}

.work-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.work-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
    vertical-align: top;
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85), rgba(59, 130, 246, 0.85));
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.work-overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-card:hover .work-overlay-content {
    transform: translateY(0);
}

.work-card:hover .work-image {
    transform: scale(1.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Testimonial Carousel Styles */
.testimonial-carousel-container {
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
}

.testimonial-carousel {
    position: relative;
    width: 100%;
    min-height: 450px;
    perspective: 1000px;
    margin-bottom: 2rem;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(30px) scale(0.98);
    transition: all 0.6s ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: all;
    z-index: 3;
}

.testimonial-slide.next-preview {
    opacity: 0.15;
    transform: translateX(15px) scale(0.95);
    z-index: 2;
    pointer-events: none;
}

.testimonial-slide.prev-preview {
    opacity: 0.1;
    transform: translateX(-15px) scale(0.95);
    z-index: 1;
    pointer-events: none;
}

.testimonial-slide.prev {
    transform: translateX(-30px) scale(0.98);
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    margin: 1.5rem 0;
    border: 1px solid var(--light-gray);
    transition: all 0.6s ease-in-out;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-slide.next-preview .testimonial-card,
.testimonial-slide.prev-preview .testimonial-card {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    filter: blur(0.5px);
}

.testimonial-slide.active .testimonial-card {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--yellow-gold);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-style: italic;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-footer {
    border-top: 1px solid var(--light-gray);
    padding-top: 1.25rem;
    margin-top: 1.5rem;
}

.reviewer-name {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.review-stars {
    color: var(--yellow-gold);
    margin-bottom: 0.5rem;
}

.review-stars i {
    font-size: 1rem;
    margin-right: 2px;
}

.review-service {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Carousel Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.carousel-btn {
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.2);
}

.carousel-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

.carousel-btn:active {
    transform: translateY(0);
}

.carousel-btn i {
    font-size: 1.2rem;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active,
.indicator:hover {
    background: var(--primary-blue);
    transform: scale(1.2);
}

/* Thumbtack Link Section */
.thumbtack-link-section {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.thumbtack-link-section .btn {
    transition: all 0.3s ease;
}

.thumbtack-link-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-carousel {
        min-height: 380px;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
        margin: 1rem 0;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .quote-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .carousel-controls {
        gap: 1.5rem;
        margin-top: 3rem;
        margin-bottom: 1.5rem;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
    }
    
    .carousel-btn i {
        font-size: 1.1rem;
    }
    
    .thumbtack-link-section {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
}

/* Animation for slide transitions */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.testimonial-slide.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.testimonial-slide.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

/* Service Areas */
.area-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 58, 138, 0.1);
    height: 100%;
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.area-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.area-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.area-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Contact Section */
.contact-info {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--yellow-gold), var(--dark-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
    color: var(--black);
}

.contact-details h6 {
    margin-bottom: 0.25rem;
    color: var(--primary-blue);
    font-weight: 600;
}

.contact-details a {
    color: var(--primary-blue);
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--secondary-blue);
}

/* Contact Form Styles */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-fields .form-label {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.contact-form-fields .form-control,
.contact-form-fields .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form-fields .form-control:focus,
.contact-form-fields .form-select:focus {
    border-color: var(--yellow-gold);
    box-shadow: 0 0 0 0.2rem rgba(251, 191, 36, 0.25);
}

.contact-divider {
    position: relative;
    margin: 1.5rem 0;
}

.contact-divider span {
    background: var(--white);
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.contact-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #dee2e6;
    z-index: 0;
}

.contact-buttons .btn {
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.emergency-notice .alert {
    border-radius: 10px;
    border: 1px solid var(--yellow-gold);
}

.service-promise ul li {
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 5px;
}

.service-promise ul li:hover {
    background: var(--light-gray);
    transform: translateX(5px);
}

/* Reviews Section */
.thumbtack-rating {
    margin: 2rem 0;
}

.thumbtack-rating .stars {
    font-size: 1.5rem;
}

.review-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.review-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.review-stars {
    color: var(--yellow-gold);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.review-date {
    color: var(--medium-gray);
    font-size: 0.85rem;
    margin-left: 1rem;
}

.review-content p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.review-service {
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.thumbtack-link-card {
    background: var(--light-blue);
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 15px;
    color: white;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.thumbtack-link-card:hover {
    transform: translateY(-5px);
}

.thumbtack-link-card h5,
.thumbtack-link-card p {
    color: white;
}

.thumbtack-link-card .btn-outline-primary {
    border-color: white;
    color: white;
}

.thumbtack-link-card .btn-outline-primary:hover {
    background-color: white;
    color: var(--primary-blue);
}

/* Mobile navbar fixes */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    position: relative;
    margin-left: auto;
    z-index: 1030;
}

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

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Ensure navbar brand has proper spacing on mobile */
@media (max-width: 991.98px) {
    .navbar {
        min-height: 70px;
    }
    
    .navbar-brand {
        max-width: calc(100% - 80px);
        padding-right: 1rem;
        font-size: 1.3rem;
        flex: 1;
    }
    
    .navbar > .container {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    
    .navbar-toggler {
        flex-shrink: 0;
        margin-left: 1rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(251, 191, 36, 0.95);
        margin-top: 0.5rem;
        border-radius: 0.5rem;
        padding: 1rem;
        backdrop-filter: blur(10px);
        position: relative;
        width: 100%;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        margin-bottom: 1rem;
    }
    
    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        position: absolute;
        top: 100%;
        left: 1rem;
        right: 1rem;
        z-index: 1020;
        width: calc(100% - 2rem);
        margin-top: 0.5rem;
        margin-bottom: 0;
    }
    
    .navbar.scrolled .navbar-collapse {
        background: rgba(30, 58, 138, 0.95);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 0.375rem;
        margin-bottom: 0.25rem;
        font-weight: 500;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .navbar-nav .btn {
        margin-top: 0.5rem;
        text-align: center;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        backdrop-filter: none;
        background: rgba(30, 58, 138, 0.2);
    }
    
    .service-highlight {
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.15);
    }
}

/* Footer */
footer {
    background-color: var(--black) !important;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.footer-logo {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-contact a:hover {
    color: var(--yellow-gold) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 80px;
        background-attachment: scroll;
    }
    
    .hero-content {
        padding: 2rem 1.5rem;
    }
    
    .hero-section .display-3 {
        font-size: 2.5rem;
    }
    
    .service-highlight {
        margin-bottom: 1rem;
    }
    
    .service-card,
    .area-card {
        margin-bottom: 2rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-badges .badge {
        display: block;
        margin-bottom: 0.5rem;
    }
    
    .service-card,
    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}





/* Additional utility classes */
.text-gold {
    color: var(--yellow-gold) !important;
}

.bg-gold {
    background-color: var(--yellow-gold) !important;
}

.border-gold {
    border-color: var(--yellow-gold) !important;
}

/* Animation classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll indicators */
.navbar.scrolled {
    background-color: rgba(30, 58, 138, 0.95) !important;
    backdrop-filter: blur(10px);
}


/* Entertainment Center Card Tilt */
.entertainment-tilt {
    transform: rotate(1.5deg);
}

/* Hero buttons centering */
.hero-buttons {
    text-align: center !important;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        margin: 0;
        width: fit-content;
        min-width: 200px;
    }
}

/* Fix mobile hero overlay issues */
@media (max-width: 768px) {
    .hero-overlay {
        background: linear-gradient(135deg, rgba(30, 58, 138, 0.85), rgba(30, 58, 138, 0.75)) !important;
    }
    
    .hero-content {
        padding: 2rem 1rem;
        backdrop-filter: none;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 1rem;
        margin: 1rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem !important;
        line-height: 1.2;
        margin-bottom: 1rem !important;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-features {
        margin-bottom: 2rem !important;
    }
    
    .feature-item {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
    
    /* Fix work card overlaps on mobile */
    .work-card {
        margin-bottom: 2rem !important;
    }
    
    .work-card.entertainment-tilt {
        transform: none !important;
    }
    
    .work-card:hover {
        transform: translateY(-5px) !important;
    }
    
    /* Hide desktop layout, show mobile layout */
    .desktop-featured-row,
    .desktop-bottom-row {
        display: none !important;
    }
    
    .mobile-gallery-row {
        display: flex !important;
    }
    
    /* Create horizontal scrollable gallery row on mobile */
    .mobile-gallery-row.row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 1rem !important;
        padding-bottom: 1rem !important;
        scroll-snap-type: x mandatory;
    }
    
    .mobile-gallery-row .col-lg-6 {
        flex: 0 0 85% !important;
        max-width: 85% !important;
        scroll-snap-align: center;
    }
    
    .mobile-gallery-row .gallery-image {
        margin-bottom: 0;
    }
    
    .mobile-gallery-row .gallery-item {
        margin-bottom: 0 !important;
        height: 100%;
    }
    
    
    /* Mobile service cards */
    .service-card {
        margin-bottom: 1.5rem;
    }
    
    .service-card:hover {
        transform: translateY(-5px) !important;
    }
    
    /* Mobile section padding */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Mobile hero section */
    .hero-section {
        min-height: 85vh;
        background-attachment: scroll;
    }
    
    /* Mobile navigation adjustments */
    .navbar {
        padding: 0.75rem 0;
        min-height: 65px !important;
    }
    
    .company-logo {
        height: 40px !important;
    }
    
    .navbar-brand {
        font-size: 1.2rem !important;
    }
}

/* Desktop: Add specific positioning for gallery images */
@media (min-width: 769px) {
    /* Move up NEMA picture - using unique ID selector */
    /* Desktop: Gallery layout with 1 top + 3 bottom images */
    /* Show desktop layout, hide mobile layout */
    .desktop-featured-row,
    .desktop-bottom-row {
        display: flex !important;
    }
    
    .mobile-gallery-row {
        display: none !important;
    }
    
    /* Featured image styling - make it larger */
    .featured-image {
        margin-bottom: 2rem;
    }
    
    .desktop-featured-row .col-lg-6 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
    
    /* Bottom row 3 images - equal width and height */
    .desktop-bottom-row .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    /* Make all bottom row images same height for alignment */
    .desktop-bottom-row .gallery-image img {
        object-fit: cover;
        object-position: center;
        height: 450px;
        width: 100%;
    }
    
    /* Crop NEMA image from top to align bottom with other images */
    #nema-photo .gallery-image img {
        object-position: center top;
    }
    
    
    
    
    
    
}

.entertainment-tilt:hover {
    transform: rotate(1.5deg) scale(1.02);
}


/* Service Area Map Styling */
.service-cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.city-marker {
    background: white;
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    font-weight: 500;
    color: var(--primary-blue);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.city-marker:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.3);
}

.city-marker i {
    margin-right: 5px;
}

.compact-cities .row {
    max-width: 100%;
}

.compact-cities small {
    color: var(--primary-blue);
    font-weight: 500;
}

.interactive-map {
    border: 2px solid #e9ecef;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .service-cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .city-marker {
        padding: 8px;
        font-size: 14px;
    }
}

/* Map Boundaries Info */
.map-boundaries-info {
    background: rgba(248, 249, 250, 0.95);
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

.boundary-city {
    padding: 8px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    margin-bottom: 5px;
}

.boundary-city:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.boundary-city i {
    font-size: 8px;
}

.boundary-city small {
    color: var(--primary-blue);
    font-weight: 600;
}

@media (max-width: 768px) {
    .map-boundaries-info {
        padding: 10px;
    }
    
    .boundary-city {
        padding: 6px;
        margin-bottom: 3px;
    }
}
