/* animation */
.hover-section {
  transition: all 0.5s ease-in-out;
  cursor: pointer;
  padding: 20px;
  /* border-radius: 10px; */
}

.hover-section h2,
.hover-section p {
  transition: transform 0.5s ease, opacity 0.5s ease;
}



.header-wrapper {
    position: relative;
    z-index: 1000;
}

.top-header {
    background: #f8f9fa;
    padding: 10px 0;
}

.contact-info span {
    color: black;
    font-size: 14px;
}

.social-links {
    text-align: right;
}

.social-links a {
    color: #d25c2a;
    margin: 0 5px;
    text-decoration: none;
}

.social-separator {
    color: #666;
    margin: 0 5px;
}

.main-header {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 2;
}

.navbar {
    padding: 15px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-box img {
    max-height: 65px;
    width: auto;
}

.navbar-nav {
    align-items: center;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    padding: 0.75rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #d25c2a !important;
}

.dropdown-menu {
    border: none;
    border-radius: 8px;
    background-color: #f8f9fa !important;
    color: #666 !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
    /* soft shadow */
    padding: 10px 0;
}

.dropdown-item {
    padding: 8px 20px;
    color: #666 !important;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color:rgb(205, 204, 204);
    color:  #ff6f32;
}

.quote-btn {
    background-color: #d25c2a;
    border: 1px solid #d25c2a;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quote-btn:hover,
.quote-btn:focus {
    background-color:#d36536 ;
    color: white !important;
}

/* Mobile navbar toggler */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    background: transparent;
    position: relative;
    z-index: 1001;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    width: 25px;
    height: 25px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28210,92,42,1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

/* Mobile menu styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 8px 8px;
        padding: 0;
        margin-top: 1px;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
    }

    .navbar-collapse.show {
        max-height: 850px;
        opacity: 1;
        overflow: visible;
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
        padding: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 15px 20px !important;
        border: none;
        display: block;
        width: 100%;
        text-align: left;
    }

    /* Mobile dropdown */
    .dropdown {
        position: relative;
    }

    .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0 !important;
        background-color: #f8f9fa !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        display: none;
    }

    .dropdown-menu.show {
        display: block !important;
    }

    .dropdown-item {
        padding: 12px 30px !important;
        color: #545454 !important;
        background: #f8f9fa !important;
        border-bottom: 1px solid #eee;
    }

    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: #e9ecef !important;
        color: #d25c2a !important;
    }

    .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }

    .quote-btn {
        margin: 15px 20px;
        text-align: center;
        display: block;
        width: calc(100% - 40px);
    }

    .contact-info {
        flex-direction: column;
        gap: 10px !important;
        text-align: center;
    }

    .social-links {
        text-align: center;
        margin-top: 10px;
    }
}

/* Hide top header on very small screens */
@media (max-width: 576px) {
    .top-header {
        display: none;
    }
}