:root {
    --primary-color: #2aa1cc;
    --secondary-color: #f2b632;
    --dark-color: #212121;
    --light-color: #f4f4f4;
}   
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 50px; /* Adjust based on your preferred size */
    width: auto;
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    .logo-img {
        max-height: 50px;
    }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

header {
    background-color: var(--primary-color);
    color: rgb(255, 255, 255);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo {
    display: flex;
    align-items: center;
}


.logo h1 {
    font-size: 1.5rem;
    margin-left: 0.5rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: rgb(252, 252, 252);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

.hero {
 background: url('images/newbg.png') no-repeat center top;
 background-size: cover;
 background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 250px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 2rem;
}

.btn {
    
    display: inline-block;
    background: var(--secondary-color);
    color: var(--dark-color);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.btn:hover {
    opacity: 0.9;
}

.section-title {
    text-align: center;
    margin: 2rem 0;
    color: var(--primary-color);
}

.products {
    padding: 4rem 0;
}

.product-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.category-btn {
    background: var(--light-color);
    color: var(--dark-color);
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;   
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn.active,
.category-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Product Slider Styles */
.product-slider {
    width: 100%;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: 450px;
    display: flex;
    flex-direction: column;
    margin: 0 10px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Modified image styling */
.product-img {
    height: 200px;
    width: 100%;
    object-fit: contain; /* Changed from cover to contain */
    background-color: white;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    margin-bottom: 0.5rem;
}

.product-info p {
    color: #666;
    margin-bottom: 1rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* Limits text to 5 lines */
    line-clamp: 5; /* Standard property */
    -webkit-box-orient: vertical;
}


.btn-container {
    margin-top: auto;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: white;
}

/* Slick slider custom styles */
.slick-prev, 
.slick-next {
    z-index: 10;
}

.slick-prev {
    left: -25px;
}

.slick-next {
    right: -25px;
}

.slick-prev:before,
.slick-next:before {
    color: var(--primary-color);
    font-size: 24px;
}

.slick-dots li button:before {
    color: var(--primary-color);
}

.slick-dots li.slick-active button:before {
    color: var(--secondary-color);
}

.about {
    padding: 4rem 0;
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.about-img {
    flex: 1;
}

.about-img img {
    width: 100%;
    border-radius: 5px;
}

.about-text {
    flex: 1;
}

.contact {
    padding: 4rem 0;
    background-color: var(--light-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-group textarea {
    height: 150px;
}

footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.copyright {
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 700px;
    border-radius: 5px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.modal-image {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    nav {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .slick-prev {
        left: -15px;
    }
    
    .slick-next {
        right: -15px;
    }
}
.slideshow-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}
/* Make the about-content a flex container */
.about-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Set width for the image section */
.about-img {
    flex: 0 0 40%;
    max-width: 40%;
}

/* Set width for the text section */
.about-text {
    flex: 0 0 60%;
    max-width: 60%;
}

/* Content section container */
.content-container {
    display: flex;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 30px; /* Creates space between image and text */
}

/* Style the logo slideshow */
.logo-slideshow {
    position: relative;
    height: 500px;
    width: 500px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    flex-shrink: 0; /* Prevents the slideshow from shrinking */
}

.logo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: none;
}

.logo-slide.active {
    opacity: 1;
    display: block;
}

.logo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Style text container */
.text-content {
    flex: 1;
    line-height: 1.6; /* Improves readability */
}

/* Make it responsive */
@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
    }
    
    .logo-slideshow {
        margin-bottom: 20px;
        width: 100%;
        max-width: 300px;
    }
}
.text-content h1 {
    text-align: justify;
}
.text-content {
    display: flex;
    flex-direction: column;
    justify-content: Justify;
    align-items: justify;
    text-align: justify;
    height: 100vh; /* Adjust based on your layout */
}
.text-content h1 {
    background-color: #153A6F; /* Dark blue background */
    color: white; /* White text */
    padding: 10px 100px; /* Add some padding */
    text-align: center; /* Center align text */
    display: inline-block; /* Prevent full-width background */
    font-weight: bold; /* Make text bold */
}
.product-info .btn {
    transition-property: transform, background-color, color, box-shadow !important;
    transition-duration: 0.6s !important;
    transition-timing-function: ease !important;
}

.product-info .btn:hover {
    transform: scale(1.1) !important;
    background-color: #ff6600 !important;
    color: white !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}