:root {

    --primary: #a83332;
}

.DZ-theme-btn.DZ-bt-buy-now,
.DZ-theme-btn.DZ-bt-support-now {
    display: none;
}

.pro-gallery {

    object-fit: contain;
}

.dzsale {
    display: none !important;
}

.dz-box.style-1 .dz-info {
    height: 200px;
}

.content-inner-1 {
    padding-top: 0px;
}

p,
a {
    color: black;
}

.pdf-container {
    text-align: center;
    /* Center the button */
    margin-top: 20px;
    /* Add space above */
}

.icon-bx-wraper.style-8 {
    height: 150px;
}

.view-pdf-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    /* Gradient effect */
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Hover effect */
.view-pdf-btn:hover {
    background: linear-gradient(135deg, #0056b3, #004099);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Click effect */
.view-pdf-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.dz-box {
    border: 4px solid #a83332;
    /* Elegant deep red border */
    border-radius: 12px;
    /* Slightly more rounded corners */
    box-shadow: 0px 5px 12px rgba(0, 0, 0, 0.15);
    /* Enhanced soft shadow */
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    /* Subtle gradient background */
}

.dz-box:hover {
    border-color: #8b2928;
    /* Slightly darker red on hover */
    box-shadow: 0px 8px 18px rgba(0, 0, 0, 0.25);
    /* More pronounced shadow on hover */
    transform: scale(1.02);
    /* Slight scale effect for better interaction */
}

.dz-media img {
    border-bottom: 4px solid #a83332;
    /* Matches the border color */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    transition: transform 0.3s ease-in-out;
}

.dz-media img:hover {
    transform: scale(1.03);
    /* Slight zoom effect on image hover */
}

.dz-info {
    padding: 18px;
    background: #fff;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    text-align: center;
    /* Center aligns the content for better readability */
}

.project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.card-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.project-title a {
    color: #333;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-title a:hover {
    color: #007bff;
}

.project-type {
    font-size: 14px;
    font-weight: bold;
}

.btn-primary {
    border-radius: 25px;
    padding: 8px 20px;
}



@media (max-width: 768px) {
    .card-img img {
        height: 200px;
    }

}

@media (min-width: 990px) {
    .logo-header {
        display: none;
    }
}

@media (min-width: 768px) {

    .mob {
        display: none;
    }
}

#site-header {

    .lo {}

    :root {
        --primary: #007bff;
        --secondary: #ffffff;
        --text-dark: #1a1a1a;
        --text-light: #666;
        --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    [data-theme="dark"] {
        --primary: #66b0ff;
        --secondary: #1a1a1a;
        --text-dark: #ffffff;
        --text-light: #b3b3b3;
    }

    /* Base Styles */
    .site-header {
        position: relative;
        font-family: "Noto Sans", sans-serif;
        transition: var(--transition);
    }

    /* Top Bar */
    .top-bar {
        background: rgba(248, 249, 250, 0.95);
        padding: 12px 0;
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .top-bar-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .social-links {
        display: flex;
        gap: 10px;
    }

    .social-icon {
        position: relative;
        color: var(--text-light);
        padding: 8px;
        transition: var(--transition);
    }

    .social-icon:hover {
        color: var(--primary);
        transform: translateY(-2px);
    }

    .social-tooltip {
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: var(--text-dark);
        color: var(--secondary);
        padding: 4px 8px;
        border-radius: 4px;
        font-size: 12px;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .social-icon:hover .social-tooltip {
        opacity: 1;
        visibility: visible;
        bottom: 120%;
    }

    .contact-info {
        display: flex;
        gap: 25px;
        color: var(--text-light);
    }

    .contact-item {
        display: flex;
        align-items: center;
        gap: 8px;
        transition: var(--transition);
    }

    .contact-item:hover {
        color: var(--primary);
    }

    /* Main Navigation */
    .main-nav {
        background: white;
        position: sticky;
        top: 0;
        z-index: 1000;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        transition: var(--transition);
    }

    .main-nav.scrolled {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
    }

    .nav-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 0;
    }

    .logo {
        position: relative;
        max-width: 180px;
    }

    .logo img {
        width: 100%;
        height: auto;
        transition: var(--transition);
    }

    .logo-dark {
        display: none;
    }

    [data-theme="dark"] .logo-light {
        display: none;
    }

    [data-theme="dark"] .logo-dark {
        display: block;
    }

    .nav-links {
        display: flex;
        align-items: center;
        gap: 40px;
    }

    .menu {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .menu li {
        position: relative;
        margin: 0 20px;
    }

    .menu a {

        text-decoration: none;
        color: #212529;
        font-size: 18px;
        padding: 10px 0;
        position: relative;
        transition: var(--transition);

        font-weight: 600;
    }

    .menu a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background: var(--primary);
        transition: var(--transition);
    }

    .menu a:hover::after,
    .menu a.active::after {
        width: 100%;
    }

    .has-dropdown .dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        min-width: 200px;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: var(--transition);
    }

    .has-dropdown:hover .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown a {
        display: block;
        padding: 10px 20px;
        font-size: 14px;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .phone-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        background: var(--primary);
        color: white;
        padding: 10px 20px;
        border-radius: 30px;
        text-decoration: none;
        transition: var(--transition);
    }

    .phone-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    }

    .theme-toggle {
        background: none;
        border: none;
        padding: 10px;
        cursor: pointer;
        color: var(--text-dark);
    }

    .theme-toggle .fa-sun {
        display: none;
    }

    [data-theme="dark"] .theme-toggle .fa-moon {
        display: none;
    }

    [data-theme="dark"] .theme-toggle .fa-sun {
        display: inline;
    }

    /* Mobile Navigation */
    .nav-toggle {
        display: none;
        background: none;
        border: none;
        padding: 10px;
        cursor: pointer;
    }

    .hamburger .line {
        width: 30px;
        height: 3px;
        background: var(--text-dark);
        display: block;
        margin: 6px 0;
        transition: var(--transition);
        background-color: black;
    }

    .nav-toggle.active .line:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active .line:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    /* Responsive Design */
    @media (max-width: 991px) {
        .nav-toggle {
            display: block;
        }

        .nav-links {
            position: fixed;
            top: 0;
            /* Keep it at the top */
            left: -100%;
            width: 280px;
            height: 100vh;
            /* Changed from 150vh to 100vh to match viewport height */
            background: var(--secondary);
            flex-direction: column;
            padding: 80px 20px 20px;
            /* Increased top padding to account for header */
            transition: var(--transition);
            box-shadow: 10px 0 30px rgba(0, 0, 0, 0.1);
            overflow-y: auto;
            /* Added to handle content overflow */
            z-index: 1000;
            /* Ensure it stays on top of other content */
        }

        .nav-links.active {
            background-color: white;
            left: 0;
        }

        .menu {
            flex-direction: column;
            width: 100%;
            padding-left: 20px;
        }

        .menu li {
            margin: 15px 0;
        }

        .has-dropdown .dropdown {
            position: static;
            width: 100%;
            box-shadow: none;
            transform: none;
            display: none;
        }

        .has-dropdown.active .dropdown {
            display: block;
        }

        .top-bar-content {
            flex-direction: column;
            gap: 15px;
            text-align: center;
        }

        .contact-info {
            flex-direction: column;
        }

        /* Add these new rules to prevent content overlap */
        .main-nav {
            position: relative;
            /* Changed from sticky to relative for mobile */
        }

        .site-header+* {
            margin-top: 0;
            /* Reset any top margin on following content */
        }

        body.nav-active {
            overflow: hidden;
            /* Prevent scrolling of background content when nav is open */
        }
    }

    @media (max-width: 576px) {
        .logo {
            max-width: 140px;
        }

        .phone-btn span {
            display: none;
        }

        .phone-btn {
            padding: 10px 15px;
        }
    }




    @media (min-width: 991px) and (max-width: 1200px) {

        .container,
        .container-sm,
        .container-md,
        .container-lg {
            max-width: 987px;
        }

    }


    .m-b0 {
        text-align: justify;
    }

}

@media (min-width: 1186px) {
    .pixel {
        display: inline-block;
        float: left;
        width: 40%;
    }
}

.site-header.style-2 .top-bar .dz-topbar-right ul li,
.site-header.style-2 .top-bar .dz-social-icon a  {
    color: black;
}