* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

/* Common fade-in effect for all sections */
.image-container,
.main,
.changing-container {
    opacity: 0; /* Start hidden */
    transform: translateY(50px); /* Start slightly lower */
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* When section comes into view, make it visible */
.image-container.show,
.main.show,
.changing-container.show {
    opacity: 1;
    transform: translateY(0);
}



/*************        Banner    */
.banner {
    display: flex;
    justify-content: space-between; /* Space elements on left & right */
    align-items: center;           /* Vertically center content */
    background-color: rgb(183, 2, 2);     /* Light gray background */
    padding: 5px 20px;            /* Spacing around the content */
    font-family: Arial, sans-serif;
    z-index: 1001;
}

/* Left Side of Banner */
.banner-left {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between icon and text */
}

/* Icon Styling */
.warranty-icon {
    width: 24px;   /* Adjust as needed */
    height: auto;
    display: block;
}

/* Text Styling for "Lifetime Warranty" */
.warranty-text {
    font-size: 1rem;
    color: white;
}

/* Right Side of Banner */
.banner-right {
    font-size: 1rem;
    color: white;
    font-weight: normal;
}

/* Optional: Make phone number clickable (tel link) */
.phone-number a {
    color: inherit;        /* Inherit text color */
    text-decoration: none; /* Remove underline */
}

/* Responsive Example: stack on smaller screens */
@media (max-width: 480px) {
    .banner {
        flex-direction: row; /* Keep elements side by side */
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
    
    .warranty-icon {
        width: 20px; /* Slightly smaller icon */
    }
    
    .warranty-text, .banner-right {
        font-size: 0.8rem; /* Reduce font size for mobile */
    }
}







/****************        Navbar*/
.navbar {
    background-color: white;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: absolute;
    top: 40px;
    width: 100%;
    z-index: 999;

}


.navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

#navbar__homelogo {
    height: 50px; /* Adjust the size as needed */
    margin-right: 20px; /* Add space between the logos */
}

#navbar__logo {
    /*color: #131313; */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 300px;
    height: 50px;
    font-family: "Lato", serif;
    display: flex; 
    text-indent: -9999px;
    overflow: hidden;
    /*align-items: center;*/
    cursor: pointer;
    margin-top: 10px;
    gap: 10px;
    /*text-decoration: none;
    font-size: 2.5rem; */
}

.fa-gem {
    margin-right: 0.5rem;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item {
    height: 80px;
}

.navbar__links {
    color: #131313;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}

.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: auto;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 8px 16px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #131313;
    color: white;
}

.button:hover {
    background: red;
}

.navbar__links:hover {
    color: red;
    text-underline-position: below;
}

@media screen and (max-width: 960px) {
    .navbar {
        top: 30px;
    }

    .navbar__container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
        max-width: 1300px;
        padding: 0;
    }

    .navbar__menu {
        display: grid;
        grid-template-columns: auto;
        margin: 0;
        width: 100%;
        position: absolute;
        top: -1000px;
        opacity: 0;
        transition: all 0.5s ease;
        height: 50vh;
        z-index: -1;
    }

    .navbar__menu.active {
        background: white;
        top: 100%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 99;
        height: 90vh; /*****************      CODE TO FIX NAVBAR DROPDOWN*/
        font-size: 1.6rem;
    }

    #navbar__logo {
        padding-left: 25px;
    }

    .navbar__toggle .bar {
        width: 25px;
        height: 3px;
        margin: 5px auto;
        transition: all 0.3s ease-in-out;
        background: black;
    }

    .navbar__item {
        width: 100%;
    }

    .navbar__links {
        text-align: center;
        padding: 2rem;
        width: 100%;
        display: table;
        color: black;
    }

    #mobile-menu {
        position: absolute;
        top: 20%;
        right: 5%;
        transform: translate(5%, 20%);
    }

    .navbar__btn {
        padding-bottom: 2rem;
    }

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 80%;
        height: 80px;
        margin: 0;
    }

    .navbar__toggle .bar {
        display: block;
        cursor: pointer;
    }

    #mobile-menu.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    #mobile-menu.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    #mobile-menu.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}


