/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    overflow-x: hidden !important;
}

/* Prevent horizontal overflow */
body,
html {

    overflow-x: hidden !important;
}

/* Add some spacing for content sections to account for fixed header */
/*section {
    height: 100vh;
    padding-top: 80px;
}*/

h1,
h2 {
    font-weight: 700;
}

.whatsapp-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    font-size: 25px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
    transition: transform 0.3s ease;
}

.whatsapp-fixed:hover {
    transform: scale(1.1);
}

@media (max-width: 480px) {
    .whatsapp-fixed {
        font-size: 20px;
        width: 45px;
        height: 45px;
    }
}


/* Header styles with prefixed classes */
.header_container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background-color: #fe0000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    box-shadow: 0 4px 10px rgb(254, 0, 0, 0.4);
    z-index: 1000;
    transition: background-color 0.8s ease;
}

.header_container.header_transparent {
    background-color: transparent;
    box-shadow: none;
}

.header_logo {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header_logo img {
    display: block;
    margin: 0;
    padding: 0;
    width: 140px;
    height: 110px;
    max-width: 140px;
    max-height: 110px;
    object-fit: cover;
}

.header_nav {
    display: flex;
    align-items: center;
}

.header_nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.header_nav-link {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.header_nav-link:hover {
    color: #fff;
}

.header_nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.header_nav-link:hover::after {
    width: 100%;
}

.header_active {
    color: #fff;
}

.header_active::after {
    width: 100%;
}

.header_mobile-toggle {
    display: none;
    cursor: pointer;
}

.header_menu-icon,
.header_close-icon {
    font-size: 35px !important;
    color: #fff;
}

.header_close-icon {
    display: none;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .header_nav {
        position: fixed;
        top: 0px;
        left: 0;
        width: 100%;
        height: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #fe0000;
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 4px 10px rgb(254, 0, 0, 0.4);
        z-index: 998;
    }

    .header_nav.header_open {
        height: calc(100vh - 80px);
    }

    .header_nav-list {
        justify-content: flex-start;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding-top: 100px;
        gap: 25px;
    }

    .header_nav-link {
        font-size: 20px;
    }

    .header_mobile-toggle {
        display: block;
        z-index: 999;
    }

    .header_mobile-toggle .header_menu-icon {
        display: block;
    }

    .header_mobile-toggle .header_close-icon {
        display: none;
    }

    .header_open~.header_mobile-toggle .header_menu-icon {
        display: none;
    }

    .header_open~.header_mobile-toggle .header_close-icon {
        display: block;
    }
}

/* cart icon */
.cart-icon-btn {
    position: relative;
}

.cart-icon-btn .cart-count {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: white;
    color: #333;
    width: 20px;
    height: 20px;
    font-size: 14px;
    border-radius: 50%;
    line-height: normal;
}

/* Hero Section */
.hero_section {
    height: 100vh;
    min-height: 100vh;
    width: 100%;
    background-color: #fe0000;
    background: url('images/homepagebg\ \(1\).jpg') no-repeat center;
    background-size: cover;
    display: flex;
    align-items: start;
    padding-top: 90px;
    z-index: 2;
    overflow: hidden;
}

/*.herobg {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, -100%);
    width: 380px;
}*/


.hero_content {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.hero_title {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.hero_subtitle {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.hero_buttons {
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

/* Mouse movement effect */


.hero_container {
    max-width: 1400px;
    margin: 0;
    padding: 0 20px;
}

.hero_content {
    color: #fff;
    padding-top: 4.5rem;
    text-shadow: 18px 18px 15px rgba(0, 0, 0, 0.7);
    border-radius: 18px;
}

.hero_heading {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: bold;

}

.hero_subheading {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero_buttons {
    display: flex;
    gap: 1rem;
    justify-content: start;
    margin-top: 2rem;
}

.hero_cta-button {
    display: inline-block;
    /*padding: 15px 30px;*/
    padding: 12px 25px;
    /*background: rgba(254, 0, 0, 0.8);*/
    background: rgb(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    /*border: 1px solid rgb(254, 0, 0, 0.18);*/
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.hero_cta-button:hover {
    transition: background-color 0.3s ease !important;
    background: rgba(255, 255, 255);
}

.hero_shop_btn {
    border-radius: 45px;
    display: flex !important;
    align-items: center;
    justify-content: space-between !important;
    gap: 10px;
}

.hero_shop_btn:hover span {
    transform: translateX(8px);
}

.hero_shop_btn span {
    display: flex;
    align-items: center;
    transition: 0.3s ease;
}

.hero_shop_btn span i {
    font-size: 14px;
}

/* Left Side */
.hero_left {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2% 1%;
    gap: 20px;
}

.hero_top-content {
    height: 70%;
    position: relative;
    background-image: url('images/hero-neon-main3_3_optimized.png');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero_heading-box {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff4f2;
}



.hero_heading-box .mobile_buttons {
    display: none;
}

.hero_bottom-content {
    height: 30%;
    display: flex;
    gap: 20px;
}

.hero_widget {
    flex: 1;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero_widget-1 {
    background-image: url('images/widgetone.jpg');
    background-size: cover;
    background-position: center;
}

.hero_widget-2 {
    background-image: url('images/widgettwo.jpg');
    background-size: cover;
    background-position: center;
}

.hero_widget-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff4f2;
    transition: background-color 0.3s ease;
}

.hero_widget:hover .hero_widget-content {
    background-color: rgba(254, 0, 0, 0.4);
}

.hero_widget-icon {
    font-size: 2.2rem !important;
    margin-bottom: 10px;
}

.hero_widget-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.hero_widget-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Right Side */
.hero_right {
    flex: 1;
    padding: 2% 1%;
}

.hero_main-image {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: end;
    background-image: url('images/hero-neon2_1_optimized.png');
    background-size: cover;
    background-position: calc(30% - 5px) calc(30% - 43px);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero_right_buttons {
    margin-left: auto;
    padding: 0 20px 6px 0;
    display: flex;
    gap: 20px;
}

.hero_right_buttons a {
    width: 100%;
    display: block;
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero_right_buttons button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background-color: white;
    color: black;
    padding: 3px 5px 3px 15px;
    border: none;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}

.hero_right_buttons button span {
    background-color: #fe0000;
    color: white !important;
    border-radius: 50%;
    padding: 8px;
    font-size: 1.1rem;
    margin: 0;
}

.hero_right_buttons button:nth-child(1):hover span {
    animation: moveDown 0.5s ease;
}

.hero_right_buttons button:nth-child(2):hover span {
    animation: popUp 0.5s ease;
}

@keyframes moveDown {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(2px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes popUp {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media screen and (min-width: 1800px) {
    .herobg {
        top: 90%;
        transform: translate(-50%, -90%);
        width: 500px;
    }
}

@media screen and (min-width: 1440px) {

    .hero_content {
        padding-top: 6.5rem;
    }

    .hero_heading {
        font-size: 4.5rem;
    }

    .hero_subheading {
        font-size: 1.8rem;
    }

    .hero_cta-button {
        padding: 16px 29px;
        font-size: 1.2rem;
    }

    .hero_shop_btn {
        gap: 12px;
    }

    .hero_shop_btn span i {
        font-size: 18px;
    }

}

@media screen and (max-width: 992px) {
    .hero_section {
        min-height: auto;
        max-height: 90vh;
        padding-top: 60px;
    }

    .hero_content {
        color: #fff;
    }


    .hero_container {
        flex-direction: column;
    }

    .hero_top-content {
        height: 100%;
        background-position: top;
    }

    .hero_top-content::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4);
    }

    .hero_left {
        gap: 0px;
        padding-bottom: 0;
    }

    .hero_heading-box {
        padding-top: 8%;
        padding-left: 8%;
        height: 100%;
        position: relative !important;
    }

    .hero_heading {
        font-size: 2.8rem;
    }

    .hero_subheading {
        width: 50%;
        font-size: 1.4rem;
    }

    .hero_heading-box .mobile_buttons {
        display: flex;
        position: absolute !important;
        bottom: 0;
        margin: 0 !important;
        left: 50%;
        transform: translateX(-50%);
        width: 70%;
        padding-right: 0;
    }

    .hero_right_buttons button {
        width: 100%;
    }

    .hero_bottom-content {
        display: none;
    }

    .hero_right {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .hero_subheading {
        width: 80%;
    }
}

@media screen and (max-width: 576px) {
    .herobg {
        width: 300px;
    }

    .hero_section {
        padding-top: 100px;
        background: url('images/homepagebg (1).jpg') no-repeat;
        background-position: calc(80% - 20px) center;
        min-height: auto;
        max-height: 80vh;
    }

    .hero_heading-box .mobile_buttons {
        width: 95%;
    }
}

@media screen and (max-width: 440px) {


    .hero_heading {
        font-size: 2.3rem;
        line-height: 1.3;
    }

    .hero_subheading {
        width: 90%;
        font-size: 1.2rem;
    }

    .hero_right_buttons {
        gap: 10px;
    }

    .hero_right_buttons a {
        gap: 10px !important;
    }

    .hero_right_buttons button {
        gap: 0px;
    }
}

@media screen and (max-width: 390px) {
    .hero_section {
        background-position: calc(77% - 20px) center;

    }

    .hero_cta-button {
        padding: 10px 18px;
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 375px) {

    .hero_heading {
        font-size: 2rem;
    }

    .hero_subheading {
        width: 95%;
        font-size: 1.1rem;
    }

    .hero_right_buttons button {
        gap: 0px;
    }
}


/* Add this to your CSS file */

/* About Us Section */
.aboutus_section {
    padding: 100px 5% 80px;
    height: auto;
}

.aboutus_main-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

.aboutus_main-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #fe0000;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Top container */
.aboutus_top-container {
    display: flex;
    margin-bottom: 60px;
    gap: 40px;
}

.aboutus_intro {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.aboutus_sub-heading {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.3;
    padding-left: 14px;
    position: relative;
}

.aboutus_sub-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 22px;
    background-color: #fe0000;
}

.aboutus_description {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.aboutus_specialization {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.aboutus_mission p,
.aboutus_vision p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.aboutus_specialization-heading {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    padding-left: 12px;
}

.aboutus_specialization-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: #fe0000;
}

.aboutus_specialization-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.aboutus_specialization-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.aboutus_specialization-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fe0000;
    background-color: rgba(254, 0, 0, 0.1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aboutus_specialization-text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

.aboutus_mosaic {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 15px;
    height: 450px;
}

.aboutus_mosaic-item {
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.aboutus_mosaic-item:hover {
    transform: scale(1.03);
}

.aboutus_mosaic-1 {
    grid-column: 1 / 4;
    grid-row: 1 / 5;
    background-image: url('images/lasrcut.jpg');
}

.aboutus_mosaic-2 {
    grid-column: 4 / 7;
    grid-row: 2 / 7;
    background-image: url('images/n.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

.aboutus_mosaic-3 {
    grid-column: 1 / 4;
    grid-row: 5 / 7;
    background-image: url('images/about7.png');
}

/* Bottom container */
.aboutus_bottom-container {
    padding-top: 0px;
}

.aboutus_why-heading {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

.aboutus_why-container {
    display: flex;
    gap: 40px;
}

/* Features list */
.aboutus_features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.aboutus_feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.aboutus_feature-icon {
    font-size: 2rem;
    color: #fe0000;
    background-color: rgba(254, 0, 0, 0.1);
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aboutus_feature-content {
    flex: 1;
}

.aboutus_feature-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.aboutus_feature-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* Stats */
.aboutus_stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
}

.aboutus_stat-item {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.aboutus_stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(254, 0, 0, 0.1);
}

.aboutus_stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.aboutus_stat-plus {
    color: #fe0000;
    font-size: 1.5rem;
    font-weight: 700;
}

.aboutus_stat-label {
    font-size: 1rem;
    color: #555;
}

/* Responsive Design */

@media screen and (min-width: 1441px) {
    .aboutus_mosaic {
        height: 550px;
    }
}

@media screen and (max-width: 1440px) {
    .aboutus_specialization {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        justify-content: flex-start;
    }
}

@media screen and (min-width: 1800px) {
    .aboutus_mosaic {
        height: 650px;
    }
}

@media screen and (max-width: 1200px) {
    .aboutus_sub-heading {
        margin-bottom: 10px;
    }

    .aboutus_specialization-heading {
        margin-bottom: 10px;
    }

    .aboutus_mosaic {
        gap: 8px;
        height: 550px;
    }
}

@media screen and (max-width: 992px) {

    .aboutus_top-container,
    .aboutus_why-container {
        flex-direction: column;
        margin-bottom: 40px;
    }



    .aboutus_why-container {
        gap: 0px;
        margin-bottom: 0;
    }

    .aboutus_mosaic {
        display: none;
    }

    .aboutus_stats {
        margin-top: 40px;
    }
}

@media screen and (max-width: 768px) {
    .aboutus_section {
        padding: 70px 5% 60px;
    }

    .aboutus_main-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .aboutus_sub-heading {
        font-size: 1.5rem;
    }

    .aboutus_why-heading {
        font-size: 1.7rem;
        margin-bottom: 30px;
    }

    .aboutus_stats {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, auto);
    }

    .aboutus_stat-item {
        padding: 20px;
    }
}

@media screen and (max-width: 576px) {
    .aboutus_specialization-grid {
        grid-template-columns: 1fr;
    }

    .aboutus_mosaic {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 1fr);
        height: 350px;
        gap: 10px;
    }

    .aboutus_mosaic-1 {
        grid-column: 1;
        grid-row: 1;
    }

    .aboutus_mosaic-2 {
        grid-column: 1;
        grid-row: 2;
    }

    .aboutus_mosaic-3 {
        grid-column: 1;
        grid-row: 3;
    }

    .aboutus_feature-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .aboutus_feature-icon {
        margin-bottom: 5px;
    }
}

/* Add this to your CSS file */

/* Services Section */
.services_section {
    padding: 100px 5% 80px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    height: auto;
}

.services_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(254, 0, 0, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(254, 0, 0, 0.03) 0%, transparent 20%);
    z-index: 0;
}

.services_container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.services_heading {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 70px;
    color: #333;
    position: relative;
}

.services_heading::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #fe0000;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/*.services_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.services_item {
    position: relative;
    height: 220px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
   
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
   
    border-radius: 30px 30px 30px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.services_item:nth-child(2n) {
    border-radius: 30px 30px 0 30px;
}

.services_item:nth-child(3n) {
    border-radius: 30px 0 30px 30px;
}

.services_item:nth-child(4n) {
    border-radius: 0 30px 30px 30px;
}

.services_item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #fe0000;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.services_item:hover,
.services_item.active {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(254, 0, 0, 0.1);
}

.services_item:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.services_item.active::before {
    transform: scaleX(1);
    transform-origin: left;
}

.services_number {
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(254, 0, 0, 0.2);
    position: absolute;
    top: 13px;
    left: 15px;
    margin: 0;
    line-height: 1;
    transition: all 0.3s ease;
}

.services_item:hover .services_number,
.services_item.active .services_number {
    color: #fff;
    padding: 4px 8px;
    border-radius: 12px;
    background-color: transparent;
    transform: scale(1.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1;
}

.services_title {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    z-index: 2;
    position: relative;
    margin-bottom: 10px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.services_title span {
    font-size: 2rem;
    color: #fe0000;
}

.services_item:hover .services_title,
.services_item.active .services_title {
    transform: translateX(8px);
    color: #fff;
    padding: 8px;
    border-radius: 12px;
    background-color: transparent;
    transform: scale(1.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1;
}

.services_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.01;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.services_item:nth-child(1) .services_overlay {
    background-image: url('images/s8.jpg');
}

.services_item:nth-child(2) .services_overlay {
    background-image: url('images/s1.jpg');
}

.services_item:nth-child(3) .services_overlay {
    background-image: url('images/s3.jpg');
}

.services_item:nth-child(4) .services_overlay {
    background-image: url('images/s6.jpg');
}

.services_item:nth-child(5) .services_overlay {
    background-image: url('images/s4.jpg');
}

.services_item:hover .services_overlay,
.services_item.active .services_overlay {
    opacity: 0.85;
}*/

.services_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.services_item {
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    /* border: 1px solid rgba(0, 0, 0, 0.05);*/
    height: 200px;
    overflow: hidden;
}

.services_item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: #fe0000;
    transition: width 0.4s ease;
}

.services_item:hover {
    transform: translateY(-10px);
    /*box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);*/
    box-shadow: 0 10px 20px rgba(254, 0, 0, 0.1);
}

.services_item:hover::before {
    width: 100%;
}

.services_number {
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(254, 0, 0, 0.2);
    position: absolute;
    top: 10px;
    right: 20px;
    transition: all 0.3s ease;
}

.services_item:hover .services_number {
    color: rgba(254, 0, 0, 0.3);
    transform: scale(1.1);
}

.services_title {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
    z-index: 1;
    padding-right: 2rem;
}

.services_item:hover .services_title {
    color: #fe0000;
}

.services_arrow {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #333;
    transition: all 0.3s ease;
}

.services_item:hover .services_arrow {
    color: #fe0000;
    transform: translateX(5px);
}

/* Modal Styles */
.services_modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.services_modal.active {
    opacity: 1;
    visibility: visible;
}

.services_modal_content {
    background-color: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s ease;
}

.services_modal.active .services_modal_content {
    transform: translateY(0);
    opacity: 1;
}

.services_modal_header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    position: relative;
}

.services_modal_icon {
    width: 125px;
    height: 125px;
    background-color: #f8f8f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.services_modal_icon img {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    object-fit: cover;
}

.services_modal_title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex-grow: 1;
}

.services_modal_close {
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    padding: 0.5rem;
    transition: all 0.3s ease;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services_modal_close:hover {
    background-color: rgba(254, 0, 0, 0.1);
    color: #fe0000;
}

.services_modal_body {
    padding: 2rem;
}

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

.services_list_title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #fe0000;
}

.services_list_item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #f8f8f8;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.services_list_item:hover {
    background-color: #f0f0f0;
    transform: translateX(5px);
}

.services_list_item_icon {
    margin-right: 0.75rem;
    color: #fe0000;
    flex-shrink: 0;
}

.services_list_item_text {
    font-size: 0.95rem;
    color: #333;
}

.services_description {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .services_section {
        padding: 70px 5% 60px;
    }

    .services_heading {
        font-size: 2rem;
        margin-bottom: 50px;
    }

    .services_grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .services_title {
        padding-right: 1rem;
    }

    .services_modal_content {
        width: 95%;
    }

    .services_number {
        font-size: 3rem;
    }

    .services_modal_icon {
        width: 115px;
        height: 115px;
    }

    .services_modal_icon img {
        width: 115px;
        height: 115px;
    }
}

@media (max-width: 670px) {
    .services_grid {
        gap: 1rem;
    }

    .services_title {
        padding-right: 0rem;
    }
}

@media (max-width: 480px) {
    .services_grid {
        grid-template-columns: 1fr;
    }

    .services_item {
        padding: 1.5rem;
        height: 160px;
    }

    .services_number {
        font-size: 2.5rem;
    }

    .services_modal_header {
        padding: 1rem;
    }

    .services_modal_body {
        padding: 1rem;
    }

    .services_modal_icon {
        width: 105px;
        height: 105px;
    }

    .services_modal_icon img {
        width: 105px;
        height: 105px;
    }
}


/*cta section*/
.cta_section {
    padding: 60px 5% 60px;
    height: auto;
    margin: 2rem;
    border-radius: 25px;
    background: linear-gradient(to bottom right, #fe0000, #ff4d4d);
    color: #fff4f2;
}

.cta_section .cta_container h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta_section .cta_container p {
    font-size: 1.2rem;
}

.cta_buttons {
    display: flex;
    align-items: center;
    /*  gap: 15px;*/
    padding: 0;
    margin: 40px 0 0 0;
}

.cta_section .cta_container a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;
    gap: 16px;
    cursor: pointer;
    padding: 13px 15px 13px 15px;
    background-color: #fff4f2;
    color: #fe0000;
    text-decoration: none;
    font-weight: 700;
    border-radius: 35px;
    transition: all 0.3s ease;
}

.cta_section .cta_container a:hover {
    opacity: 0.9;
    box-shadow: 0 5px 15px rgba(254, 0, 0, 0.3);
}

.cta_section .cta_container a:hover span {
    transform: translate(6px, -3px);
}

.cta_section .cta_container a span {
    display: block !important;
    padding: 0;
    margin: 0;
    font-size: 1.3rem;
    width: fit-content;
    height: fit-content;
    line-height: normal;
    transition: all 0.3s ease;
}

@media screen and (max-width: 992px) {
    .cta_section .cta_container a {
        width: 40%;
    }
}

@media screen and (max-width: 768px) {
    .cta_buttons {
        justify-content: center;
    }

    .cta_section .cta_container a {
        width: 60%;
    }
}

@media screen and (max-width: 576px) {
    .cta_section {
        padding: 40px 5% 40px !important;
    }

    .cta_section .cta_container a {
        width: 80%;
    }
}

@media screen and (max-width: 440px) {
    .cta_section .cta_container h2 {
        font-size: 2.2rem;
        margin-bottom: 18px;
    }

    .cta_section .cta_container p {
        font-size: 1.1rem;
    }

    .cta_section .cta_container a {
        width: 100%;
        border-radius: 30px;
    }
}

@media screen and (max-width: 375px) {
    .cta_section .cta_container h2 {
        font-size: 2.1rem;
        margin-bottom: 16px;
    }

    .cta_section .cta_container p {
        font-size: 1rem;
    }

    .cta_section .cta_container a {
        width: 100%;
        border-radius: 28px;
    }
}

.career-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.career-modal-content {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    position: relative;
}

.career-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s ease;
}

.career-modal-close:hover {
    color: #fe0000;
}

.career-modal-title {
    color: #333;
    margin-bottom: 1rem;
}

.career-form-group {
    margin-bottom: 1rem;
}

.career-label {
    color: #333;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.career-input {
    width: 100%;
    padding: 0.5rem;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.career-submit-btn {
    background: #fe0000;
    color: #fff;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.career-submit-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.career-form-status {
    margin-top: 1rem;
}

.career-success {
    color: #1a7f37;
}

.career-error {
    color: #c00;
}

.career-info {
    color: #555;
}

/* our process section */
.process-section {
    padding: 100px 5% 80px;
    background-color: #fff;
    height: auto;
}

.process-container {
    max-width: 1400px;
    margin: 0 auto;
}

.process-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
    position: relative;
    font-weight: 700;
}

.process-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #fe0000;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.process-widget {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.process-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(254, 0, 0, 0.03), transparent);
    transition: left 0.5s ease;
}

.process-widget:hover::before {
    left: 100%;
}

.process-widget:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(254, 0, 0, 0.15);
    border-color: rgba(254, 0, 0, 0.1);
}

.process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #ffe6e6 0%, #ffcccc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.process-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #fe0000 0%, #ff3333 100%);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.process-widget:hover .process-icon::before {
    opacity: 1;
    transform: scale(1);
}

.process-icon i {
    font-size: 2rem;
    color: #fe0000;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.process-widget:hover .process-icon i {
    color: #fff;
    transform: scale(1.1);
}

.process-widget h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.process-widget:hover h3 {
    color: #fe0000;
}

.process-widget p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
    transition: color 0.3s ease;
}

.process-widget:hover p {
    color: #555;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .process-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .process-section {
        padding: 60px 5% 50px;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-widget {
        padding: 30px 20px;
    }

    .process-icon {
        width: 70px;
        height: 70px;
    }

    .process-icon i {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .process-title {
        font-size: 1.8rem;
    }

    .process-widget h3 {
        font-size: 1.2rem;
    }

    .process-widget p {
        font-size: 0.95rem;
    }
}

/* Contact Us Section Styles */
.contactus_section {
    height: 100%;
    padding: 100px 5% 80px;
    background-color: #fff;
}

.contactus_main-title {
    text-align: center;
    font-size: 3rem;
    margin-top: 40px;
    margin-bottom: 50px;
    color: #333;
    position: relative;
}

.contactus_main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #fe0000;
}

.contactus_container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 768px) {
    .contactus_section {
        padding: 100px 5% 40px;
    }

    .contactus_container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contactus_main-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

.contactus_form-container {
    flex: 1 1 500px;
}

.contactus_info-container {
    flex: 1 1 400px;
}

.contactus_form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contactus_form-group {
    position: relative;
}

.contactus_input,
.contactus_textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.contactus_input:focus,
.contactus_textarea:focus {
    outline: none;
    border-color: #fe0000;
    box-shadow: 0 0 5px rgba(254, 0, 0, 0.2);
    background-color: #fff;
}

.contactus_textarea {
    height: 150px;
    resize: none;
}

.contactus_submit-btn {
    background-color: #fe0000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 10px;
}

.contactus_submit-btn:hover {
    background-color: #d50000;
    box-shadow: 0 5px 15px rgba(254, 0, 0, 0.2);
}

.contactus_submit-btn span {
    transition: all 0.3s ease;
}

.contactus_submit-btn:hover span {
    transform: translate(6px, -3px);
}

.contactus_info-widget {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contactus_info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contactus_icon {
    background-color: #ffe8e8;
    color: #fe0000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.contactus_info-content {
    flex: 1;
}

.contactus_info-title {
    font-size: 1.2rem;
    margin: 0 0 5px 0;
    color: #333;
}

.contactus_info-text {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.contactus_social-media {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.contactus_social-title {
    font-size: 1.2rem;
    margin: 0 0 15px 0;
    color: #333;
}

.contactus_social-icons {
    display: flex;
    gap: 15px;
}

.contactus_social-icon {
    background-color: #ffe8e8;
    color: #fe0000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
}

.contactus_social-icon:hover {
    background-color: #fe0000;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(254, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .contactus_container {
        flex-direction: column;
        gap: 0;
    }

    .contactus_main-title {
        font-size: 2rem;
    }

    .contactus_submit-btn {
        width: 100%;
    }
}

/* FAQ Section Styles */
.faq_section {
    padding: 100px 5% 80px;
    background-color: #fff;
    height: auto;
}

.faq_main-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

.faq_main-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #fe0000;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.faq_container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq_accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq_item {
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq_item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq_question-container {
    display: grid;
    grid-template-columns: 80px 1fr 50px;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    position: relative;
}

.faq_number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fe0000;
    opacity: 0.5;
    line-height: 1;
    font-family: 'Arial', sans-serif;
    transition: all 0.3s ease;
}

.faq_item:hover .faq_number {
    opacity: 0.9;
}

.faq_question {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
    padding-right: 20px;
}

.faq_arrow {
    color: #fe0000;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.faq_answer {
    padding: 0 30px 0 110px;
    max-height: 0;
    transition: all 0.3s ease;
    opacity: 0;
}

.faq_answer p {
    margin: 0;
    padding-top: 10px;
    padding-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.faq_item.active .faq_answer {
    max-height: 300px;
    opacity: 1;
}

.faq_item.active .faq_arrow {
    transform: rotate(180deg);
}

.faq_item.active .faq_question-container {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Responsive styles */
@media (max-width: 768px) {
    .faq_question-container {
        grid-template-columns: 50px 1fr 30px;
        padding: 20px;
    }

    .faq_number {
        font-size: 1.8rem;
    }

    .faq_question {
        font-size: 1rem;
    }

    .faq_answer {
        padding: 0 20px 0 70px;
    }
}

@media (max-width: 480px) {
    .faq_question-container {
        grid-template-columns: 40px 1fr 20px;
        padding: 15px;
    }

    .faq_number {
        font-size: 1.5rem;
    }

    .faq_answer {
        padding: 0 15px 0 55px;
    }
}

@media (max-width: 440px) {
    .faq_question {
        font-size: 0.9rem;
    }

    .faq_item.active .faq_answer {
        max-height: 420px;
    }
}

/* Clients Section Styles */
.clients_section {
    padding: 100px 5% 80px;
    background-color: #fff;
    height: auto;
}

.clients_main-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

.clients_main-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #fe0000;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.clients_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.clients_logo-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.clients_logo-carousel {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s ease;
    width: 100%;
}

.clients_logo-item {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.clients_logo {
    width: 100%;
    max-width: 100%;
    height: 100px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.clients_logo-item:hover .clients_logo {
    transform: scale(1.05);
}

.clients_carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}

.clients_prev-btn,
.clients_next-btn {
    background-color: transparent;
    border: 1px solid #e0e0e0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
}

.clients_prev-btn:hover,
.clients_next-btn:hover {
    background-color: #fe0000;
    border-color: #fe0000;
    color: white;
}

.clients_dots {
    display: flex;
    gap: 8px;
}

.clients_dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clients_dot.active {
    background-color: #fe0000;
    transform: scale(1.2);
}

/* Responsive styles */
@media (max-width: 992px) {
    .clients_logo-item {
        flex: 0 0 calc(33.33% - 40px);
        max-width: calc(33.33% - 40px);
    }
}

@media (max-width: 768px) {
    .clients_logo-item {
        flex: 0 0 calc(50% - 40px);
        max-width: calc(50% - 40px);
    }

    .clients_main-title {
        font-size: 2rem;
    }

    .clients_logo {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .clients_logo-item {
        flex: 0 0 calc(100% - 40px);
        max-width: calc(100% - 40px);
    }
}

/* Footer Styles */
.footer_section {
    background: linear-gradient(to right, #fe0000, #e60000);
    padding: 80px 5% 0;
    position: relative;
}

.footer_container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
    gap: 40px;
}

.footer_column {
    flex: 1 1 250px;
}

.footer_brand-column {
    flex: 2 1 350px;
}

.footer_logo {
    max-width: 160px;
    margin-bottom: 10px;
}

.footer_logo img {
    width: 160px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);

}

.footer_description {
    /* color: #666;*/
    color: #fff4f2;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    width: 75%;
}

.footer_cta-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    /*background-color: #fe0000;*/
    background-color: #fff4f2;
    /*color: white;*/
    color: #fe0000;
    text-decoration: none;
    padding: 12px 8px 12px 14px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 180px;
    margin-bottom: 15px;
}

.footer_cta-button:hover {
    opacity: 0.9;
    box-shadow: 0 5px 15px rgba(254, 0, 0, 0.2);
}

.footer_email {
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 4px;

}

.footer_cta-button:hover .footer_cta-icon {
    transform: translate(6px, -3px);
}

.footer_cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.footer_column-title {
    font-size: 1.25rem;
    /* color: #333;*/
    color: #fff4f2;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer_column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    /*background-color: #fe0000;*/
    background-color: #fff4f2;
}

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

.footer_links-list li {
    margin-bottom: 20px;
}

.footer_link {
    /* color: #666;*/
    color: #fff4f2;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.12rem;
    position: relative;
    padding-left: 0;
}

.footer_link:hover {
    /*color: #fe0000;*/
    color: #fff4f2;
    padding-left: 5px;
}

.footer_social-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer_social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    /*color: #333;*/
    color: #fe0000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer_social-link:hover {
    background-color: #fe0000;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(254, 0, 0, 0.2);
}

.footer_bottom {
    position: relative;
    margin-top: 60px;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer_copyright {
    /* color: #888;*/
    color: #fff4f2;
    font-size: 0.85rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    .footer_container {
        flex-direction: column;
        gap: 50px;
    }

    .footer_column {
        flex-basis: 100%;
    }

    .footer_social-container {
        justify-content: flex-start;
    }
}

/* Our Machines Section */
.ourmachines_section {
    padding: 100px 5% 80px;
    background-color: #fff;
    height: auto;
}

.ourmachines_main-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

.ourmachines_main-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #fe0000;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.ourmachines_container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.ourmachines_item {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 1rem;
    align-items: center;
}

/* Left-side title positioning adjustment */
.ourmachines_item .ourmachines_content.left {
    justify-self: center;
    padding-right: 0;
    margin-right: 0;
}

.ourmachines_item .ourmachines_content.right {
    justify-self: center;
    padding-right: 0;
    margin-right: 0;
}

.ourmachines_item.reverse {
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-areas: "images content";
}

.ourmachines_item.reverse .ourmachines_content {
    grid-area: content;
}

.ourmachines_item.reverse .ourmachines_images {
    grid-area: images;
}

.ourmachines_content {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70px;
    max-width: 90%;
}

.ourmachines_title {
    font-size: 2rem;
    margin-bottom: 0;
    color: #333;
    position: relative;
    font-weight: 600;
    padding-bottom: 15px;
}

/* Fixed red line positioning for all titles */
.ourmachines_title::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: #fe0000;
    bottom: 0;
    left: 0;
}

/* Fixed red line positioning for right-aligned titles */
.ourmachines_item.reverse .ourmachines_title::after {
    left: 0;
}

.ourmachines_images {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0.8rem;
    height: 100%;
    max-height: 380px;
}

.ourmachines_img-wrapper {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.ourmachines_img-wrapper:hover {
    transform: translateY(-5px);
}

.ourmachines_img-wrapper.primary {
    grid-column: 1;
    grid-row: span 1;
}

.ourmachines_img-wrapper.secondary {
    grid-column: 2;
    grid-row: span 1;
}

.ourmachines_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

}

/* Completely simplified mobile layout */
@media (max-width: 992px) {

    /* Reset all grid layouts for mobile */
    .ourmachines_item,
    .ourmachines_item.reverse {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    /* Center all content and reset all positioning */
    .ourmachines_content,
    .ourmachines_item .ourmachines_content.left,
    .ourmachines_item.reverse .ourmachines_content.right,
    .ourmachines_item .ourmachines_content,
    .ourmachines_item.reverse .ourmachines_content {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 0 0 1rem 0;
        margin: 0;
        justify-self: center;
        order: 1;
    }

    /* Center all titles */
    .ourmachines_title {
        width: 100%;
        text-align: center;
        font-size: 1.8rem;
        margin: 0 auto;
    }

    /* Center red line under all titles */
    .ourmachines_title::after,
    .ourmachines_item.reverse .ourmachines_title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* Reset all image containers */
    .ourmachines_images,
    .ourmachines_item .ourmachines_images,
    .ourmachines_item.reverse .ourmachines_images {
        width: 90%;
        margin: 0 auto;
        order: 2;
    }
}

@media (max-width: 768px) {
    .ourmachines_main-title {
        font-size: 2rem;
    }

    .ourmachines_title {
        font-size: 1.3rem;
        margin-bottom: 0;
    }

}

@media (max-width: 480px) {
    .ourmachines_images {
        grid-template-columns: 1fr;
        max-height: none;
    }

    .ourmachines_img-wrapper.primary,
    .ourmachines_img-wrapper.secondary {
        grid-column: 1;
    }

    .ourmachines_img {
        max-height: 200px;
    }

    .ourmachines_section {
        padding: 60px 5% 40px;
    }
}

/* Our Leaders Section */
.ourleaders_section {
    padding: 100px 5% 80px;
    background-color: #fafafa;
    position: relative;
    overflow: hidden;
    min-height: fit-content !important;
}

.ourleaders_section::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(254, 0, 0, 0.05) 0%, rgba(254, 0, 0, 0) 70%);
    top: -100px;
    left: -100px;
    z-index: 1;
}

.ourleaders_section::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(254, 0, 0, 0.03) 0%, rgba(254, 0, 0, 0) 70%);
    bottom: -200px;
    right: -200px;
    z-index: 1;
}

.ourleaders_main-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

.ourleaders_main-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #fe0000;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.ourleaders_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ourleaders_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ourleaders_item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Owner-specific styling */
.ourleaders_owner {
    background: linear-gradient(to bottom right, #fff, #fff, #fff9f9);
    box-shadow: 0 12px 35px rgba(254, 0, 0, 0.07);
    transform: translateY(-5px);
    border: 1px solid rgba(254, 0, 0, 0.05);
}

.ourleaders_owner:hover {
    transform: translateY(-15px);
    box-shadow: 0 18px 40px rgba(254, 0, 0, 0.1);
}

.ourleaders_owner .ourleaders_image-orbit {
    border: 1px dashed rgba(254, 0, 0, 0.5);
}

.ourleaders_owner .ourleaders_orbit-dot {
    background-color: #fe0000;
    width: 10px;
    height: 10px;
}

.ourleaders_owner .ourleaders_orbit-dot.dot4 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.ourleaders_owner .ourleaders_name {
    font-size: 1.7rem;
}

.ourleaders_owner .ourleaders_separator {
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #fe0000, #ff6b6b);
}

.ourleaders_owner:hover .ourleaders_separator {
    width: 70px;
}

.ourleaders_owner-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #fe0000, #ff4d4d);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(254, 0, 0, 0.3);
    z-index: 10;
}

.ourleaders_image-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 2rem;
}

.ourleaders_image-orbit {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px dashed rgba(254, 0, 0, 0.3);
    animation: orbit 15s linear infinite;
}

@keyframes orbit {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.ourleaders_orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #fe0000;
    border-radius: 50%;
}

.ourleaders_orbit-dot.dot1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.ourleaders_orbit-dot.dot2 {
    bottom: 30%;
    right: 0;
}

.ourleaders_orbit-dot.dot3 {
    bottom: 30%;
    left: 0;
}

.ourleaders_image-inner {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ourleaders_owner .ourleaders_image-inner {
    box-shadow: 0 8px 25px rgba(254, 0, 0, 0.15);
}

.ourleaders_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.ourleaders_item:hover .ourleaders_image {
    transform: scale(1.1);
}

.ourleaders_content {
    text-align: center;
    width: 100%;
}

.ourleaders_name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.ourleaders_role {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1rem;
}

.ourleaders_separator {
    width: 30px;
    height: 3px;
    background-color: #fe0000;
    margin: 0 auto;
    position: relative;
    transition: width 0.3s ease;
}

.ourleaders_item:hover .ourleaders_separator {
    width: 50px;
}

/* Responsive design */
@media (max-width: 992px) {
    .ourleaders_container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .ourleaders_main-title {
        font-size: 2rem;
    }

    .ourleaders_image-wrapper {
        width: 160px;
        height: 160px;
    }

    .ourleaders_owner .ourleaders_image-wrapper {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .ourleaders_section {
        padding: 60px 5% 40px;
    }

    .ourleaders_container {
        grid-template-columns: 1fr;
    }
}

/*admin*/
.adminlogin-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
    padding: 0 1rem;
}

.adminlogin-container {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.adminlogin-title {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.adminlogin-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.adminlogin-field {
    text-align: left;
}

.adminlogin-label {
    color: #333;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.adminlogin-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    color: #333;
    box-sizing: border-box;
}

.adminlogin-input:focus {
    outline: none;
    border-color: #fe0000;
    box-shadow: 0 0 0 2px rgba(254, 0, 0, 0.2);
}

.adminlogin-button {
    background-color: #fe0000;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.adminlogin-button:hover {
    background-color: #d40000;
}

.adminlogin-error {
    color: #fe0000;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    margin-bottom: 0;
}

.login-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    display: inline-block;
    animation: login-spin 0.8s linear infinite;
}

@keyframes login-spin {
    to {
        transform: rotate(360deg);
    }
}


/* Dashboard Styles */
.dashboard-content {
    display: none;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 2rem 2rem 2rem;
}

.admin-panel-gohome {
    display: block;
    background-color: #fe0000;
    color: white;
    width: fit-content;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.2s ease;
    margin: 0;
    font-weight: 700;
}

.admin-panel-gohome:hover {
    background-color: #e50000;
}

.dashboard-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.dashboard-main-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
}

.dashboard-container {
    padding: 0;
    height: fit-content;
    width: 100%;
    max-width: 100%;
    text-align: center;
}


.dashboard-title {
    color: #333;
    font-size: 2rem;
    margin-top: 0.5rem;
    margin-bottom: 1.8rem;
    font-weight: 600;
}

.dashboard-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.logout-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    display: inline-block;
    animation: logout-spin 0.8s linear infinite;
}

@keyframes logout-spin {
    to {
        transform: rotate(360deg);
    }
}

.dashboard-search {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    width: 200px;
    margin: 0 15px;
    background: white;
}

.dashboard-search:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.projects-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* Reset Password Modal Styling */
.dashboard-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow: auto;
}

.dashboard-modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.dashboard-modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #333;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.dashboard-modal-close:hover {
    color: #fe0000;
}

.dashboard-modal-title {
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 12px;
}

.dashboard-form {
    width: 100%;
}

.dashboard-field {
    margin-bottom: 20px;
}

.dashboard-label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
}

.dashboard-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 1rem;
    transition: border 0.3s ease;
    box-sizing: border-box;
}

.dashboard-input:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 2px rgba(51, 51, 51, 0.1);
}

.dashboard-button {
    background-color: #c4c4c4;
    color: #333;
    font-weight: 700;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px 24px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
    line-height: normal;
    transition: all 0.3s ease;
}

.dashboard-button span {
    display: inline-block;
    font-size: 2rem;
    font-weight: 500;
    color: #333;
    padding: 0;
    margin: 0;
    line-height: normal;
}

.dashboard-button.dashboard-reset-password {
    background-color: white;
    color: #333;
    border: 1px solid #333;
    margin-right: 10px;
}

.dashboard-button.dashboard-submit {
    background-color: #fe0000;
    width: 100%;
    padding: 12px 24px;
    color: white;
    margin-top: 10px;
}

.dashboard-button:hover {
    background-color: #bebebe;
    transform: translateY(-2px);
}

.dashboard-button.dashboard-reset-password:hover {
    background-color: #f8f8f8;
    border-color: #000;
    color: #000;
}

.dashboard-button.dashboard-submit:hover {
    background-color: #e50000;
}

.dashboard-button.dashboard-logout {
    background-color: #fe0000;
    color: white;
    transition: all 0.3s ease;
}

.dashboard-button.dashboard-logout:hover {
    background-color: #e50000;
}

.admin-panel-goportfolio {
    background-color: #c4c4c4;
    color: #333;
    font-weight: 700;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px 24px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 1rem;
    line-height: normal;
    text-decoration: none;
    transition: all 0.3s ease;
}

.admin-panel-goportfolio:hover {
    background-color: #bebebe;
    transform: translateY(-2px);
}

.dashboard-error {
    color: #fe0000;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

.dashboard-success {
    color: #28a745;
    background-color: rgba(40, 167, 69, 0.1);
    padding: 12px;
    border-radius: 4px;
    text-align: center;
    margin-top: 15px;
    font-weight: 500;
    display: none;
}

.signup-spinner {
    border: 2px solid #f3f3f3;
    /* Light background */
    border-top: 2px solid #3498db;
    /* Blue spinner color */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 2s linear infinite;
    display: inline-block;
    margin: 0 auto;
}

/* Spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.reset-spinner {
    border: 2px solid #f3f3f3;
    /* Light background */
    border-top: 2px solid #3498db;
    /* Blue spinner color */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 2s linear infinite;
    display: inline-block;
    margin: 0 auto;
}

/* Spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Project Modal Styles */
#dashboard-project-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

#dashboard-project-modal .dashboard-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#project-modal-close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    transition: all 0.2s;
}

#project-modal-close:hover {
    color: #fe0000;
}

