/* General navigation styling */
nav {
    background-color: #123456;
    padding: 10px 0;
}

.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.menu li {
    position: relative; /* Needed for dropdown positioning */
}

.menu a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    font-weight: normal;
    transition: background-color 0.3s, text-shadow 0.3s;
}

.menu a:hover {
    background-color: #123456;
    border-radius: 5px;
    text-shadow: 0 0 8px #ffd700, 0 0 16px #ffd700, 0 0 24px #ffd700; /* Add glowing effect */
}

/* Dropdown content styling */
.dropdown-content {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Position below the parent menu */
    left: 0;
    background-color: #123456;
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-content li a {
    padding: 10px 20px;
    color: white;
    text-align: left;
}

.dropdown-content li a:hover {
    background-color: #666;
}

/* Show the dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}


/* Header and Navigation */
header {
    background-color: hsl(0, 0%, 100%); /* Replace with the dominant color of hero.jpg */
    color: #fff;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 5px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* Hero Section */
#hero {
    text-align: center;
    padding: 40px 20px;
    background-color: hsl(0, 0%, 100%); /* Dominant color */
}

.hero-image {
    max-width: 60%;
    height: auto;
    margin: 20px auto;
    border-radius: 5px;
    
}

/* Styling for the Banner Image */
.hero-image {
    max-width: 60%; /* Adjust the percentage to control the size */
    height: auto; /* Maintain aspect ratio */
    margin: 20px auto; /* Adds space around the image */
    border-radius: 5px; /* Optional: Rounds the corners */
   
}


/* Services Section */
#services {
    text-align: justify;
    padding: 40px 20px;
    background-color: #f9f9f9; /* Light background to contrast the hero section */
    color: #333; /* Dark text for contrast */
}

#services h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.service-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2em;
    line-height: 1.6;
}

/* Footer Styling */
footer {
    background-color: #123456;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
}

footer .opening-times {
    margin-top: 20px;
}

footer h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

footer a {
    color: #ffd700; /* Highlight color for links */
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}


/* About Us Section */
#about {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

#about h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.about-image {
    max-width: 100%; /* Make the image responsive */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-content p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #555;
    margin: 0 20px;
    text-align: justify;
}
/* Services Section */
#services {
    display: flex;
    flex-direction: column;
    justify-content: center;  /* Vertically centers content */
    align-items: center;      /* Horizontally centers content */
    padding: 40px 20px;
    background-color: #f9f9f9;
    min-height: 100vh;        /* Ensures the content is centered even if there's not enough content */
}

#services h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.service-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

.service-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-video {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Lost Wax Casting Section */
#casting {
    text-align: justify;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

#casting h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.casting-content {
    max-width: 900px;
    margin: 0 auto;
    color: #555;
}

.casting-content p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Image Gallery for Lost Wax Casting */
.casting-images {
    display: flex;
    justify-content: justify;
    gap: 40px; /* Increase gap to accommodate larger images */
    margin-bottom: 20px;
}

.casting-image {
    width: 300px;  /* Increased image size */
    height: 300px; /* Increased image size */
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* Video Adjustment */
.casting-video {
    width: 50%;  /* Make video smaller */
    max-width: 500px;  /* Limit maximum width */
    height: 500px;
    margin: 0 auto;  /* Center the video */
    display: block;  /* Ensures it behaves like a block element */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Moulding Page Section */
#moulding {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

#moulding h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.moulding-content {
    max-width: 900px;
    margin: 0 auto;
    color: #555;
}

.moulding-content p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.mould-section {
    margin-bottom: 40px;
}

.mould-section h2 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #333;
}

.mould-image {
    width: 200px;  /* Set a fixed width */
    height: 200px; /* Set a fixed height to ensure uniform size */
    object-fit: cover; /* Ensures the image maintains aspect ratio without distortion */
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* 3D Printing Page Section */
#3d-printing {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

#3d-printing h1 {
    
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}
.printing-content h1 {
    font-size: 2.5em;
    line-height: 1.6;
    margin-bottom: 20px;
}
.printing-content {
    max-width: 900px;
    margin: 0 auto;
    color: #555;
}