/*-----------------     Dropdown menu styling          */
/* Main dropdown menu */
.dropdown__menu {
    position: absolute;
    top: 100%; /* Aligns the menu below "Products" */
    margin-left: 165px; /* Adjust this value to position your dropdown properly */
    left: 0;
    background: white;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    display: none; /* Hidden by default */
    flex-direction: row; /* Align items horizontally */
    flex-wrap: nowrap; /* Allow items to wrap if necessary */
    justify-content: center;
    align-items: flex-start;
    /* gap: 5px; */
    /*       Changed this below       */
    padding: 20px;
    margin-bottom: 10px;
    z-index: 1000; /* Ensures dropdown stays on top */
    box-sizing: border-box;
    width: 100vw; /* Adjust width as needed */
}

/* Show dropdown when hovering over Products */
.navbar__item.dropdown:hover .dropdown__menu {
    display: flex;
}

/* Style for dropdown items */
.dropdown__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #131313;
    font-size: 14px;
    transition: 0.3s;
    padding: 50px;
    width: 110px; /* Fixed width for each item */
}

/* Category Title Styling */
.dropdown__category {
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 18px; /* Larger Font */
    color: #131313;
    padding: 5px 0;
    /* margin-bottom: 5px; */
    border-bottom: 2px solid #ccc;
    white-space: nowrap;
}

.dropdown__category-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    left: 0;
    text-align: start;
    align-items: center;
    width: 100%;
    padding: 0;
    gap: 0;
    
}




/* Adjust image size */
.dropdown__item img {
    width: 50px;
    height: 50px;
    margin-bottom: 5px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.dropdown__item span {
    min-height: 30px; /* Adjust this value as needed */
    display: flex;
    align-items: center; /* Vertically centers text */
    justify-content: center;
    text-align: center;
    line-height: 1;
}

/* Hover effect */
.dropdown__item:hover img {
    transform: scale(1.1);
}

.dropdown__item:hover {
    color: red;
}

/* Ensure Menu Links Stay Visible on White Background */
.navbar__links {
    transition: color 0.3s ease;
}

.navbar__item.dropdown:hover .navbar__links {
    color: black;
}



@media (min-width: 768px) {
    .dropdown__menu {
        left: -180px; /* Moves menu further left */
    }
} 


@media screen and (max-width: 960px) {
    /* Ensure dropdown appears directly under "Products" */
    .dropdown__menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50vw;
        text-align: center;
        padding: 10px 0;
        position: absolute;
        top: 100%; /* Aligns the menu right below "Products" */
        left: 50%; /* Center horizontally */
        transform: translateX(-50%); /* Center horizontally */
        background: white;
        z-index: 10000;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
        border-radius: 10px;
    }

    /* Hide product images on mobile */
    .dropdown__item img {
        display: none;
    }

    /* Style product list */
    .dropdown__item {
        width: 100%;
        padding: 10px;
        font-size: 18px;
        font-weight: bold;
        text-align: center;
    }

    /* Ensure product names are visible */
    .dropdown__item span {
        display: inline-block;
    }

    /* Adjust Products dropdown positioning */
    .navbar__item.dropdown {
        position: relative;
    }

    /* Ensure dropdown stays directly below Products */
    .navbar__item.dropdown .dropdown__menu {
        position: absolute;
        top: 100%;
        left: 50%; /* Center horizontally */
        transform: translateX(-50%); /* Center horizontally */
        width: 50vw; /* Adjust width to match parent dropdown */
        background: white;
        display: none; /* Initially hidden */
    }

    /* Show dropdown on click */
    .navbar__item.dropdown:hover .dropdown__menu,
    .navbar__item.dropdown:focus-within .dropdown__menu {
        display: flex;
    }
}



/* ********************       Product name and images */
#prodetails {
    display: flex;
    margin-top: 90px;
    margin-bottom: 50px;
}

#prodetails .single-pro-image {
    width: 40%;
    margin-right: 50px;
    margin-left: 50px;

}

#mainimg {
    width: 100%; /* Ensures responsiveness */
    max-width: 550px; /* Adjust based on your design */
    height: 500px; /* Fixed height to prevent resizing */
    object-fit: cover; /* Ensures images fill the space without distortion */
    border-radius: 10px; /* Optional: Adds rounded corners */
}

.small-img-group {
    display: flex;
    justify-content: space-evenly;
    gap: 10px; /* Add space between images */
}

.small-img-col {
    flex-basis: 24%;
    cursor: pointer;
}