/* Project Form Styles */
#dashboard-project-form .dashboard-field {
    margin-bottom: 20px;
}

#dashboard-project-form .dashboard-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

#dashboard-project-form .dashboard-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

#dashboard-project-form textarea.dashboard-input {
    min-height: 100px;
    resize: vertical;
}

/* Gallery Inputs Styles */
#gallery-inputs {
    margin-bottom: 15px;
}

.gallery-input-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.gallery-input-container input[type="file"] {
    flex: 1;
}

.remove-gallery-btn {
    background: none;
    border: none;
    color: #ff4444;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.remove-gallery-btn:hover {
    background-color: rgba(255, 68, 68, 0.1);
}

#add-gallery-input {
    background-color: #f0f0f0;
    color: #333;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

#add-gallery-input:hover {
    background-color: #e0e0e0;
}

/* Project Form Button Styles */
#dashboard-project-form .dashboard-submit {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s;
    width: 100%;
    margin-top: 20px;
}

#dashboard-project-form .dashboard-submit:hover {
    background-color: #45a049;
}

#dashboard-project-form .dashboard-submit:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Error and Success Message Styles */
#dashboard-project-form .dashboard-error {
    color: #ff4444;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

#project-success {
    color: #4CAF50;
    font-size: 14px;
    margin-top: 15px;
    text-align: center;
    display: none;
}

