/* Custom Styles for High-Converting Landing Page */

/* Add at the beginning of the file */
body.menu-open {
    overflow: hidden;
}

body.menu-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

/* Hero Section */
.hero-wrap {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: #ffffff;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Quick Quote Form Styles */
.quick-quote-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-top: -20px;
}

.quick-quote-form:hover {
    transform: translateY(-5px);
}

.quick-quote-form h4 {
    color: #333;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.quick-quote-form .form-control {
    height: 45px;
    font-size: 0.95rem;
    border: 1px solid #e0e0e0;
}

.quick-quote-form .input-group-text {
    height: 45px;
    font-size: 0.95rem;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
}

.quick-quote-form .btn {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-quote-form .small {
    font-size: 0.8rem;
    color: #666;
}

@media (max-width: 991px) {
    .hero-wrap {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .quick-quote-form {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .quick-quote-form {
        margin-top: 20px;
    }
}

/* Form Styling */
.form-control {
    height: 50px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.input-group-text {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-right: none;
    border-radius: 8px 0 0 8px;
}

.input-group .form-control {
    border-radius: 0 8px 8px 0;
}

/* CTA Buttons */
.btn.style1 {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn.style1:hover {
    background: linear-gradient(45deg, #0056b3, #003d82);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn.style2 {
    background: #ffffff;
    color: #007bff;
    border: 2px solid #007bff;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn.style2:hover {
    background: #007bff;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Services Section */
.services-wrap {
    padding: 80px 0;
    background: #f8f9fa;
}

.service-card {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

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

.service-img {
    position: relative;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-content p {
    color: #666;
    margin-bottom: 20px;
}

/* Contact Form Section */
.contact-wrap {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.contact-form-wrap {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-wrap h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 2rem;
}

/* Footer Styles */
.footer-wrap {
    background: #1a1a1a;
    color: #ffffff;
    position: relative;
}

.footer-top {
    padding: 80px 0 40px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 60px;
    width: auto;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-widget h3 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #007bff;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 15px;
}

.footer-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background: #007bff;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    color: #007bff;
    padding-left: 20px;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
    color: #007bff;
    font-size: 18px;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #007bff;
}

.social-profile {
    display: flex;
    gap: 15px;
}

.social-profile a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-profile a:hover {
    background: #007bff;
    transform: translateY(-3px);
}

.footer-bottom {
    background: #111111;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #007bff;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: #007bff;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0056b3;
    color: #ffffff;
    transform: translateY(-3px);
}

/* Responsive Footer */
@media (max-width: 991px) {
    .footer-top {
        padding: 60px 0 30px;
    }

    .footer-widget {
        margin-bottom: 30px;
    }

    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }

    .copyright {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .footer-top {
        padding: 40px 0 20px;
    }

    .footer-widget h3 {
        font-size: 20px;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        gap: 15px;
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-wrap {
        padding: 60px 0;
    }
    
    .service-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .quick-quote-form {
        margin-top: 30px;
    }
    
    .service-img img {
        height: 200px;
    }
}

/* Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Optimization */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy-load.loaded {
    opacity: 1;
}

/* Performance Optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

/* Print Styles */
@media print {
    .quick-quote-form,
    .contact-form-wrap {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Gallery Section */
.gallery-wrap {
    background: #ffffff;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-btn {
    width: 50px;
    height: 50px;
    background: #007bff;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transform: scale(0);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-btn {
    transform: scale(1);
}

.gallery-btn:hover {
    background: #0056b3;
    color: #ffffff;
}

/* Testimonials Section */
.testimonials-wrap {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonial-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    margin: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid #007bff;
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-icon {
    color: #007bff;
    font-size: 24px;
    margin-bottom: 15px;
}

.testimonial-content p {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.client-info h4 {
    color: #333;
    font-size: 18px;
    margin-bottom: 5px;
}

.client-info span {
    color: #007bff;
    font-size: 14px;
}

.testimonial-one-pagination {
    position: relative;
    margin-top: 30px;
    text-align: center;
}

.testimonial-one-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #007bff;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.testimonial-one-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 5px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .gallery-item img {
        height: 250px;
    }
}

@media (max-width: 767px) {
    .gallery-item img {
        height: 200px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
}

/* Header Styles */
.header-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.3s ease;
    background: transparent;
}

.header-wrap.sticky {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.header-wrap.sticky .header-top {
    display: none;
}

.header-wrap.sticky .logo-white {
    display: none;
}

.header-wrap.sticky .logo-dark {
    display: block;
}

.header-wrap.sticky .main-menu a {
    color: #333;
}

.header-wrap.sticky .header-bottom {
    padding: 15px 0;
}

.header-wrap.sticky .mobile-menu a {
    color: #333;
}

/* Add padding to body to prevent content from hiding under fixed header */
body {
    padding-top: 1px; /* Adjust this value based on your header height */
}

/* Top Bar */
.header-top {
    background: #1a1a1a;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
}

.contact-item i {
    color: #007bff;
    font-size: 18px;
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #007bff;
}

.header-top-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.social-profile {
    display: flex;
    gap: 15px;
}

.social-profile a {
    color: #ffffff;
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-profile a:hover {
    color: #007bff;
}

.offer-badge {
    background: rgba(0, 123, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
    color: #ffffff;
}

.offer-badge i {
    color: #007bff;
    margin-right: 5px;
}

/* Main Header */
.header-bottom {
    background: transparent;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.logo {
    display: block;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.logo-dark {
    display: none;
}

.main-menu-wrap {
    display: flex;
    justify-content: center;
}

.main-menu {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #007bff;
    transition: width 0.3s ease;
}

.main-menu a:hover,
.main-menu a.active {
    color: #007bff;
}

.main-menu a:hover::after,
.main-menu a.active::after {
    width: 100%;
}

.header-bottom-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.header-btn .btn {
    padding: 12px 25px;
    font-size: 14px;
}

.mobile-menu {
    display: none;
}

.menu-close {
    display: none;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .header-top-left {
        justify-content: center;
        margin-bottom: 10px;
    }

    .header-top-right {
        justify-content: center;
    }

    .main-menu-wrap {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: #ffffff;
        padding: 30px;
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .main-menu-wrap.open {
        right: 0;
    }

    .menu-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 24px;
        color: #333;
        cursor: pointer;
    }

    .main-menu {
        flex-direction: column;
        gap: 15px;
        margin-top: 40px;
    }

    .main-menu a {
        color: #333;
        font-size: 18px;
        padding: 10px 0;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-menu a {
        color: #ffffff;
        font-size: 24px;
        background: transparent;
        width: auto;
        height: auto;
    }

    .header-wrap.sticky .mobile-menu a {
        color: #333;
    }

    .header-bottom-right {
        justify-content: flex-end;
    }

    .header-btn {
        display: none;
    }
}

@media (max-width: 767px) {
    .header-top-left {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .header-top-right {
        flex-direction: column;
        gap: 10px;
    }

    .social-profile {
        justify-content: center;
    }

    .offer-badge {
        text-align: center;
    }

    .header-bottom {
        padding: 15px 0;
    }

    .logo img {
        max-height: 40px;
    }

    .mobile-menu a {
        font-size: 20px;
    }

    .header-bottom-right {
        gap: 15px;
    }
} 