.printing-content p {
    font-size: 2.5em;
    line-height: 1.6;
    margin-bottom: 20px;
}
.printing-content {
    text-align: center;
    padding: 40px 20px;
    /* background-color: #f9f9f9; */
}

/* Image Gallery for 3D Printing */
.printing-images {
    img {
        height: auto; 
        max-width: 100%;
        } 
   
        img{
            object-fit: scale-down;
            }
    display: block;
    flex-wrap: nowrap; /* Allow images to wrap to the next line if needed */
    justify-content: center; /* Center-align the images */
    gap: 20px; /* Space between images */
    margin-bottom: auto 20px;
    
}

.printing-image {
    width: 500px; /* Set a fixed width */
    height: 500px; /* Set a fixed height */
    object-fit: none; /*Ensure images maintain their aspect ratio while filling the container*/
    border-radius: 10px; /* Optional: Rounds the corners */
    box-shadow: 0 4px 8px #ffffff; /* Optional: Add a subtle shadow */
}


.printing-image-single {
    margin-top: 0 auto;
}

.printing-image-single img {
    width: 500px;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 8px #ffffff;
}

/* Footer Logo */
.footer-logo {
    text-align: center;
    margin-top: 40px;
}

.footer-logo img {
    width: 150px;  /* Adjust logo size */
    height: auto;
}
/* Contact Page Section */
#contact {
    text-align: justify;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

#contact h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.contact-info {
    max-width: 900px;
    margin: 0 auto;
    color: #555;
}

/* Contact Information Section */
.contact-details {
    margin-bottom: 40px;
}

.contact-details h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 20px;
}

.contact-details p {
    font-size: 1.2em;
    margin: 10px 0;
}

.contact-details a {
    color: #007bff;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Contact Form Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 1.2em;
    margin-bottom: 8px;
    display: block;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
}

.form-group textarea {
    resize: vertical;
    height: 150px;
}

.submit-btn {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #0056b3;
}
/* Price Estimator Page */
#price {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.price-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 1.2em;
    margin-bottom: 8px;
    display: block;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box; /* Ensure padding doesn't add to the width */
}

.submit-btn {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    cursor: pointer;
    width: 100%; /* Optional: Make button full width */
}

.submit-btn:hover {
    background-color: #0056b3;
}

#file-name {
    margin-top: 15px;
    font-size: 1.2em;
    color: #333;
}

#stl-viewer {
    width: 100%;
    height: 400px;
    margin-top: 20px;
    border: 1px solid #ddd;
    box-sizing: border-box; /* Ensure padding doesn't add to the width */
}
/* Terms and Conditions Section */
#terms {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

#terms h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.terms-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    color: #555;
    line-height: 1.6;
}

.terms-content h2 {
    font-size: 1.8em;
    margin-top: 20px;
    color: #444;
}

.pdf-download {
    margin-top: 30px;
    text-align: center;
}

.pdf-download h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #007bff;
}

.pdf-download ul {
    list-style: none;
    padding: 0;
}

.pdf-download ul li {
    margin-bottom: 10px;
}

.pdf-download ul li a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.pdf-download ul li a:hover {
    text-decoration: underline;
}
.logo-video {
    width: 200px; /* Set the desired width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensure block layout for proper alignment */
    margin: 10px auto; /* Center the video if needed */
}.hero-video {
    width: 40%; /* Match the width of the hero image */
    max-width: 40%; /* Ensure it doesn’t exceed the container width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensure proper layout */
    margin: 0 auto; /* Center within the container */
    object-fit: cover; /* Ensure the video fills the container proportionally */
}
/* Basic Reset */
body, h1, h2, h3, p, ul, li, a {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

/* Fonts and Colors */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #0051a2;
    color: #fff;
}

.main-header .logo h1 {
    font-size: 24px;
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    color: #fff;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background: url('hero-image.jpg') no-repeat center center/cover;
    text-align: center;
    color: #fff;
    padding: 100px 20px;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

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

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background: #ff5c5c;
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
}

/* Services Section */
.services-section {
    padding: 50px 20px;
    background: #fff;
}