/* Loading Spinner */
.submit-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    #dashboard-project-modal .dashboard-modal-content {
        width: 90%;
        margin: 10% auto;
    }
}

@media (max-width: 480px) {
    #dashboard-project-modal .dashboard-modal-content {
        width: 95%;
        margin: 15% auto;
        padding: 15px;
    }

    .gallery-input-container {
        flex-direction: column;
        align-items: stretch;
    }

    .remove-gallery-btn {
        align-self: flex-end;
    }
}

/* File Input Styles */
.dashboard-input[type="file"],
.gallery-image-input[type="file"] {
    display: none;
}

.file-input-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}

.file-input-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #333;
}

.file-input-label:hover {
    background-color: #e0e0e0;
    border-color: #ccc;
}

.file-input-label i {
    margin-right: 8px;
    color: #666;
}

.file-name {
    margin-left: 10px;
    color: #666;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    background-color: rgba(0, 0, 0, 0.05);
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: none;
    /* Hide by default */
}

.file-name:not(:empty) {
    display: inline-block;
    /* Show only when there's content */
}

.file-name:hover {
    background-color: rgba(0, 0, 0, 0.08);
}

/* Gallery specific styles */
.gallery-input-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.gallery-input-container .file-input-wrapper {
    margin-bottom: 0;
    flex: 1;
}

