/* <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;
    }
}

/*-----------------     Video          */
.image-container {
    position: relative;
    width: 100%; /* Full width of the viewport */
    height: 100vh; /* Full height of the viewport */
    overflow: hidden; 
    z-index: 1;
}

.full-screen-image {
    width: 100%; /* Full viewport width */
    height: 100%; /* Full viewport height */
    object-fit: cover; /* Ensures the image fills the container while maintaining aspect ratio */
    position: absolute; /* Positions the image relative to its container */
    top: 0;
    left: 0;
}

.image-text {
    position: absolute;
    top: 80%;
    left: 10%; /* Adjust as needed for positioning */
    transform: translateY(-50%);
    color: white; /* Text color */
    font-size: 3rem; /* Adjust size as needed */
    font-family: Arial, sans-serif;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5); /* Optional: Adds readability */
}


@media (max-width: 768px) {
    .image-container {
        height: 70vh; /* Keep full screen height */
    }

    .full-screen-image {
        height: 100vh; /* Ensure full viewport height */
        object-fit: cover; /* Prevent distortion */
    }

    .image-text {
        position: absolute; /* Ensure text overlays the image */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /* Perfect centering */
        font-size: 2rem; /* Reduce font size for smaller screens */
        width: 80%; /* Ensure text doesn't overflow */
        text-align: center;
    }
}

@media (max-width: 480px) {
    .image-text {
        font-size: 1.5rem; /* Further reduce text size for very small screens */
        width: 90%; /* Keep text readable */
    }
}

/*-----------------     About Us Text          */
.about-us-text {
    /* position: absolute; */
    width: 100%; /* Full width of the viewport */
    max-width: 1600px;
    margin: 0 auto;
    justify-content: center;
    padding: 50px 35px;
    /* margin-top: 50px;
    margin-bottom: 50px; */
}

.about-us-text h6 {
    color: black; /* Text color */
    font-size: 2.5rem; /* Adjust size as needed */
    font-family: Arial, sans-serif;
    margin-bottom: 30px;
    text-align: center;
}

.about-us-text p {
    color: black; /* Text color */
    font-size: 1.2rem; /* Adjust size as needed */
    font-family: Arial, sans-serif;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .about-us-text {
        padding: 40px 20px; /* Reduce padding for better spacing */
        text-align: center; /* Ensure text stays centered */
    }

    .about-us-text h6 {
        font-size: 2rem; /* Reduce heading size for smaller screens */
        margin-bottom: 20px; /* Adjust spacing */
    }

    .about-us-text p {
        font-size: 1rem; /* Reduce paragraph text size */
        line-height: 1.5; /* Improve readability */
    }
}

@media (max-width: 480px) {
    .about-us-text {
        padding: 30px 15px; /* Further reduce padding */
    }

    .about-us-text h6 {
        font-size: 1.8rem; /* Adjust heading size for small screens */
    }

    .about-us-text p {
        font-size: 0.95rem; /* Adjust paragraph text size */
    }
}


/* ********************       Wooden Doors Columns       */
.columns {
    display: flex; /* Flexbox layout for the container */
    flex-wrap: wrap;
    justify-content: space-evenly; /* Ensure even spacing between columns */
    align-items: stretch; /* Stretch columns to the same height */
    gap: 10px; /* Spacing between the columns */
    width: 100%; /* Ensure the container spans the entire viewport width */
    margin: 0 auto;
    padding: 20px; /* Remove any default padding */
    box-sizing: border-box; /* Include padding and borders in width calculations */

}

.col__container {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row; /* Keep columns aligned in a row */
    max-width: 100%;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

.first_column, .sec_column, .thd_column {
    flex: 1 1 calc(33.33% - 40px);
    max-width: calc(33.33% - 15px);
    text-align: center; /* Center-align text */
    padding: 20px; /* Add spacing inside the columns */
    background-color: white; /* Optional: Background color for columns */
    box-sizing: border-box; /* Ensure padding is included in width */
    justify-content: center;
}

.first_column img, .sec_column img, .thd_column img {
    display: block; 
    margin: 0 auto ;  /* 0 top, auto left/right to center, 15px bottom */
    width: 400px; 
    height: 400px; 
    object-fit: cover;
}

#first__img,  #sec__img, #thd__img {
    display: block;
    margin: 0 auto;
    width: 400px;
    height: 400px;
    object-fit: cover;
} 

h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #333; /* Set text color */
}


@media (max-width: 768px) {
    .columns {
        flex-direction: column; /* Stack columns vertically */
        gap: 20px; /* Remove spacing between stacked columns */
        justify-content: center;
    }

    .col__container {
        flex-wrap: nowrap; /* Allow wrapping */
        flex-direction: column; /* Columns stack on top of each other */
        gap: 20px; /* Space between stacked items */
    }

    .first_column, .sec_column, .thd_column {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%; /* Full width for stacked columns */
        max-width: 100%; /* Ensure no width restrictions */
        margin: 0 auto;
    }

    #first__img,  #sec__img, #thd__img {
        justify-content: center;
        width: 100%;
        max-width: 400px;
        display: block;
        margin: 0 auto;
    } 
}

/* ********************       Why Us text    */
.whyus {
    text-align: center;
    font-size: 2.4rem;

}

@media (max-width: 768px) {
    .whyus {
      font-size: 2rem;
    }
  }
  
  @media (max-width: 480px) {
    .whyus {
      font-size: 1.8rem;
    }
  }


/* ********************       Facts about the company    */
.container {
    display: flex;
    justify-content: space-around;
    gap: 40px;
    padding: 20px;
    box-sizing: border-box;
    max-width: 1400px;
    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 {
    color: white;
    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;
    }
  }