.small-img {
    width: 100%;
    height: 150px; /* Set a fixed height for all images */
    object-fit: cover; /* Ensures images are cropped to fit without distortion */
    border-radius: 5px; /* Optional: adds rounded corners */
}

#prodetails .single-pro-text h4 {
    padding: 10px 0 20px 0;
    font-size: 2.2rem;
    color: rgb(180, 2, 2);
}

#prodetails .single-pro-text p {
    margin-bottom: 10px;
    font-size: 1rem;
    color: black;
}

/* ***********               Dividing Line */
.colors-divider {
    border: none;
    border-top: 2px solid #ccc; /* Adjust thickness and color */
    margin: 15px 0; /* Adds spacing around the line */
    width: 100%; /* Ensures full width */
}


/* ********************     Recommended Colors */

#prodetails .single-pro-details {
    width: 50%;
    padding-top: 30px;
}

/*********            Styling Text for path only  */
#prodetails .single-pro-details h6 {
    font-size: 0.8rem;
    margin-bottom: 5px;
}

#prodetails .single-pro-details .colors-section h6 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

#prodetails .single-pro-details .colors-section .colors-images {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px; /* Adjust spacing between images */
    justify-content: center; /* Centers the images */
    background-color: #e3e0e0;
    padding: 10px;
    width: 510px;
}

#prodetails .single-pro-details .colors-section .colors-images .color-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the text below the image */
    text-align: center;
    width: 80px; /* Adjust width based on image size */
}

#prodetails .single-pro-details .colors-section .colors-images img {
    width: 100%; /* Makes sure the image fills its container */
    height: auto;
}

#prodetails .single-pro-details .colors-section .colors-images p {
    margin-top: 5px;
    background-color: transparent; /* Remove background */
    width: 100%; /* Ensures the text is aligned with the image */
    font-size: 1rem;
}


/* ********************     Recommended Hardware */



#prodetails .single-pro-details .hardw-container h6 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

#prodetails .single-pro-details .hardw-container .hardw-images {
    display: flex;
    flex-wrap: nowrap;
    gap: 25px; /* Adjust spacing between images */
    justify-content: center; /* Centers the images */
    background-color: #e3e0e0;
    padding: 10px;
    width: 510px;
}

#prodetails .single-pro-details .hardw-container .hardw-images .hardw-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the text below the image */
    text-align: center;
    width: 80px; /* Adjust width based on image size */
}

#prodetails .single-pro-details .hardw-container .hardw-images img {
    width: 100%; /* Makes sure the image fills its container */
    height: auto;
}

#prodetails .single-pro-details .hardw-container .hardw-images p {
    margin-top: 5px;
    background-color: transparent; /* Remove background */
    width: 100%; /* Ensures the text is aligned with the image */
    font-size: 1rem;
}

/* ********************     Recommended Glass */



#prodetails .single-pro-details .glass-container h6 {
    font-size: 1.2rem;
    margin-bottom: 0px;
}

#prodetails .single-pro-details .glass-container .glass-images {
    display: flex;
    flex-wrap: nowrap;
    gap: 50px; /* Adjust spacing between images */
    justify-content: center; /* Centers the images */
    background-color: white;
    padding: 0px;
    width: 510px;
}

#prodetails .single-pro-details .glass-container .glass-images .glass-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the text below the image */
    text-align: center;
    width: 80px; /* Adjust width based on image size */
}

#prodetails .single-pro-details .glass-container .glass-images img {
    width: 120px; /* Set a fixed width */
    height: 120px; /* Set a fixed height */
    object-fit: cover; 
}


#prodetails .single-pro-details .glass-container .glass-images p {
    margin-top: 0px;
    background-color: transparent; /* Remove background */
    width: 100%; /* Ensures the text is aligned with the image */
    font-size: 1rem;
}




/* ********************     Limitation */
#prodetails .single-pro-details .limit-container {
    display: flex;
    align-items: flex-start; /* Aligns text and h5 vertically */
    gap: 100px; /* Adds space between the h5 and the text */
}

#prodetails .single-pro-details .limit-container h5 {
    margin: 0; /* Removes default margin */
    white-space: nowrap; /* Prevents h5 from wrapping to a new line */
    font-size: 1.2rem;
}

#prodetails .single-pro-details .limit-container .limit-text {
    text-align: left;
    display: flex;
    flex-direction: column;
}