.gallery-input-container .file-name {
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 500;
}

.gallery-input-container .file-name:not(:empty) {
    display: inline-block;
}

/* Main image specific styles */
#project-main-image-wrapper {
    margin-bottom: 15px;
}

/* Preview styles */
.image-preview {
    margin-top: 10px;
    max-width: 200px;
    max-height: 150px;
    border-radius: 4px;
    display: none;
}

.image-preview.visible {
    display: block;
}

/* Projects Display Styles */
.projects-display {
    margin-top: 2rem;
    padding: 0 1rem;
    width: 100%;
}

.projects-title {
    font-size: 26px;
    margin-bottom: 25px;
    color: #333;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.project-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card-content {
    padding: 1.5rem;
    background: #fff;
    position: relative;
    z-index: 1;
}

.project-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    padding: 0;
}

.project-card-description {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.project-card-price {
    font-weight: bold;
    color: #fe0000;
    margin: 0;
}

.no-projects {
    text-align: center;
    color: #666;
    font-size: 16px;
    padding: 20px;
    grid-column: 1 / -1;
}

@media (max-width: 400px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}


/* Project Details Modal Styles */
.project-details-content {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

#project-details-close {

    position: absolute;

    top: 8px;
    right: 20px;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
}

#project-details-close:hover {
    color: #fe0000;
}

