* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Poppins-Regular';
    src: local('../fonts/Poppins-Regular.ttf'), url('../fonts/Poppins-Regular.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins-SemiBold';
    src: local('../fonts/Poppins-SemiBold.ttf'), url('../fonts/Poppins-SemiBold.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Poppins-Black';
    src: local('../fonts/Poppins-Black.ttf'), url('../fonts/Poppins-Black.ttf') format('truetype');
    font-display: swap;
}

/* .container {
    margin: 3rem auto;
    padding: 3rem;
} */

/* --- Navbar Styles --- */

.navbar {
    background: transparent;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: background-color 0.3s ease-in-out;
    font-family: 'Poppins-Regular', sans-serif;
}

/* .navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    z-index: -1;
    transition: background-color 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out;
} */

.navbar-container {
    display: flex;
    justify-content: space-between;
    height: 100%;
    /* height: 80px; */
    z-index: 1;
    width: 100%;
    /* max-width: 1300px; */
    margin: 0 auto;
    padding: 0 10rem;
}

.navbar-logo {
    color: #fff;
    width: 15rem;
    justify-self: start;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
    display: flex;
    align-items: center;
    font-family: 'Poppins-SemiBold', sans-serif;
    transition: color 0.3s ease-in-out;

    img {
        width: 100%;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.nav-item {
    height: 80px;
    /* Match navbar height */
}

.nav-links {
    color: #fff;
    /* Initial menu item color */
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
    /* Smooth transition */
}

.nav-links:hover {
    color: #ccc;
}

.navbar.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .nav-links {
    color: #212121;
}

.navbar.scrolled .nav-links:hover {
    color: #616161;
}

.navbar.scrolled .navbar-logo {
    color: #212121;
    filter: invert(100%);
}

.menu-icon {
    display: none;
    /* Hidden by default, shown in media query */
}

.hero-banner {
    .container-fluid {
        padding: 0;
        height: 100vh;
        object-fit: cover;
        overflow: hidden;

        .main-bnr {
            background-image: url("../images/hero-min.jpg");
            height: 100vh;
            background-attachment: fixed;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            position: relative;

            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            filter: saturate(0.5);
        }
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    width: 90%;
    max-width: 900px;
    padding: 20px;

    h1 {
        font-family: 'Poppins-SemiBold', sans-serif;
        font-size: 3rem;
        margin-bottom: 1rem;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    }

    h2 {
        font-family: 'Poppins-Regular', sans-serif;
        font-size: 1.5rem;
        margin-bottom: 2rem;
        max-width: 700px;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        font-family: 'Poppins-SemiBold', sans-serif;
        padding: 12px 30px;
        font-size: 1.1rem;
        color: #ffffff;
        background-color: #212121;
        border: 2px solid #ffffff;
        border-radius: 5px;
        text-decoration: none;
        transition: all 0.3s ease;
        cursor: pointer;

        &:hover {
            background-color: #ffffff;
            color: #212121;
            border-color: #ffffff;
        }
    }
}

.about {
    background-color: #eee;

    .row {
        padding: 6rem;
    }
}

.services {
    padding-top: 5rem;

    /* background-color: #eee; */
    .service-card {
        height: 100%;
        padding: 1rem;
        border-radius: 25px;
        border: 0.5px solid #eee;
        background-color: #eee;
        transition: all 0.4s;
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;

        span {
            color: #212121;
            font-size: 3rem;
            margin: 0 auto;
        }

        &:hover {
            border: 0.5px solid #fff;
            border-radius: 20px;
            box-shadow: 0 8px 8px 2px #c5c5c5;
        }
    }
}

.section-heading {
    text-align: center;
    margin: auto;
    float: none;
    padding-bottom: 20px;

    p {
        font-size: 26px;
        line-height: 1.5;
        color: #616161;
        font-weight: 300;
        margin: auto;
        width: 70%;
    }
}

.section-heading h2 {
    /* font-family: 'Poppins-SemiBold'; */
    text-transform: uppercase;
    text-align: center;
    color: #212121;
    font-weight: 700;
    margin: auto;
}

hr {
    border: 0;
    height: 1px;
    width: 80px;
    margin: 20px auto !important;
}

.dark-bg {
    background-color: #212121;
}

.dp-portfolio {
    .container-fluid {
        padding: 0;
    }

    padding-top: 5rem;
}

.sample-images {
    display: flex;
    flex-wrap: wrap;
}

.image-container {
    position: relative;

    .after-img,
    .before-img {
        object-fit: contain;
        width: 100%;
        height: 100%;
    }

    .before-img {
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
    }

    &:hover {
        .after-img {
            opacity: 0;
        }

        .before-img {
            opacity: 1;
        }
    }
}

.pricing {
    background-color: #eee;
    padding: 6rem 4rem;

    .card {
        padding: 40px;
        text-align: center;
        background: #fff;
        transition: all 0.2s ease;

        &:hover {
            box-shadow: 0 10px 30px 5px rgba(17, 21, 23, .1);
        }

        h4 {
            font-size: 18px;
            color: #bdbdbd;
        }

        h2 {
            sup {
                font-size: 25px;
                top: -15.6px;
            }

            span {
                font-weight: 700;
                color: #757575;
            }
        }

        ul {
            margin: 20px 0;
            padding: 0;
        }

        li {
            display: block;
            margin-bottom: 10px;
            list-style: none;
        }
    }
}

.contact {
    padding: 4rem;

    form {
        width: 60%;
        margin: auto;

        .input {
            margin: 1rem 0;
        }

        input,
        textarea {
            padding: 1rem;
            color: #212121;

            &:focus {
                border: 2px solid #212121;
                box-shadow: 0 0 10px 0 #fff;
                /* Keeping as per user instruction */
            }
        }

        button {
            background-color: #212121;
            /* Keeping as per user instruction */
            border: 2px solid #ffffff;
            border-radius: 15px;
            color: #ffffff;
            padding: 1rem 2rem;
            transition: all 0.5s ease;

            &:hover {
                color: #212121;
                background-color: #ffffff;
            }
        }
    }
}


/* --- New Footer Styles --- */

footer {
    padding: 0;
    margin: 0;
}

.new-footer {
    background-color: #eee;
    /* Light background */
    color: #212121;
    /* Dark base text */
    padding: 60px 0 30px 0;
    font-size: 0.95rem;
    font-family: 'Poppins-Regular', sans-serif;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-heading {
    font-family: 'Poppins-SemiBold', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #212121;
    margin-bottom: 20px;
    position: relative;
}

.footer-about .footer-logo-link {
    display: block;
    margin-bottom: 20px;
}

.footer-about .footer-logo {
    max-width: 200px;
    height: auto;
    filter: invert(1);
    /* Filter uncommented as requested */
}

.footer-about p {
    color: #424242;
    line-height: 1.7;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #424242;
    color: #424242;
    margin-right: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #212121;
    color: #fff;
    border-color: #212121;
}

.social-icons i {
    font-size: 1rem;
}

/* Quick Links Styling */
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.footer-links ul li i {
    font-size: 0.7rem;
    padding-right: 8px;
    color: #212121;
}

.footer-links ul a {
    color: #212121;
    text-decoration: none;
}

.footer-links ul a:hover {
    color: #000000;
    font-weight: 600;
}

/* Contact Info Styling */
.footer-contact p.contact-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #212121;
    /* overflow-wrap: break-word; 
    word-wrap: break-word;  */
    word-break: break-all;
}

.footer-contact p.contact-item i {
    font-size: 1rem;
    color: #212121;
    width: 20px;
    text-align: center;
}

.footer-contact p.contact-item a {
    color: #212121;
    text-decoration: none;
}

.footer-contact p.contact-item a:hover {
    font-weight: 600;
}
/* Footer Divider */
.footer-divider {
    border: 0;
    border-top: 1px solid rgba(33, 33, 33, 0.15);
    margin: 30px 0;
}

/* Copyright Text */
.copyright-bottom {
    text-align: center;
    padding-top: 20px;
    color: #6c757d;
    font-size: 0.9rem;
}

/* --- Start of Merged Mobile Navbar Styles --- */
@media screen and (max-width: 960px) {

    .nav-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: calc(100vh - 80px);
        position: absolute;
        top: 80px;
        left: -100%;
        opacity: 1;
        transition: all 0.5s ease;
        background: #ffffff;
        padding-top: 2rem;
        padding-left: 0;
    }

    .nav-menu.active {
        left: 0;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 1000;
    }

    .nav-item {
        width: 100%;
        height: auto;
        border-bottom: 1px solid #eee;
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
        color: #212121;
    }

    .nav-links:hover {
        color: #616161;
        transform: scale(1.1);
        transition: all 0.3s ease;
    }

    .navbar-logo {
        position: absolute;
        left: 20px;
        top: 0;
        height: 80px;
        display: flex;
        align-items: center;
    }

    .menu-icon {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        transform: translate(-100%, 60%);
        font-size: 1.8rem;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-icon span {
        color: #fff;
        transition: color 0.3s ease-in-out;
    }

    .navbar.scrolled .menu-icon span {
        color: #212121;
    }

}

/* --- End of Merged Mobile Navbar Styles --- */


/* --- Other Responsive Styles --- */

/* XXL Devices */
/* @media (max-width: 1399.98px) { ... } */

/* XL Devices */
@media (max-width: 1199.98px) {
    .navbar-container {
        padding: 0 5rem;
    }

    .contact form {
        width: 70%;
    }
}

/* LG Devices */
@media (max-width: 991.98px) {
    .navbar-container {
        padding: 0 3rem;
    }

    .navbar-logo {
        width: 12rem;
    }

    .section-heading p {
        width: 80%;
    }

    .about .row {
        padding: 4rem;
    }

    .services,
    .dp-portfolio {
        padding-top: 4rem;
    }

    .contact {
        padding: 3rem;
    }

    .contact form {
        width: 80%;
    }

    /* Commented out rule referencing old structure */
    /* .footer-copyright ul.social-media li { ... } */
}

/* MD Devices */
@media (max-width: 767.98px) {
    .navbar-container {
        padding: 0 1.5rem;
    }

    .navbar-logo {
        width: 10rem;
        left: 15px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero-content h2 {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .hero-cta {
        padding: 10px 25px;
        font-size: 1rem;
    }

    .section-heading h2 {
        font-size: 1.8rem;
    }

    .section-heading p {
        font-size: 1.1rem;
        width: 90%;
        line-height: 1.6;
    }

    hr {
        margin: 15px auto !important;
    }

    .about .row {
        padding: 3rem 1.5rem;
    }

    .services,
    .dp-portfolio {
        padding-top: 3rem;
    }

    .services .container .row {
        padding: 0 1rem;
    }

    .services .service-card {
        padding: 1.5rem 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .services .service-card h4.service-title {
        /* Target class */
        font-size: 1.1rem;
    }

    .services .service-card p {
        font-size: 0.95rem;
    }

    .dp-portfolio .section-heading {
        padding: 0 1.5rem;
    }

    .contact {
        padding: 3rem 1.5rem;
    }

    .contact form {
        width: 95%;
    }

    .contact form input,
    .contact form textarea {
        padding: 0.8rem;
    }

    .contact form button {
        padding: 0.8rem 1.5rem;
    }

    /* Footer adjustments */
    .footer-col {
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-about .social-icons {
        justify-content: center;
        display: flex;
        margin-top: 15px;
    }

    .footer-links ul li {
        justify-content: center;
    }

    /* .footer-contact p.contact-item {
        justify-content: center;
        text-align: left;
        display: inline-flex;
        width: 100%;
    } */

    .footer-contact p.contact-item i {
        margin-right: 8px;
    }

    .copyright-bottom {
        padding-top: 15px;
        font-size: 0.85rem;
    }
}

/* SM Devices */
@media (max-width: 575.98px) {
    .navbar-logo {
        width: 9rem;
        left: 15px;
    }

    .menu-icon {
        transform: translate(-80%, 60%);
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.4;
    }

    .hero-content h2 {
        font-size: 1rem;
        line-height: 1.5;
    }

    .hero-cta {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .section-heading h2 {
        font-size: 1.6rem;
    }

    .section-heading p {
        font-size: 1rem;
        width: 95%;
    }

    .about .row {
        padding: 2.5rem 1rem;
    }

    .services,
    .dp-portfolio {
        padding-top: 2.5rem;
    }

    .contact {
        padding: 2.5rem 1rem;
    }

    .contact form {
        width: 100%;
    }

    .new-footer {
        padding: 30px 0 15px 0;
    }
}