/* Basic Reset */
* {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }
 
 body {
     font-family: 'Arial', sans-serif;
     line-height: 1.6;
     background-color: #4a4848;
     color: #333;
 }
 
 header {
     background: #117890; /* Orange */
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 1rem 5%;
 }
 
 .logo img {
     width: 180px; /* 10% of the ribbon's width */
     height: auto;
 }
 
 nav ul {
     list-style: none;
     display: flex;
     gap: 2rem;
 }
 
 nav ul li {
     font-size: 1.2rem;
 }
 
 nav ul li a {
     color: rgb(255, 255, 255);
     text-decoration: none;
 }
 
 /* Hero Section with Animated Background */
 .hero {
     position: relative;
     height: 90vh;
     display: flex;
     justify-content: center;
     align-items: center;
     text-align: center;
     color: white;
     text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
     overflow: hidden;
     flex-direction: column;
 }
 
 .hero-content h1 {
     font-size: 3rem;
 }
 
 .hero-content h2 {
     font-size: 2rem;
     margin-top: 0.5rem;
 }
 
 /* Background Animation with new color scheme */
 .hero::before {
     content: "";
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(135deg, #FF4500, #00FFFF, #1E90FF, #FF6347); /* Orange, Aqua, Blue, Red */
     background-size: 400% 400%;
     animation: gradientAnimation 15s ease infinite;
     z-index: -1;
     opacity: 0.85;
 }
 
 /* Animated Pattern with Circles */
 .hero::after {
     content: "";
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     /* background: radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.2) 10%, transparent 10.5%),
                 radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 10%, transparent 10.5%),
                 radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 10%, transparent 10.5%),
                 radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.2) 10%, transparent 10.5%),
                 radial-gradient(circle at 90% 90%, rgba(255, 255, 255, 0.2) 10%, transparent 10.5%); */
     background-size: 50px 50px;
     animation: patternAnimation 25s linear infinite;
     z-index: -2;
     opacity: 0.5;
 }


.social-button-section {
    margin-top: 20px;
}

#fb_btn {
    display: inline-flex;
    align-items: center;
    background-color: #3b5998;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#fb_btn img {
    margin-right: 10px;
}

#fb_btn:hover {
    background-color: #2d4373;
}
 
 @keyframes gradientAnimation {
     0% { background-position: 0% 50%; }
     50% { background-position: 100% 50%; }
     100% { background-position: 0% 50%; }
 }
 
 @keyframes patternAnimation {
     0% { transform: translateX(0) translateY(0); }
     50% { transform: translateX(50px) translateY(50px); }
     100% { transform: translateX(0) translateY(0); }
 }
 
 .about {
     padding: 2rem;
     background-color: #fff;
     /* text-align: center; */
 }
 
 .about h2 {
     text-align: center;
     margin-bottom: 1.5rem;
     color: #1E90FF; /* Blue */
 }
 
 .about p {
     max-width: 800px;
     margin: 0 auto;
     text-align: center;
     color: #000000; /* Black */
 }
 
 .services {
     background-color: #f4f4f4;
     padding: 2rem;
 }
 
 .services h2 {
     text-align: center;
     margin-bottom: 1.5rem;
     color: #1E90FF; /* Orange */
 }
 
 .services .service-item {
     display: flex;
     justify-content: space-around;
     flex-wrap: wrap;
     gap: 1.5rem;
 }
 
 .services .service-item div {
     background: white;
     padding: 1.5rem;
     flex: 1 1 300px;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     text-align: center;
     transition: transform 0.3s ease-in-out;
     border-top: 3px solid #00FFFF; /* Aqua */
 }
 
 .services .service-item div:hover {
     transform: scale(1.05);
     border-color: #ffda0a; /* Orange on hover */
 }
 
 .footer {
     background: #490101; /* Red */
     color: white;
     text-align: center;
     padding: 1rem;
     position: fixed;
     width: 100%;
     bottom: 0;
 }
 
 /* Facebook Posts Section */
.facebook-posts {
     padding: 2rem;
     background-color: #fbe4e4;
     text-align: center;
 }
 
 .facebook-posts h2 {
     margin-bottom: 1.5rem;
     color: #1E90FF; /* Blue */
 }
 
 .fb-post-container {
     display: flex;
     justify-content: space-around;
     gap: 1.5rem;
     flex-wrap: wrap;
 }
 
 .fb-post {
     flex: 1 1 30%;
     max-width: 350px;
 }
 
 /* Responsive for Mobile - Facebook Posts Slider */
 @media (max-width: 768px) {
     .fb-post-container {
         flex-direction: column;
         gap: 1rem;
     }
 
     .fb-post {
         max-width: 100%;
     }
 }
 


/* Contact Section */
.contact {
     padding: 2rem;
     background-color: #fff;
 }
 
 .contact h2 {
     text-align: center;
     margin-bottom: 1.5rem;
     color: #1E90FF; /* Blue */
 }
 
 .contact form {
     max-width: 600px;
     margin: 0 auto;
     display: flex;
     flex-direction: column;
     gap: 1rem;
 }
 
 .contact label {
     font-size: 1.1rem;
     color: #FF4500; /* Orange */
 }
 
 .contact input,
 .contact textarea {
     padding: 0.75rem;
     border: 1px solid #ddd;
     border-radius: 5px;
     font-size: 1rem;
 }
 
 /* Product Grid Section */
.product-grid {
    padding: 2rem;
    background-color: #fff;
    text-align: center;
}

.product-grid h2 {
    color: #1E90FF; /* Blue */
    margin-bottom: 1.5rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    justify-content: center;
    justify-items: center;
}

.product-card {
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-card h3 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

.product-card p {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: #333;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
    }
}


/* Modal for Enlarged Image */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Black background with transparency */
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Close the modal when clicking outside */
.modal:target {
    display: block;
}

/* Modal styling */
#image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
}

#modal-image {
    max-width: 90%;
    max-height: 90%; /* Ensures the image never exceeds 90% of screen height */
}

#contact-info {
    padding: 20px;
    margin-top: 30px;
    /* border-top: 2px solid #ddd; */
    font-family: Arial, sans-serif;
    text-align: left;
}

#contact-info h2 {
    font-size: 24px;
    color: #ddd;
    margin-bottom: 10px;
}

#contact-info p {
    margin: 5px 0;
    color: #ddd;
    font-size: 16px;
}

#contact-info a {
    color:  #5eaee7;;
    text-decoration: none;
}

#contact-info a:hover {
    text-decoration: underline;
}
