/* <uniquifier>: Use a unique and descriptive class name
 <weight>: Use a value from 400 to 900 

.bodoni-moda-google {
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}*/

.lato-regular {
    font-family: "Lato", serif;
    font-weight: 400;
    font-style: normal;
}

/* <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 400 to 900 */

.hind-madurai-regular {
    font-family: "Hind Madurai", serif;
    font-weight: 400;
    font-style: normal;
}

/* <uniquifier>: Use a unique and descriptive class name
// <weight>: Use a value from 100 to 900 */

.montserrat-regular {
font-family: "Montserrat", serif;
font-optical-sizing: auto;
font-weight: 300;
font-style: normal;
}

/* Tata Casa font */
.lato-regular {
    font-family: "Lato", serif;
    font-weight: 400;
    font-style: normal;
}
  
html, body {
    height: 100%;
    margin: 0; /* Ensure there's no default margin */
}


* {
    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: 330px;
    height: 60px;
    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;
    }
}

/*-----------------     Image          */
.image-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
}

.text-container {
    width: 35%; /* Takes up the left half */
    background-color: black; /* Black background */
    color: white; /* White text for contrast */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content */
    padding: 40px;
    z-index: 2; /* Ensures it's above the image */
}

.text-container h6 {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.text-container p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.full-screen-image {
    width: 65%; /* Right half */
    height: 100%;
    object-fit: cover;
    position: absolute;
    right: 0;
}

.text-container button {
    background-color: red; /* Red button */
    color: white;
    font-size: 1.2rem;
    padding: 4px 8px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    /* font-weight: bold; */
    transition: 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 32px;
}

.text-container button a {
    color: white;
    text-decoration: none; /* Remove underline */
    display: block;
    width: 100%;
    height: 100%;
}

.text-container button:hover {
    background-color: #760101; /* Darker red on hover */
}   


@media (max-width: 768px) { 
    .image-container {
        flex-direction: row; /* Stack text and image vertically */
        height: auto; /* Let content define height */
        margin-top: 70px;
    }

    .text-container {
        width: 100%; /* Full width for better layout */
        max-height: 100vh; /* Ensures it doesn't take over the whole screen */
        padding: 15px; /* Reduce padding to fit small screens */
        display: flex;
        flex-direction: column;
        justify-content: center; /* Centers text properly */
        text-align: center; /* Keeps text aligned */
    }

    .text-container h6 {
        font-size: 1.5rem; /* Adjust heading size */
    }

    .text-container p {
        font-size: 1rem; /* Adjust paragraph size */
    }

    .full-screen-image {
        position: relative; /* Remove absolute positioning */
        width: 100%; /* Full width */
        height: auto; /* Maintain aspect ratio */
        max-height: 100vh; /* Prevents the image from being too large */
        object-fit: cover; /* Ensures a good fit */
    }

    .text-container button {
        font-size: 1rem; /* Reduce button text size */
        padding: 6px 10px;
        width: 150px; /* Adjust button size */
        height: auto;
    }
}





/* *****************  Contact Form  */
.contact__container {
    /*height: 100vh; */
    background-color: #B0ADAD;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding: 20px;
}

.contact__left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    /* margin-left: 100px; */
    /* max-width: 600px; */
}

.contact_left_title h2{
    font-weight: 600;
    color: #131313;
    font-size: 3rem;
    margin-bottom: 5px;
    font-family: "Lato", serif;
}

 .contact_inputs {
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    color: 500;
    border-radius: 50px;
 }

.contact__left textarea {
    height: 140px;
    /*padding-top: 15px; video */
    padding: 15px 25px;
    /* border-bottom: 20px; */
    border-radius: 20px;
}

.contact_inputs:focus{
    border: 2px solid black;
}

.contact_inputs :placeholder {
    color: #a9a9a9;
}

.contact__left button {
    display: flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 16px;
    color: white;
    background-color: #131313;
    gap: 10px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
}

.contact__left button:hover {
    background-color: red;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .contact__container {
        flex-direction: column; /* Stack the elements vertically */
        align-items: center; /* Center align the content */
        gap: 30px; /* Add spacing between stacked elements */
        padding: 20px; /* Add padding for better alignment on small screens */
    }

    .contact__left {
        margin-left: 0; /* Remove large left margin */
        width: 100%; /* Take full width of the container */
        max-width: 100%; /* Ensure it doesn't exceed the container width */
    }

    .contact_inputs {
        width: 70%; /* Inputs take full width of the container */
    }

    .contact__left textarea {
        width: 70%; /* Textarea takes full width */
    }

    .contact_left_title h2 {
        font-size: 1.8rem; /* Reduce font size for smaller screens */
        text-align: center; /* Center the title text */
    }

    .contact__left button {
        width: 70%; /* Button takes full width for easy tap on mobile */
        justify-content: center; /* Center align text and content inside the button */
    }
}

@media (max-width: 480px) {
    .contact__container {
        gap: 20px; /* Reduce spacing for very small screens */
        padding: 15px;
    }

    .contact_left_title h2 {
        font-size: 1.5rem; /* Further reduce font size */
    }

    .contact_inputs {
        height: 40px; /* Reduce input height */
    }

    .contact__left button {
        font-size: 14px; /* Reduce button font size */
        padding: 12px 20px; /* Adjust button padding */
    }
}


/* ********************       Text Columns    */
.container {
    display: flex;
    justify-content: space-around;
    gap: 40px;
    padding: 20px;
    box-sizing: border-box;
    max-width: 1800px;
    margin: 0 auto;
}
  
  /* Each box style */
.box {
    flex: 1;
    background-color: white; /* Optional background color */
    padding: 50px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
  
  /* Header style with line underneath */
.box h5 {
    margin: 0 0 10px 0;
    padding-bottom: 10px;
    font-size: 2rem;
}

.box h6 {
    margin: 0 0 10px 0;
    color: #b10707;
    padding-bottom: 5px;
    border-bottom: 1px solid #ccc;  /* Line under the h6 */
    font-size: 1.4rem;
}
  
  /* Paragraph style */
.box p {
    margin: 10px 0 0 0;
    font-size: 1.2rem;
    line-height: 1.5;
}

@media (max-width: 800px) {
    .container {
      flex-direction: column;
      gap: 20px; /* Optionally reduce the gap for smaller screens */
    }
}





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

.footer {
    background-color: #131313;
    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: 400px; /* 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;
    }
  }