.project-details-header {
    margin-bottom: 20px;
}

.project-details-title {
    font-size: 24px;
    margin-bottom: 2px;
    color: #333;
}

.project-details-section {
    font-size: 0.8rem;
    color: gray;
    padding: 0;
    margin-bottom: 15px;
}

.project-details-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.project-details-main-image {
    margin: 20px 0;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.project-details-main-image img {
    max-height: 300px;
    object-fit: contain;
    display: block;
}

.project-details-gallery {
    margin-top: 30px;
}

.project-details-gallery h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
}

.project-gallery-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.project-gallery-image:hover {
    transform: scale(1.03);
}

/* Image Preview Modal Styles */
.image-preview-content {
    max-width: 90%;
    max-height: 90vh;
    margin: 2rem auto;
    position: relative;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-image {
    max-width: 100%;
    max-height: calc(90vh - 4rem);
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

#image-preview-close {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 1000;
}

#image-preview-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.delete-project-btn {
    background-color: #dc3545;
    color: white;
    margin-top: 10px;
}

.delete-project-btn:hover {
    background-color: #c82333;
}

.delete-confirmation-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    position: relative;
    z-index: 1001;
    /* Higher than other modals */
}

.delete-confirmation-content h3 {
    color: #dc3545;
    margin-bottom: 15px;
}

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

.delete-confirmation-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cancel-delete-btn {
    background-color: #6c757d;
}

.cancel-delete-btn:hover {
    background-color: #5a6268;
}

.confirm-delete-btn {
    background-color: #dc3545;
}

.confirm-delete-btn:hover {
    background-color: #c82333;
}

.delete-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.delete-confirmation-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.delete-confirmation-buttons .dashboard-button {
    flex: 1;
}

.confirm-delete-btn {
    background-color: #dc3545;
    color: white;
}

.confirm-delete-btn:hover {
    background-color: #c82333;
}

.cancel-delete-btn {
    background-color: #6c757d;
    color: white;
}

.cancel-delete-btn:hover {
    background-color: #5a6268;
}

/* edit project modal styles */
/* Edit Project Modal Styles */
#edit-project-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

#edit-project-modal .modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

#edit-current-main-img {
    max-width: 200px;
    max-height: 200px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.edit-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.edit-gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.edit-gallery-thumbnail {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.remove-gallery-image {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(255, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.marked-for-deletion {
    position: relative;
}

.marked-for-deletion::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 0, 0, 0.2);
}

.undo-delete {
    background-color: #4CAF50;
    font-size: 12px;
}

.project-edit-button {
    background-color: #4CAF50;
    color: white;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    margin-right: 8px;
}

.project-edit-button:hover {
    background-color: #45a049;
}

/* Inquiry Modal Styles */
.enquiry-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.enquiry-modal-content {
    background-color: #fff;
    color: #333;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1001;
    /* Ensure it is above the overlay */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.enquiry-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #fe0000;
}

.enquiry-modal-close:hover {
    color: #d50000;
    transition: all 0.2s ease;
}

.enquiry-modal-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #fe0000;
    text-align: center;
}

.enquiry-modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.enquiry-modal-field {
    display: flex;
    flex-direction: column;
}

.enquiry-modal-label {
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
}

.enquiry-modal-input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.enquiry-modal-input:focus {
    outline: none;
    border-color: #fe0000;
    box-shadow: 0 0 4px rgba(254, 0, 0, 0.5);
}

.enquiry-modal-submit {
    padding: 10px;
    background-color: #fe0000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.enquiry-modal-submit:hover {
    background-color: #d50000;
}

/* Styles for enquiry modal form validation */
.enquiry-error {
    color: red;
    font-size: 0.9rem;
    margin-top: 5px;
}

.enquiry-success {
    color: green;
    font-size: 1rem;
    margin-top: 10px;
    text-align: center;
}

.enquiry-error-container {
    margin-top: 10px;
}

/* Portfolio Section Styles */
.portfolio_section {
    padding: 100px 5% 80px;
    background-color: #f9f9f9;
    text-align: center;
    height: 100%;

}

.portfolio-loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 200px;
    font-size: 18px;
    color: #666;
    font-weight: 500;
    letter-spacing: 1px;
}

.portfolio-loading-container::after {
    content: "...";
    animation: portfolio-loading-dots 1.5s infinite;
    width: 24px;
    display: inline-block;
    text-align: left;
    margin-left: 4px;
}

@keyframes portfolio-loading-dots {

    0%,
    20% {
        content: ".";
    }

    40% {
        content: "..";
    }

    60%,
    100% {
        content: "...";
    }
}

.portfolio_main-title {
    font-size: 3rem;
    color: #333;
    margin-top: 40px;
    margin-bottom: 50px;
    position: relative;
}

.portfolio_main-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #fe0000;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.portfolio_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.portfolio_item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.portfolio_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.portfolio_image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.portfolio_content {
    padding: 15px;
}

.portfolio_title {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.portfolio_description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.portfolio-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.portfolio-button {
    padding: 10px 20px;
    background-color: #ccc;
    color: #333;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.portfolio-button:hover {
    background-color: #b8b8b8;
}

.portfolio-button.active {
    background-color: #fe0000;
    color: #fff;
}



.portfolio-projects {
    width: 100%;
    max-width: 100%;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
    width: 100%;
    max-width: 100%;
}

.portfolio-project-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: #f8f9fa;
}

.portfolio-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-project-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.portfolio-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.portfolio-project-card:hover .portfolio-project-image img {
    transform: scale(1.05);
}