.service {
    margin-bottom: 20px;
}

.service h3 {
    color: #0051a2;
}

/* About Section */
.about-section {
    padding: 50px 20px;
    text-align: center;
}

/* Contact Section */
.contact-section {
    padding: 50px 20px;
    text-align: center;
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: #fff;
}
.christmas-message {
    font-family: 'Brush Script MT', cursive;
    font-size: 2.5em;
    color: #D32F2F;
    text-align: center;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
    animation: glowing 1.5s ease-in-out infinite alternate;
  }
  
  @keyframes glowing {
    0% { text-shadow: 0 0 5px #FF0000, 0 0 10px #FF0000, 0 0 15px #FF0000; }
    100% { text-shadow: 0 0 10px #FF8C00, 0 0 20px #FF8C00, 0 0 30px #FF8C00; }
  }
  /* Body Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
}

/* Section Styling */
#3d-printing {
    position: relative;
    background: linear-gradient(135deg, #d1d9ff, #ffffff);
    overflow: hidden;
    padding: 40px;
}

/* Live Animation Background */
#3d-printing::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.1) 5%,
        rgba(255, 255, 255, 0) 5%,
        rgba(255, 255, 255, 0) 10%
    );
    animation: printEffect 4s linear infinite;
    z-index: -1;
}

/* Animation Keyframes */
@keyframes printEffect {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 100%;
    }
}

/* Additional Content Styling */
.printing-content {
    position: relative;
    z-index: 1;
}

.printing-image {
    max-width: 500px;
    max-width: 500px;
    display: inline;
    margin: 0 auto ;
}
/* Base Navigation Styles */
nav {
    background-color: #123456; /* Change to your desired color */
    padding: 10px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box; /* Prevent overflow from padding */
}

.menu {
    list-style: none;
    margin: 0 auto; /* Center the menu */
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px; /* Spacing between menu items */
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.menu a {
    text-decoration: none;
    color: #ffffff; /* Change to your desired color */
    padding: 10px 15px;
    border-radius: 5px; /* Optional for rounded buttons */
    /* background-color: #345678; Optional button background */
    transition: background-color 0.3s ease;
}

.menu a:hover {
    /* background-color: #56789a; Hover effect color */
}

/* Responsive Adjustments for Mobile Browsers */
@media screen and (max-width: 768px) {
    .menu {
        flex-direction: column; /* Stack menu items vertically */
        align-items: center;    /* Center the menu items */
        gap: 10px;              /* Adjust gap for vertical layout */
    }

    .menu a {
        width: 100%;            /* Make links span full width */
        text-align: center;     /* Center-align text inside links */
        padding: 15px;          /* Increase padding for better touch support */
    }
}



/* Header and Navigation */
header {
    background-color: hsl(0, 0%, 100%); /* Replace with the dominant color of hero.jpg */
    color: #fff;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* Hero Section */
#hero {
    text-align: center;
    padding: 40px 20px;
    background-color: hsl(0, 0%, 100%); /* Dominant color */
}

.hero-image {
    max-width: 60%;
    height: auto;
    margin: 20px auto;
    border-radius: 5px;
}

/* Styling for the Banner Image */
.hero-image {
    max-width: 60%; /* Adjust the percentage to control the size */
    height: auto; /* Maintain aspect ratio */
    margin: 20px auto; /* Adds space around the image */
    border-radius: 5px; /* Optional: Rounds the corners */
   
}


/* Services Section */
#services {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9; /* Light background to contrast the hero section */
    color: #333; /* Dark text for contrast */
}

#services h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.service-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2em;
    line-height: 1.6;
}

/* Footer Styling */
footer {
    background-color: #123456;
    color: #fff;
    padding: 10px 0; /* Reduced padding */
    text-align: center;
    font-size: 12px; /* Reduced font size */
    line-height: 1.4; /* Slightly tighter line spacing */
}

footer a {
    color: #ffd700; /* Highlight color for links */
    text-decoration: none;
    font-weight: bold;
    font-size: 13px; /* Reduced link font size */
}

footer a:hover {
    text-decoration: underline;
}

