/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #333;
    padding: 20px;
    margin: 20px;
    border: 1px solid #ccc;
    transition: background-color 0.5s ease;
}

/* Header Styles */
header {
    text-align: center;
    padding: 20px 0;
    /*background-image: url('images/kb.jpg');*/
    background-size: cover;
    background-position: center;
    color: #ffffff;
    position: relative;
}

header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

header h1 {
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
    font-size: 36px;
    background-color: rgba(0, 0, 0, 0.5);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Navigation Bar */
nav {
    display: flex;
    justify-content: center;
    padding: 1rem;
    margin-bottom: 20px;
    background-color: #007bff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav a:hover {
    background-color: #555;
    color: #ff4d07;
    transform: scale(1.1);
}

/* Main Content */
.content {
    text-align: center;
    margin-bottom: 20px;
    animation: fadeIn 1s ease-out;
    padding: 20px;
    background-color: #f1f1f1;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.content h2 {
    margin-bottom: 10px;
    font-size: 28px;
    color: #007bff;
    text-transform: uppercase;
}

.content p {
    margin-bottom: 20px;
    font-size: 18px;
}

/* Product Section */
.products {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product {
    margin-bottom: 20px;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 10px;
    text-align: left;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.product h3 {
    margin-bottom: 10px;
    font-size: 24px;
}

.product p {
    margin-bottom: 10px;
}


/* Home Section with Background Change Animation */
#home {
    background-image: url('images/product1.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
    animation: backgroundChange 5s infinite alternate;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

@keyframes backgroundChange {
    0% { background-image: url('images/product1.jpg'); }
    50% { background-image: url('images/product2.jpg'); }
    100% { background-image: url('images/blocks.jpg'); }
}

/* Contact Section */
.contact {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.contact .contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.contact .contact-info .contact-item {
    text-align: center;
    margin: 0 10px;
}

.contact .contact-info .contact-item a {
    display: block;
    margin-bottom: 5px;
}

.contact .contact-info .contact-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.contact .contact-info .contact-item:hover img {
    transform: scale(1.2);
}

.contact .contact-info .contact-item p {
    margin-top: 5px;
    color: #333;
}

/* Footer */
footer {
    text-align: center;
    padding: 10px 0;
    background-color: #333;
    color: #fff;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}



/* Slider Styles */
.slider {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 20px;
    color: #fff;
    font-size: 24px;
}

.slide:nth-child(1) {
    background-color: #3498db;
}

.slide:nth-child(2) {
    background-color: #e74c3c;
}

.slide:nth-child(3) {
    background-color: #2ecc71;
}

.slider-button {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 2;
    transition: background-color 0.3s ease;
}

.slider-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.slider-button.prev {
    left: 10px;
}

.slider-button.next {
    right: 10px;
}



/* Accessibility Enhancements */
nav a:focus {
    outline: 2px solid #ffc107;
    background-color: #555;
}

button:focus,
.btn:focus {
    outline: 2px solid #218838;
    background-color: #1e7e34;
}

/* Additional Animations for Interactivity */
nav a {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s;
}


/* Enhanced Product Grid Layout */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.product {
    margin-bottom: 0;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Image Slider Animation */
.slider-button:focus {
    outline: 2px solid #fff;
    background-color: rgba(0, 0, 0, 0.7);
}

/* Footer Enhancements */
footer a {
    color: #ffc107;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}


/* Background and Styling */
body {
    background: linear-gradient(135deg, rgb(0, 186, 238), rgb(0, 238, 171)); /* Gradient Background */
    font-family: 'Arial', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}

header {
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    margin-bottom: 20px;
}

.logo {
    height: 100px;
    margin-bottom: 10px;
}

nav {
    text-align: center;
    margin-bottom: 20px;
}

nav a {
    margin: 10px;
    color: #333333;
    text-decoration: none;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav a:hover {
    background-color: #f8fafa; /* Bootstrap Light Grey */
}

.content {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    margin-bottom: 20px;
    border-radius: 10px;
}





footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
    position: fixed;
    width: 100%;
    bottom: 0;
}