/* Size-based grid positioning */
.portfolio-project-card.size-panoramic {
    grid-column: span 3;
    grid-row: span 1;
}

.portfolio-project-card.size-wide {
    grid-column: span 2;
    grid-row: span 1;
}

.portfolio-project-card.size-landscape {
    grid-column: span 2;
    grid-row: span 1;
}

.portfolio-project-card.size-square {
    grid-column: span 1;
    grid-row: span 1;
}

.portfolio-project-card.size-portrait {
    grid-column: span 1;
    grid-row: span 2;
}

.portfolio-project-card.size-tall {
    grid-column: span 1;
    grid-row: span 3;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .portfolio-project-card.size-panoramic {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 0.75rem;
        grid-auto-rows: 180px;
    }

    .portfolio-project-card.size-panoramic,
    .portfolio-project-card.size-wide,
    .portfolio-project-card.size-landscape {
        grid-column: span 2;
        grid-row: span 1;
    }

    .portfolio-project-card.size-portrait {
        grid-row: span 2;
    }

    .portfolio-project-card.size-tall {
        grid-row: span 2;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .portfolio-project-card.size-panoramic,
    .portfolio-project-card.size-wide,
    .portfolio-project-card.size-landscape,
    .portfolio-project-card.size-square {
        grid-column: span 1;
        grid-row: span 1;
    }

    .portfolio-project-card.size-portrait,
    .portfolio-project-card.size-tall {
        grid-row: span 1;
    }
}

/* Additional enhancement for very large screens */
@media (min-width: 1600px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

    .portfolio-project-card.size-panoramic {
        grid-column: span 4;
    }
}

/* Loading state for images */
.portfolio-project-image img[src=""] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Focus states for accessibility */
.portfolio-project-card:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.portfolio-project-card:focus:not(:focus-visible) {
    outline: none;
}

.portfolio-project-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    padding: 1.5rem;
    background: #fff;
}

.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.portfolio-modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 1000px;
    position: relative;
    text-align: center;
}

.portfolio-modal-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.portfolio-modal-close {
    background: transparent;
    border: none;
    position: absolute;
    top: 5px;
    right: 17px;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.portfolio-modal-close:hover {
    color: #fe0000;
}

.portfolio-modal-main-image {
    width: auto;
    max-height: 300px;
    margin: 20px 0;
    border-radius: 8px;
}

.portfolio-modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.portfolio-modal-gallery-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0.8;
}

.portfolio-modal-gallery-image:hover {
    transform: scale(1.04);
    opacity: 1;
}

.portfolio-modal-gallery-image.active {

    transform: scale(1.04);
    opacity: 1;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.3);
}

.gallery-placeholder-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    width: 100%;
    position: absolute;
    padding-bottom: 10px;
    bottom: 0;
    padding-left: 10px;
    padding-right: 10px;
    left: 0;
    overflow: hidden;
}

.gallery-image-placeholder {
    height: 90px;
    border-radius: 4px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Gallery Modal Styles */
.portfolio-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1100;
    /* Higher than the project modal */
}