/* Opening Times */
footer .opening-times {
    margin-top: 10px; /* Reduced spacing */
}

footer h4 {
    font-size: 14px; /* Reduced font size */
    margin-bottom: 5px; /* Reduced margin */
}


footer a {
    color: #ffd700; /* Highlight color for links */
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}


/* About Us Section */
#about {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

#about h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.about-image {
    max-width: 100%; /* Make the image responsive */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-content p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #555;
    margin: 0 20px;
    text-align: justify;
}
/* Services Section */
#services {
    display: flex;
    flex-direction: column;
    justify-content: center;  /* Vertically centers content */
    align-items: center;      /* Horizontally centers content */
    padding: 40px 20px;
    background-color: #f9f9f9;
    min-height: 100vh;        /* Ensures the content is centered even if there's not enough content */
}

#services h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.service-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

.service-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-video {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Lost Wax Casting Section */
#casting {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

#casting h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.casting-content {
    max-width: 900px;
    margin: 0 auto;
    color: #555;
}

.casting-content p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Image Gallery for Lost Wax Casting */
.casting-images {
    display: flex;
    justify-content: center;
    gap: 40px; /* Increase gap to accommodate larger images */
    margin-bottom: 20px;
}

.casting-image {
    width: 300px;  /* Increased image size */
    height: 300px; /* Increased image size */
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* Video Adjustment */
.casting-video {
    width: 50%;  /* Make video smaller */
    max-width: 500px;  /* Limit maximum width */
    height: 500px;
    margin: 0 auto;  /* Center the video */
    display: block;  /* Ensures it behaves like a block element */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Moulding Page Section */
#moulding {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

#moulding h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.moulding-content {
    max-width: 900px;
    margin: 0 auto;
    color: #555;
}

.moulding-content p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.mould-section {
    margin-bottom: 40px;
}

.mould-section h2 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #333;
}

.mould-image {
    width: 200px;  /* Set a fixed width */
    height: 200px; /* Set a fixed height to ensure uniform size */
    object-fit: cover; /* Ensures the image maintains aspect ratio without distortion */
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* 3D Printing Page Section */
#3d-printing {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

#3d-printing h1 {
    
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.printing-content {
    max-width: 900px;
    margin: 0 auto;
    color: #555;
}

.printing-content p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Image Gallery for 3D Printing */
.printing-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.printing-image {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 3D Printing Video */
.printing-video {
    width: 50%;
    height: 500px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* General Reset */
body, h1, p, img {
    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 {
    text-align: center;
    padding: 20px;
    background-color: #123456;
    color: white;
}
 
.gallery-title {
    text-align: center;
    font-size: 2.5em;
}

/* Gallery Styling */


#gallery {
    
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center; /* Center align grid items */
}

.gallery {
    display: flex; /* Arrange items in a row */
    flex-wrap: wrap; /* Allow wrapping to the next line */
    gap: 20px; /* Uniform spacing between items */
    justify-content: center; /* Center align the gallery items horizontally */
    align-content: center; /* Vertically align rows in the gallery */
    max-width: 90vw; /* Prevent gallery from stretching too wide */
    margin: 0 auto; /* Center gallery on the page */
}

.image-container {
    width: 200px; /* Default width for containers */
    height: 150px; /* Default height for containers */
    overflow: hidden; /* Prevent images from overflowing */
    border-radius: 10px; /* Smooth corners */
    background-color: #ffffff; /* Optional background color */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for normal state */
    position: relative; /* Needed for hover effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer; /* Pointer cursor on hover */
}

.image-container img {
    width: 100%; /* Scale image to container width */
    height: 100%; /* Scale image to container height */
    object-fit: cover; /* Ensure proper scaling and cropping */
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: scale(1.2); /* Pop out the container */
    z-index: 10; /* Ensure it appears above others */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5); /* Enhanced shadow effect */
}

.image-container:hover img {
    transform: scale(1.2); /* Slightly enlarge image */
}





/* Footer Styling */
footer {
    text-align: center;
    padding: 20px;
    background-color: #123456;
    color: white;
    margin-top: 20px;
}