#prodetails .single-pro-details .limit-container .limit-text h6 {
    font-size: 1.1rem;
    text-align: left;
    display: flex;
    flex-direction: column;
}

#prodetails .single-pro-details .limit-container .limit-text p {
    font-size: 0.9rem;
    text-align: left;
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 768px) {
    #prodetails .single-pro-details .limit-container {
        flex-direction: column; /* Stack items vertically */
        gap: 15px; /* Reduce spacing for better alignment */
        align-items: center; /* Center content */
        text-align: center; /* Center text */
    }

    #prodetails .single-pro-details .limit-container h5 {
        text-align: center; /* Center the heading */
        width: 100%; /* Ensure it doesn’t shrink */
    }

    #prodetails .single-pro-details .limit-container .limit-text {
        text-align: center; /* Ensure text is centered */
        width: 100%; /* Allow text to take full width */
    }

    #prodetails .single-pro-details .limit-container .limit-text h6 {
        text-align: center; /* Center headings */
    }

    #prodetails .single-pro-details .limit-container .limit-text p {
        text-align: center; /* Center text */
    }
}


/* ********************     Contact and Product details */

.contact-btn {
    display: flex; 
    margin-top: 10px;
    background-color: black; 
    color: white; 
    text-decoration: none; 
    padding: 7px 15px; 
    border-radius: 5px; 
    font-size: 1.2rem; 
    text-align: center;
    width: 140px;
    /*transition: background 0.3s ease-in-out;  Smooth transition */
}

.contact-btn:hover {
    background-color: red; 
}

#prodetails .single-pro-details h4 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

#prodetails .single-pro-details span {
    line-height: 25px;
    font-size: 1rem;
}

@media screen and (max-width: 768px) {
    #prodetails {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center elements */
        text-align: center; /* Align text for better readability */
    }

    #prodetails .single-pro-image {
        width: 90%; /* Adjust width for mobile */
        margin: 0 auto; /* Center the image */
    }

    #prodetails .single-pro-details {
        width: 90%; /* Adjust width for better layout */
        padding-top: 20px;
    }
}




/* ********************       Footer */

.footer {
    background-color: #131313;
    margin-top: 50px;
    color: #f4f4f4;
    padding: 20px 0;
    width: 100%;
  }
  
  /* Grid: 2 columns - Left (Footer Text) and Right (Links + Socials) */
  .footer__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
  }
  
  /* Left Column: Footer Text */
  .footer-text {
    text-align: left;
  }
  
  .footer-text img {
    width: 150px; /* Adjust logo size as needed */
    height: auto;
    margin-bottom: 10px;
  }
  
  .footer-text p {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  /* Right Column: Links & Socials */
  .footer__right {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
  
  /* Footer Links: Two sub-columns */
  .footer__links {
    display: flex;
    gap: 40px;
  }
  
  .footer__links-col,
  .footer__products-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .footer__link {
    color: #f4f4f4;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
  }
  
  .footer__link:hover {
    color: grey;
  }
  
  /* Products List */
  .footer__products-list {
    list-style: none;
    padding: 0;
    margin: 5px 0 0 0; /* Indent list for clarity */
  }
  
  .footer__products-list li {
    margin: 5px 0;
  }
  
  /* Socials: arranged horizontally to the right of the links */
  .footer__socials {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  /* Social Icons */
  .footer__face-icon img {
    width: 36px;
    height: auto;
    transition: transform 0.3s ease;
  }
  
  .footer__insta-icon img {
    width: 24px;
    height: auto;
    transition: transform 0.3s ease;
  }
  
  /* Hover effect for social icons */
  .footer__face-icon img:hover,
  .footer__insta-icon img:hover {
    transform: scale(1.2);
  }
  
  /* Footer Copyright */
  .footer__copyright {
    font-size: 0.9rem;
    color: #a9a9a9;
    text-align: center;
    margin-top: 20px;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .footer__container {
      grid-template-columns: 1fr;
      text-align: center;
    }
    
    .footer-text {
      text-align: center;
    }
    
    .footer__right {
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }
    
    .footer__links {
      flex-direction: row;
      justify-content: center;
      gap: 20px;
    }
    
    .footer__links-col,
    .footer__products-col {
      align-items: center;
    }
    
    .footer__socials {
      justify-content: center;
    }
  }