.portfolio-gallery-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.portfolio-gallery-modal-image {
    max-height: 90vh;
    max-width: 90%;
    object-fit: contain;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.portfolio-gallery-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.gallery-nav-btn {
    background-color: transparent;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    margin: 0 15px;
}

.gallery-nav-btn:hover {
    opacity: 0.8;
}

.gallery-nav-btn:disabled {
    opacity: 1;
    cursor: not-allowed;
}

.gallery-counter {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
}

.portfolio-gallery-modal-close {
    position: absolute;
    top: -10px;
    right: 0;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

.portfolio-gallery-modal-close:hover {
    color: #fe0000;
}

@keyframes fadeInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInFromTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-project-card {
    opacity: 0;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Create pattern of animations */
.portfolio-project-card:nth-child(4n+1) {
    animation-name: fadeInFromLeft;
}

.portfolio-project-card:nth-child(4n+2) {
    animation-name: fadeInFromRight;
}

.portfolio-project-card:nth-child(4n+3) {
    animation-name: fadeInFromTop;
}

.portfolio-project-card:nth-child(4n+4) {
    animation-name: fadeInFromBottom;
}

/* Staggered timing based on position */
.portfolio-project-card:nth-child(3n+1) {
    animation-delay: 0.1s;
}

.portfolio-project-card:nth-child(3n+3) {
    animation-delay: 0.3s;
}

/* Animation for subsection buttons */
.subsection-buttons {
    transition: all 0.3s ease-out;
    transform-origin: top center;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.subsection-buttons.show {
    transform: scaleY(1);
    opacity: 1;
}

.subsection-button {
    padding: 6px 12px;
    background-color: #ccc;
    color: #333;
    border: none;
    border-radius: 5px;
    font-size: 0.96rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subsection-button:hover {
    background-color: #b8b8b8;
}

.subsection-button.active {
    background-color: #333;
    color: #fff;
}

.subsection-buttons.hide {
    transform: scaleY(0.8);
    opacity: 0;
    height: 0;
    overflow: hidden;
}


@media (min-width: 1440px) {

    /* .portfolio-project-image {
        height: 300px;
    }*/

    .portfolio-modal-content {
        width: 90%;
        height: 100%;
        max-height: 100%;
        max-width: 1440px;
        overflow-y: auto;
    }

    .portfolio-modal-main-image {
        width: auto;
        max-height: 400px;
        margin: 50px 0;
    }

    .portfolio-modal-gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        margin-top: 30px;
    }

    .portfolio-modal-gallery-image {
        height: 150px;
    }
}

@media (min-width: 2440px) {
    .portfolio-modal-close {
        font-size: 45px;
    }

    .portfolio-modal-content {
        max-width: 2000px;
        padding: 30px 20px 20px 20px;
    }

    .portfolio-modal-main-image {
        max-height: 700px;
    }

    .portfolio-gallery-modal-content {
        width: 80%;
    }

    .portfolio-gallery-modal-image {
        width: 90%;
        max-width: 90%;
        object-fit: cover;
    }

    .portfolio-gallery-modal-close {
        font-size: 45px;
        top: -35px;
    }
}

@media (max-width: 992px) {
    .portfolio-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }

    .subsection-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 575px) {

    .portfolio-modal-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .portfolio-modal-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .portfolio-modal-main-image {
        width: auto;
        max-height: 220px;
        margin: 10px 0;
    }

    .portfolio-modal-gallery-image {
        height: 80px;
    }

    .portfolio-gallery-modal-image {
        height: 90vh;
    }

    .portfolio-gallery-modal-close {
        font-size: 25px;
    }
}

@media (max-width: 420px) {
    .portfolio-button {
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    .portfolio-modal-close {
        font-size: 25px;
        top: 0;
        right: 10px;
    }

    .subsection-button {
        padding: 6px 10px;
        font-size: 0.86rem;
    }
}

.portfolio_clients_section {
    padding: 100px 5% 80px;
    display: block;
    clear: both;
    /* Ensure it starts after any floated elements */
}

.projects-display {
    margin-top: 2rem;
    padding: 0 1rem;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.toggle-view-btn {
    background: #fe0000;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-view-btn:hover {
    background: #e50000;
}

.projects-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.project-details-price {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
    font-weight: 500;
}

.delete-project-btn,
.delete-product-btn {
    background-color: #fe0000;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.delete-project-btn:hover,
.delete-product-btn:hover {
    background-color: #e50000;
}

.delete-confirmation-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    position: relative;
    z-index: 1001;
    /* Higher than other modals */
}

.dashboard-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

#delete-confirmation-modal {
    z-index: 1001;
    /* Higher than other modals */
}

/* Shop Section Styles */
.shop_section {
    padding: 150px 5% 80px;
    height: 100%;
    background-color: #f8f9fa;
}

.shop_container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

/* Shop Loading */
.shop_loading {
    padding: 6rem 0;
    font-size: 1.2rem;
    color: #666;
    display: none;
    justify-content: center;
    align-items: center;
}

.shop_loading.active {
    display: flex;
}

/* Filters Sidebar */
.shop_filters {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.shop_filter-group {
    margin-bottom: 0rem;
}

.shop_search-bar input {
    border: 2px solid transparent;
    outline: none;
    background: #f1f3f6;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    border-radius: 45px;


    color: #222;
    width: 80%;
    appearance: none;
}

.shop_search-bar input:focus,
.shop_search-bar input:active {
    background: #fff;
    border: 2px solid #fe0000;
}

.shop_search-bar input::placeholder {
    color: #aaa;
    opacity: 1;
    font-weight: 400;
}


.shop_search-bar button {
    background: #f1f3f6;
    border: none;
    outline: none;
    width: 36px;
    height: 36px;
    line-height: normal;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 1.3rem;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.shop_search-bar button:hover,
.shop_search-bar button:focus {
    background: #e6eaf0;
    color: #fe0000;
    box-shadow: 0 2px 8px rgba(254, 0, 0, 0.08);
}


.shop_filter-group:last-child {
    margin-bottom: 0;
}

.shop_search-bar {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop_filter-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #333;
}

/* Price Range Slider */
.shop_price-slider {
    position: relative;
    padding: 1rem 0 3rem 0;
}

.shop_range-input {
    width: 100%;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    outline: none;
    position: absolute;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.price-circle {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #fff;
    border: 2px solid #fe0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fe0000;
    font-size: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.price-circle.min {
    left: 0;
}

.price-circle.max {
    right: 0;
}

.shop_range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #fe0000;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    border: none;
    margin-top: -6px;
    z-index: 3;
}

.shop_range-input::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #fe0000;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    border: none;
}

.shop_range-input::-ms-thumb {
    width: 16px;
    height: 16px;
    background: #fe0000;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    border: none;
}

.shop_price-inputs {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.shop_price-input {
    flex: 1;
}

.shop_price-input label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.shop_price-input input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.shop_filter-divider {
    margin: 1.5rem 0;
    border: none !important;
    height: 1px !important;
    background-color: #ddd;
    /* your color */
}

/* Categories */
.shop_categories {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.shop_category,
.shop_brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

/* Force custom circular checkboxes for shop_category */
.shop_category input[type="checkbox"],
.shop_brand input[type="checkbox"] {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 20px;
    height: 20px;
    border-radius: 50% !important;
    border: 2px solid #bbb !important;
    background: #fff !important;
    display: inline-block;
    position: relative;
    transition: border-color 0.2s, box-shadow 0.2s;
    vertical-align: middle;
    cursor: pointer;
    outline: none;
}

.shop_category input[type="checkbox"]:checked,
.shop_brand input[type="checkbox"]:checked {
    border-color: #fe0000 !important;
    background: #fe0000 !important;
}

.shop_category input[type="checkbox"]:checked::after,
.shop_brand input[type="checkbox"]:checked::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.shop_category input[type="checkbox"]:focus,
.shop_brand input[type="checkbox"]:focus {
    box-shadow: 0 0 0 2px rgba(254, 0, 0, 0.15);
    border-color: #fe0000 !important;
}

.shop_category span,
.shop_brand span {
    font-size: 0.95rem;
    color: #444;
    font-weight: 500;

}

.shop_category-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.shop_category.parent {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shop_category-dropdown {
    font-size: 0.7rem;
    color: #aaa;
    background-color: #f1f3f6;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-left: auto;
}

.shop_category-dropdown:hover {
    opacity: 0.85;
}

.shop_subcategories {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-left: 1.5rem;
    border-left: 2px solid #ddd;
    padding-left: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.shop_category.child {
    margin-left: 0.5rem;
    padding: 0.25rem 0;
}

.shop_category.child span {
    font-size: 0.95rem;
    color: #555;
}

.shop_category.child:hover span {
    color: #333;
}

.shop_brands {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Products Grid */
.shop_products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
}

.shop_product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.shop_product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.shop_product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.shop_product-card:hover .shop_product-image img {
    transform: scale(1.05);
}

.shop_product-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0rem;
}

.shop_read-more-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #fe0000;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 2;
    border: none;
    cursor: pointer;
}

.shop_product-card:hover .shop_read-more-btn {
    opacity: 1;
    transform: translateY(0);
}

.shop_read-more-btn:hover {
    background-color: #e50000;
}

.shop_product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.1;
}

.shop_product-category {
    font-size: 0.9rem;
    color: #8f8f8f;
    background-color: #ddd;
    width: fit-content;
    padding: 3px 6px;
    border-radius: 18px;
    margin-bottom: 0 !important;
}

.shop_product-description {
    font-size: 0.9rem;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
}

.shop_product-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fe0000;
    margin-top: 0.5rem;
}

/* Product Details Modal */
.shop_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.shop_modal-content {
    position: relative;
    background: white;
    width: 90%;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 8px;
    max-height: 90vh;
    overflow-y: auto;
}

.shop_modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.shop_modal-close:hover {
    color: #fe0000;
}

.shop_product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.shop_product-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.shop_inquiry-btn {
    background: #fe0000;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.shop_inquiry-btn:hover {
    background: #e50000;
}

/* Inquiry Form Modal */
.shop_modal-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 1.5rem;
}

.shop_inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.shop_form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.shop_form-group label {
    font-size: 0.95rem;
    color: #555;
}

.shop_form-group input,
.shop_form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.shop_form-group input:focus,
.shop_form-group textarea:focus {
    border-color: #fe0000;
    outline: none;
}

.shop_submit-btn {
    background: #fe0000;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.shop_submit-btn:hover {
    background: #e50000;
}

/* Pagination Styles */
.shop_pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding: 20px 0;
}

.shop_pagination-prev,
.shop_pagination-next {
    background: none;
    border: 2px solid #fe0000;
    color: #fe0000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shop_pagination-prev:hover:not(:disabled),
.shop_pagination-next:hover:not(:disabled) {
    background-color: #fe0000;
    color: white;
}

.shop_pagination-prev:disabled,
.shop_pagination-next:disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
}

.shop_pagination-numbers {
    display: flex;
    gap: 5px;
}

.shop_pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fe0000;
    color: #fe0000;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shop_pagination-number:hover {
    background-color: #fe0000;
    color: white;
}

.shop_pagination-number.active {
    background-color: #fe0000;
    color: white;
}

@media (max-width: 576px) {
    .shop_pagination {
        gap: 5px;
    }

    .shop_pagination-prev,
    .shop_pagination-next,
    .shop_pagination-number {
        width: 35px;
        height: 35px;
    }
}

/* Responsive Design */
@media (min-width: 1440px) {
    .shop_product-image {
        height: 250px;
    }
}

@media (max-width: 1200px) {
    .shop_product-image {
        height: 150px;
    }

    .shop_product-title {
        font-size: 1rem;
        line-height: 1;
    }

    .shop_product-category {
        font-size: 0.8rem;

    }

    .shop_product-description {
        font-size: 0.9rem;

        line-height: 1.1;
    }

    .shop_product-price {
        font-size: 1rem;

        margin-top: 0.5rem;
    }
}

@media (max-width: 992px) {
    .shop_section {
        padding: 130px 5% 80px;
    }

    .shop_container {
        grid-template-columns: 1fr;
    }

    .shop_container {
        gap: 0rem;
    }

    .shop_filters {
        position: static;
        margin-bottom: 2rem;
    }

    .shop_product-details {
        grid-template-columns: 1fr;
    }

    .shop_product-image {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .shop_products-grid {

        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .shop_product-image {
        height: 245px;
    }
}

@media (max-width: 576px) {
    .shop_section {
        padding: 115px 5% 80px;
    }

    .shop_modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}

@media (max-width: 425px) {
    .shop_products-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .shop_product-image {
        height: 285px;
    }
}

/* single poduct section */
.singleproduct_section {
    padding: 18px 5% 80px;
    height: 100%;
    background-color: #f8f9fa;
}

.singleproduct_container {
    margin: 0 auto;
    padding: 0 1rem;
}

.singleproduct-back-btn {
    margin-bottom: 18px;
    display: block;
    background-color: #fe0000;
    width: fit-content;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.singleproduct-back-btn:hover {
    opacity: 0.8;
}

.singleproduct_content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.singleproduct_image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.singleproduct_image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
    z-index: 1;
}

.singleproduct_image img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.singleproduct_image img.loaded {
    opacity: 1;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.singleproduct_info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.singleproduct_title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.singleproduct_category {
    font-size: 1rem;
    color: #666;
    background-color: #dddddd;
    width: fit-content;
    padding: 4px 12px;
    border-radius: 18px;
    margin: 0;
    margin-bottom: 2.5rem;
}

.singleproduct_description {
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.singleproduct_subdescription {
    font-weight: 400;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.singleproduct_price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.singleproduct_inquiry-btn {
    background-color: #fe0000;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.singleproduct_inquiry-btn:hover {
    background-color: #d10000;
}

.singleproduct_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.singleproduct_modal-content {
    position: relative;
    background-color: white;
    width: 90%;
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.singleproduct_modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.singleproduct_modal-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.singleproduct_form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.singleproduct_form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.singleproduct_form-group label {
    font-size: 1rem;
    color: #444;
}

.singleproduct_form-group input,
.singleproduct_form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.singleproduct_form-group input:focus,
.singleproduct_form-group textarea:focus {
    outline: none;
    border-color: #2c3e50;
}

.singleproduct_submit-btn {
    background-color: #fe0000;
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.singleproduct_submit-btn:hover {
    background-color: #d10000;
}

@media (max-width: 992px) {
    .singleproduct_content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {

    .singleproduct_image {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .singleproduct_section {
        padding: 15px 5% 80px;
    }

    .singleproduct_content {
        padding: 1rem;
    }

    .singleproduct-back-btn {
        margin-bottom: 15px;
        width: 35px;
        height: 35px;
    }

    .singleproduct_image {
        height: 280px;
    }

    .singleproduct_title {
        font-size: 2rem;
    }
}

.singleproduct_related-section {
    padding: 4rem 0 4rem 0;
    height: fit-content;
}

.singleproduct_related-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
}

.singleproduct_related-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #fe0000;
    margin: 1rem auto 0;
}

.singleproduct_related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.singleproduct_related-card {
    margin-bottom: 0 !important;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

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

.singleproduct_related-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.singleproduct_related-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.singleproduct_related-card:hover .singleproduct_related-image img {
    transform: scale(1.05);
}

.singleproduct_related-content {
    padding: 1rem;
}

.singleproduct_related-card-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}

.singleproduct_related-card-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
}

@media (max-width: 992px) {
    .singleproduct_related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .singleproduct_related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .singleproduct_related-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .singleproduct_related-grid {
        grid-template-columns: 1fr;
    }

    .singleproduct_related-section {
        padding: 2rem 0 1rem 0;
    }

    .singleproduct_related-title {
        font-size: 1.5rem;
    }
}

.singleproduct_breadcrumb {
    padding: 110px 0 1rem 0;
    /* top padding matches .singleproduct_section */
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;


}

.singleproduct_breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;

    font-size: 0.9rem;
}

.singleproduct_breadcrumb-link {
    color: #fe0000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.singleproduct_breadcrumb-link:hover {
    color: #fd1818;
    text-decoration: underline;
}

.singleproduct_breadcrumb-separator {
    color: #6c757d;
}

.singleproduct_breadcrumb-current {
    color: #495057;
    font-weight: 500;
}

@media (max-width: 576px) {
    .singleproduct_breadcrumb-nav {
        font-size: 0.85rem;
    }
}

.project-details-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.project-edit-button {
    background-color: #4CAF50;
}

.project-edit-button:hover {
    background-color: #45a049;
}

.edit-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.edit-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.edit-gallery-thumbnail {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.remove-gallery-image {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.remove-gallery-image:hover {
    background-color: rgba(255, 0, 0, 1);
}

#edit-project-modal .dashboard-modal-content {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .edit-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .edit-gallery-thumbnail {
        height: 120px;
    }
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.project-gallery-image {
    position: relative;
    aspect-ratio: 1;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.project-gallery-image:hover {
    transform: scale(1.05);
}

.project-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-content {
    max-width: 90%;
    max-height: 90vh;
    margin: 2rem auto;
    position: relative;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-image {
    max-width: 100%;
    max-height: calc(90vh - 4rem);
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

#image-preview-close {
    position: absolute;
    top: -1.5rem;
    right: -1.5rem;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 1000;
}

#image-preview-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.submit-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.edit-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.edit-gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
}

.edit-gallery-thumbnail {
    width: 100%;
    height: 100%;
}

.edit-gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-gallery-image {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
}

.remove-gallery-image:hover {
    background: #ff4444;
    color: white;
}

.marked-for-deletion {
    opacity: 0.5;
    position: relative;
}

.marked-for-deletion::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 68, 68, 0.2);
    border: 2px solid #ff4444;
    border-radius: 8px;
}

.submit-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.dashboard-button.dashboard-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}



/* Portfolio Modal Styles */
.portfolio-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow-y: auto;
}

.portfolio-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.portfolio-modal-main-image {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    margin-bottom: 20px;
}

.portfolio-modal-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.portfolio-modal-gallery-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.portfolio-modal-gallery-image:hover {
    transform: scale(1.05);
}

.shop_category:not(.child):not(.parent) {
    font-weight: 600;
}

/* Mouse trail effect */
.mouse-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.trail-particle {
    position: absolute;
    width: 1px;
    height: 1px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    pointer-events: none;
    animation: fadeOut 2s ease-out forwards;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.6);
    transform-origin: center;
}

.trail-particle.current {
    width: 2px;
    height: 2px;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
    animation: currentParticle 2s ease-out forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 0.9;
        transform: scale(1) translate(0, 0);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.1) translate(var(--tx), var(--ty));
    }

    100% {
        opacity: 0;
        transform: scale(0.9) translate(var(--tx2), var(--ty2));
    }
}

@keyframes currentParticle {
    0% {
        opacity: 1;
        transform: scale(1.2) translate(0, 0);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.3) translate(var(--tx), var(--ty));
    }

    100% {
        opacity: 0;
        transform: scale(1) translate(var(--tx2), var(--ty2));
    }
}


/* shop pages, cart, checkout... */
.cart-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1000;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.6);
    /* Black w/ opacity */
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
}

