/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Body Styling */
body {
    line-height: 1.6;
    color: #333;
}

/* Header Section */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
}

.logo img {
    height: 50px; /* Adjust to your logo size */
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #f4b400; /* Yellow color on hover */
}

/* Main Hero Section */

/* Main Hero Section */

.hero {
    position: relative;
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff; /* Text color */
    overflow: hidden; /* Ensures no overflow from pseudo-element */
}

.hero::before {
    content: "";
    background: url('cc.avif') no-repeat center center/cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(8px); /* Apply blur only to the pseudo-element */
    -webkit-filter: blur(8px);
    z-index: -1; /* Place the blurred background behind the text */
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
    z-index: 1; /* Ensure text stays on top */
}

.hero p {
    font-size: 20px;
    margin-bottom: 20px;
    z-index: 1; /* Ensure text stays on top */
}


.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f4b400;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #e09e00;
}

/* Footer Section */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Header Section */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
}

.logo img {
    height: 50px; /* Adjust to your logo size */
}

nav ul {
    list-style-type: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

nav ul li a.active {
    color: #f4b400; /* Highlight active page */
    font-weight: bold;
}

nav ul li a:hover {
    color: #f4b400; /* Yellow color on hover */
}

/* About Section Styling */
.about-section {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    text-align: justify;
    

    line-height: 1.8;
}

.about-section h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 36px;
}

.about-section h2 {
    margin-top: 20px;
    color: #444;
    font-size: 24px;
}

.about-section p {
    margin-bottom: 15px;
    
    color: #555;
    font-size: 21px;
}

.about-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.about-section ul li {
    margin-bottom: 10px;
    font-size: 16px;
    color: #666;
}

/* Footer Section */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}
/* Highlight the active navigation link */
nav ul li a.active {
    color: #f4b400; /* Highlight color for the active page */
    font-weight: bold;
}

/* Products Section Styling */
.products-section {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    text-align: justify;
    line-height: 1.8;
    
}

.products-section h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 36px;
}

.product-category {
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.product-category:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product-category h2 {
    color: #444;
    font-size: 24px;
    margin-bottom: 10px;
}

.product-category p {
    color: #666;
    font-size: 16px;
}

/* Highlight active navigation link */
nav ul li a.active {
    color: #f4b400; /* Highlight color */
    font-weight: bold;
}

/* Material Section Styling */
.material-section {
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
    line-height: 1.6;
}

.material-section h1 {
    color: #333;
    font-size: 36px;
    margin-bottom: 20px;
}

.material-section p {
    color: #666;
    font-size: 18px;
    margin-bottom: 30px;
}

/* Material Table Styling */
.material-table {
    
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.material-table thead {
    background-color: #f4b400;
    color: #fff;
}

.material-table th, .material-table td {
    
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
}

.material-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.material-table tbody tr:hover {
    background-color: #f0f0f0;
}


/* Highlight active navigation link */
nav ul li a.active {
    color: #f4b400;
    font-weight: bold;
}

/* Gallery Section Styling */
.gallery-section {
    text-align: center;
    margin: 50px auto;
    padding: 20px;
    max-width: 1200px;
}

.gallery-section h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
}

.gallery-section p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 0 auto;
    padding: 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item:hover {
    transform: scale(1.05);
    cursor: pointer;
}


/* Highlight active navigation link */
nav ul li a.active {
    color: #f4b400;
    font-weight: bold;
}

/* Contact Section Styling */
.contact-section {
    text-align: center;
    margin: 50px auto;
    padding: 20px;
    max-width: 800px;
}

.contact-section h1 {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
}

.contact-section p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

/* Contact Form Styling */
.contact-form {
    margin: 30px auto;
    text-align: left;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 15px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    background-color: #f4b400;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #e09e00;
}

/* Contact Info Styling */
.contact-info {
    margin-top: 30px;
    font-size: 18px;
    color: #444;
    line-height: 1.8;
}

.contact-info a {
    color: #f4b400;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Map Container Styling */
.map-container {
    margin: 30px auto;
    text-align: center;
}

.map-container iframe {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/*About Page Image Section */
.image-container {
    position: relative; /* To allow positioning of text over image */
    width: 100%;
}

.image-container .background-image {
    width: 100%; /* Make image fill the container */
    height: 400px; /* Set a fixed height for the image */
    object-fit: cover; /* Ensure the image covers the area */
    display: block;
}

.image-container .overlay-text {
    position: absolute; /* Place text on top of the image */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for perfect centering */
    color: rgb(255, 255, 255); /* Text color */
    font-size: 3rem; /* Text size */
    font-weight: bold; /* Make text bold */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9); /* Add shadow for better visibility */
    text-align: center;
    margin: 0;
}

/* Products Page Styling */
/* Background Styling for the Products Page Only */
.products-page {
    background: url('cc.avif') no-repeat center center fixed;
    background-size: cover; /* Ensures the image covers the viewport */
    margin: 0; /* Removes default margins */
    font-family: Arial, sans-serif; /* Consistent font */
}

/* Ensures text and cards are still readable */
.products-page header, 
.products-page footer, 
.products-page h1, 
.products-page h2, 
.products-page p, 
.products-page a {
    color: #fff; /* Text color to contrast with background */
}

.products-page .product-card {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white background */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}


/* General Section Styling */
.products-intro {
 
    text-align: center;
    margin: 30px 0;
}

.products-intro h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.products-intro p {
    font-size: 1.1rem;
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto;
}

/* Product Section Styling */
.product-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto;
    padding: 20px;
    
}

.product-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 80%;
    max-width: 1000px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
}


.product-card img {
    width: 40%; /* Image takes 40% of the card */
    height: auto;
    object-fit: cover;
}

.product-info {
    padding: 20px;
    width: 60%; /* Info takes 60% of the card */
}

.product-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.product-info p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.product-link {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: white;
    background-color: #007bff;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.product-link:hover {
    
   background-color: #0056b3;
}

/* Bright Bars Page Styling */

/* Header Section */
.bright-bar-header {
    text-align: center;
    margin: 30px 0;
}

.bright-bar-header h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.bright-bar-header p {
    font-size: 1.1rem;
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto;
}

/* Bar Sections */
.bar-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px auto;
    padding: 20px;
}

.bar-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 80%;
    max-width: 1000px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    margin-bottom: 20px;
}

.bar-card img {
    width: 40%; /* Image takes 40% of the card */
    height: auto;
    object-fit: cover;
}

.bar-info {
    padding: 20px;
    width: 60%; /* Info takes 60% of the card */
}

.bar-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.bar-info p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

.bar-info strong {
    color: #007bff;
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Header Styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 10px 20px;
}

header .logo img {
    height: 50px;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #f7b731;
}

/* Page Header Section */
.page-header {
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 40px 0;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
}

/* Material Grades Section */
.material-page {
    background: url('cc.avif') no-repeat center center fixed;
    background-size: cover; /* Ensures the image covers the viewport */
    margin: 0; /* Removes default margins */
    font-family: Arial, sans-serif; /* Consistent font */
}

/* Ensures text and cards are still readable */
.material-page header, 
.material-page footer, 
.material-page h1, 
.material-page h2, 
.material-page p, 
.material-page a {
    color: #fff; /* Text color to contrast with background */
}

.material-page {
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white background */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.material-grades {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.grade-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    transition: transform 0.3s, box-shadow 0.3s;
}

.grade-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 20px;
}

.bb-page {
    background: url('cc.avif') no-repeat center center fixed;
    background-size: cover; /* Ensures the image covers the viewport */
    margin: 0; /* Removes default margins */
    font-family: Arial, sans-serif; /* Consistent font */
}