.cart-modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-modal-close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    transition: 0.3s;
}

.cart-modal-close:hover,
.cart-modal-close:focus {
    color: #fe0000;
    text-decoration: none;
    cursor: pointer;
}

.cart-modal-title {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.cart-items {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 10px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
}

.cart-item-price {
    font-size: 0.95rem;
    color: #fe0000;
    font-weight: 500;
    margin: 0;
}

.cart-item-quantity-controls {
    display: flex;
    align-items: center;
    margin-top: 8px;
    gap: 5px;
}

.cart-item-quantity-controls button {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    color: #333;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
}

.cart-item-quantity-controls button:hover {
    background-color: #e0e0e0;
    border-color: #ccc;
}

.cart-item-quantity-controls .quantity {
    font-size: 1rem;
    font-weight: 500;
    padding: 0 8px;
}

.cart-item-remove {
    background: none !important;
    border: none !important;
    color: #fe0000;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.cart-item-remove:hover {
    color: #d50000;
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 500;
    border-top: 2px solid #eee;
    padding-top: 15px;
    margin-top: 20px;
}

.checkout-btn {
    background-color: #fe0000;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.checkout-btn:hover {
    background-color: #d50000;
}

@media (max-width: 465px) {
    .checkout-btn {
        font-size: 0.9rem;
        padding: 8px 14px;
    }
}

.checkout-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.cart-empty-message {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    padding: 20px;
}

/* Styles for Add to Cart buttons */
.shop_add-to-cart-btn,
.singleproduct_add-to-cart-btn {
    background-color: #fe0000;
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 15px;
    width: calc(100% - 20px);
    /* Adjust width to fit container with padding */
    align-self: center;
    /* Center the button within the flex container */
}

.shop_add-to-cart-btn {
    padding: 7px 20px;
    border-radius: 45px;
}

.shop_add-to-cart-btn span {
    font-size: 22px;
}

.shop_add-to-cart-btn:hover,
.singleproduct_add-to-cart-btn:hover {
    background-color: #d50000;
    transform: translateY(-2px);
}

.shop_product-card .shop_product-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.shop_product-card {
    height: auto;
}

.singleproduct_add-to-cart-btn {
    margin-top: 20px;
    width: 70%;
    font-weight: 700;
}

.cart-item-remove:hover {
    color: #d50000;
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    border-top: 2px solid #eee;
    padding-top: 15px;
    margin-top: 20px;
}

@media (max-width: 400px) {
    .cart-summary {
        flex-direction: column;
    }
}

/* Custom Notification Styles */
#custom-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1rem;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

#custom-notification.show {
    opacity: 1;
    visibility: visible;
}

#custom-notification.success {
    background-color: #28a745;
}

#custom-notification.info {
    background-color: #17a2b8;
}

#custom-notification.error {
    background-color: #dc3545;
}

/* View Cart Page Styles */
.checkout-progress {
    background-color: #f8f9fa;
    padding: 2rem 0;
    margin-top: 6rem;
    margin-bottom: 2rem;
}

.checkout-progress-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    border: 2px solid #dee2e6;
}

.progress-step.active .step-number {
    background-color: #fe0000;
    color: white;
    border-color: #fe0000;
}

.step-label {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

.step-label a {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.progress-step.active .step-label a {
    color: #fe0000;
}

.progress-line {
    flex: 1;
    height: 2px;
    background-color: #dee2e6;
    margin: 0 1rem;
    position: relative;
    top: -20px;
}

.view-cart-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.cart-items-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cart-items-section h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

.view-cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.view-cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 4px;
}

.view-cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.view-cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.view-cart-item-title {
    font-weight: 500;
    color: #333;
}

.view-cart-item-price {
    color: #007bff;
    font-weight: 500;
}

.view-cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-cart-item-quantity button {
    width: 30px;
    height: 30px;
    border: 1px solid #dee2e6;
    background-color: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-cart-item-quantity button:hover {
    background-color: #f8f9fa;
}

.view-cart-item-quantity .quantity {
    width: 40px;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.25rem;
}

.view-cart-item-remove {
    color: #dc3545;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.view-cart-item-remove:hover {
    color: #c82333;
}

.cart-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.continue-shopping {
    color: #6c757d;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.continue-shopping:hover {
    color: #007bff;
}

.order-summary-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.order-summary-section h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

.order-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.summary-row.total {
    font-weight: 500;
    font-size: 1.1rem;
    border-bottom: none;
    padding-top: 1rem;
}

.proceed-to-checkout-btn {
    background-color: #fe0000;
    color: white;
    font-size: 1rem;
    border: none;
    padding: 1rem;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    margin-top: 1rem;
    text-decoration: none;
    text-align: center;
    display: block;
    transition: 0.3s ease;
}

.proceed-to-checkout-btn:hover {
    background-color: #cc0000;
}

.proceed-to-checkout-btn.disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 768px) {
    .checkout-progress-container {
        justify-content: center;
        gap: 4rem;
    }

    .progress-line {
        display: none;
    }

    .step-label {
        text-align: left;
    }

    .view-cart-container {
        grid-template-columns: 1fr;
    }

    .step-number {
        width: 35px;
        height: 35px;
    }

    .view-cart-item {
        grid-template-columns: 80px 1fr;
    }

    .view-cart-item-image {
        width: 80px;
        height: 80px;
    }
}


.cart-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.view-cart-btn {
    background-color: #333;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    flex: 1;
    transition: 0.3s ease;
}

.view-cart-btn:hover {
    background-color: gray;
}

.checkout-btn {
    flex: 1;
}

@media (max-width: 425px) {
    .cart-buttons {
        gap: 10px;
    }

    .checkout-progress-container {
        gap: 2rem;
    }
}


@media (max-width: 465px) {
    .view-cart-btn {
        font-size: 0.9rem;
        padding: 8px 14px;
    }
}

/* Checkout Page Styles */
.checkout-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

.checkout-form-section {
    height: 100%;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.checkout-form-section h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

.form-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fe0000;
}

.order-summary-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.order-summary-section h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

.checkout-items {
    margin-bottom: 1.5rem;
}

.checkout-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #dee2e6;
}

.checkout-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.checkout-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}


.checkout-item-title {
    font-weight: 500;
    color: #333;
}

.checkout-item-price {
    color: #fe0000;
}

.checkout-item-quantity {
    color: #6c757d;
    font-size: 0.9rem;
}

.shipping-options {
    margin: 1.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.shipping-options h3 {
    margin-bottom: 1rem;
    color: #333;
}

.shipping-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.shipping-option input[type="radio"] {
    accent-color: #fe0000;
}

.summary-totals {
    margin-top: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #666;
}

.summary-row.total {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    border-top: 1px solid #dee2e6;
    padding-top: 1rem;
    margin-top: 1rem;
}

.delivery-note {
    background-color: #fff3cd;
    color: #856404;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
    text-align: center;
}

.place-order-btn {
    background-color: #fe0000;
    font-size: 1rem;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    margin-top: 1rem;
    transition: 0.3s ease;
}

.place-order-btn:hover {
    background-color: #cc0000;
}

/* Custom Notification Styles */
.checkout-custom-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    transform: translateX(120%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.checkout-custom-notification.show {
    transform: translateX(0);
}

.checkout-custom-notification.error {
    background-color: #dc3545;
}

.checkout-custom-notification.success {
    background-color: #28a745;
}

.checkout-custom-notification.info {
    background-color: #17a2b8;
}

/* Responsive styles */
@media (max-width: 768px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Categories Section */
.categories-section {
    padding: 100px 5% 80px;
    position: relative;
    overflow: hidden;
    height: auto;
    background-color: #f8f9fa;
}

.categories-section .section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 70px;
    color: #333;
    position: relative;
}

.categories-section .section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #fe0000;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.categories-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.category-card {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s !important;
}

.category-icon {
    font-size: 2.5rem;
    color: #fe0000;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.categories-section .shopnow-btn {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    padding: 12px 25px;
    border-radius: 45px;
    display: block;
    width: 25%;
    margin: 2.5rem auto 0 auto !important;
    text-align: center;
    background-color: #fe0000;
    color: white;
}

.categories-section .shopnow-btn:hover {
    background-color: #cc0000;
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .categories-section .shopnow-btn {
        width: 35%;
    }
}

@media (max-width: 768px) {
    .categories-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .category-card {
        padding: 1.5rem;
    }

    .category-icon {
        font-size: 2rem;
    }

    .category-card h3 {
        font-size: 1rem;
    }
}

@media (max-width: 440px) {
    .categories-section .shopnow-btn {
        width: 50%;
    }
}

.product-instock-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
    z-index: 2;
}

.product-instock-indicator.in-stock {
    background: #2ecc40;
    border-color: #fff;
}

.product-instock-indicator.out-stock {
    background: #fe0000;
    border-color: #fff;
}

.shop_outofstock-label {
    display: block;
    color: #fe0000;
    font-size: 0.95em;
    font-weight: bold;
    margin-top: 2px;
    margin-bottom: 2px;
    text-align: left;
}

.singleproduct_instock-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    font-size: 1em;
}

.instock-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 3px;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
}

.instock-dot.in {
    background: #2ecc40;
}

.instock-dot.out {
    background: #fe0000;
}

.instock-text {
    font-size: 0.98em;
    font-weight: 600;
    color: #333;
}

.instock-dot.out+.instock-text {
    color: #fe0000;
}

.dashboard-no-products {
    color: #888;
    font-size: 1em;
    text-align: center;
    margin: 34px auto 8px auto !important;
    font-weight: 500;
}

.singleproduct_add-to-cart-btn.disabled,
.singleproduct_inquiry-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.shop_add-to-cart-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}