/* General Reset */
body, h1, p, div, iframe {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
  background-color: rgb(221, 225, 235);
  font-family: Arial, sans-serif;
}

/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Londrina+Outline&display=swap');

/* Container for the header */
.header-container {
    text-align: center; /* Center the header text horizontally */
    max-width: 850px; /* Ensure the container width is not restricted */
    margin: 0 auto; /* Center the container horizontally if needed */
    padding: 10px; /* Optional: Add padding around the header */
    position: relative; /* Position relative to use pseudo-elements */
}

/* Style for the header */
h1 {
    background: #333; /* Dark gray background for contrast */
    color: #fff; /* White text color for contrast */
    font-size: 14px; /* Font size for the header */
    margin: 30px auto; /* Center horizontally with auto margins */
    padding: 20px; /* Optional: Add padding inside the header */
    max-width: 800px; /* Limit the maximum width */
    text-align: center; /* Center text inside the h1 */
    display: inline-block; /* Fit the container around the text */
    position: relative; /* Position relative for pseudo-element */
}
.class {
    color: black;
}

/* Neon Effect */
.neon {
    font-family: 'Londrina Outline', sans-serif; /* Apply the font */
    text-align: center; /* Center text */
    text-transform: uppercase; /* Uppercase letters */
    font-size: 6.5em; /* Large font size */
    color: #fff; /* White text color */
    letter-spacing: 0.15em; /* Space between letters */
    position: relative; /* To position child spans */
    overflow: hidden; /* To contain flicker effect */
}

/* Style for each letter */
.neon span {
    display: inline-block; /* Allow each letter to be animated individually */
    opacity: 0; /* Start as invisible */
    transition: opacity 0.1s ease-in-out; /* Smooth opacity transition */
    text-shadow: 0 0 5px #b4d0ff, /* Neon blue glow */
                 0 0 10px #b4d0ff,
                 0 0 20px #b4d0ff,
                 0 0 40px #b4d0ff,
                 0 0 80px #b4d0ff,
                 0 0 90px #b4d0ff,
                 0 0 100px #b4d0ff,
                 0 0 150px #b4d0ff; /* Neon blue glow */
}

/* Flicker Animation */
@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

/* Navbar Styles */
.navbar {
    background-color: #333;
    font-size: 17px;
    font-family: Arial, sans-serif;
    display: flex;
    max-width: 950px;
    margin: 0 auto;
    width: 100%;
}

.navbar a, .dropdown .dropbtn {
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 12px 0;
    text-decoration: none;
    flex: 1;
    box-sizing: border-box;
}

.navbar a:hover, .dropdown:hover .dropbtn {
    background-color: #ddd;
    color: black;
}

.dropdown {
    position: relative;
    flex: 1;
}

.dropdown .dropbtn {
    font-size: 17px;
    border: none;
    outline: none;
    color: white;
    background-color: #333;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f0f0f0;
    font-size: 17px;
    width: 100%;
    min-width: 160px;
    box-sizing: border-box;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 17px;
}

.dropdown-content a:hover {
    background-color: #ddd;
    color: black;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    background-color: #ddd;
    color: black;
}

p {
    width: 60%; /* Adjust width as needed */
    margin: 0 auto; /* Center horizontally */
    text-align: center; /* Center text if needed */
    padding: 10px; /* Optional padding */
}

/* Style for the image containers */
.image-container2,
.image-container3,
.image-container4,
.image-container5 {
    display: flex;
    justify-content: center; /* Center the image horizontally */
    margin-top: 0; /* Ensure space from the previous container */
}

.image-container2 .my-image,
.image-container3 .my-image,
.image-container4 .my-image,
.image-container5 .my-image {
    max-width: 415px; /* Make the image larger */
    height: auto; /* Maintain aspect ratio */
    border: 5px solid #000; /* Add a solid black border */
    border-radius: 10px; /* Optional: add rounded corners */
}

/* Update border for each image container if needed */
.image-container3 .my-image,
.image-container4 .my-image,
.image-container5 .my-image {
    border-width: 6px; /* Border width for other containers */
}

/* Content and Slideshow Styles */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 70vh;
    padding: 20px;
    margin-top: 20px;
}

.slideshow-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center; /* Center the slideshow and thumbnails */
    max-width: 1200px;
    margin: 20px auto;
    position: relative;
    width: 100%;
}

.slideshow-container {
    position: relative;
    width: 900px; /* Adjust width as needed */
    height: 600px; /* Adjust height as needed */
    padding-top: inherit;
    overflow: hidden;
}

.mySlides {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    transition: opacity 1s ease-in-out; /* Smooth fade transition */
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensure uniform sizing */
}

.text {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: #f2f2f2;
    font-size: 24px;
    padding: 8px 12px;
    background-color: black;
    border-radius: 5px;
    text-align: center;
    width: auto;
}

.thumbnail-wrapper {
    position: absolute;
    top: 6%; /* Adjust this to control vertical positioning */
    right: 20px;
    width: 120px; /* Adjust width as needed */
    height: 90%; /* Adjust height to be less than the full height of the slideshow */
    overflow-y: auto; /* Enable scrolling if thumbnails exceed height */
    padding: 0; /* Optional padding */
    box-sizing: border-box; /* Include padding in width/height */
}

.thumbnail-container {
    height: 100%;
}

.thumbnail {
    width: 100px; /* Thumbnail width */
    height: auto;
    margin: 5px 0;
    cursor: pointer;
    border: 2px solid transparent; /* Transparent border initially */
}

.thumbnail.selected {
    border-color: black; /* Highlight selected thumbnail */
}

/* Basic styling for the chatbot */
#chat-container {
    position: fixed; /* Fix the position of the chatbot */
    bottom: 10px;    /* Distance from the bottom of the page */
    right: 10px;     /* Distance from the right edge of the page */
    width: 300px;    /* Width of the chat window when expanded */
    height: 400px;   /* Height of the chat window when expanded */
    border: 1px solid #ccc; /* Border styling */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Shadow for better visibility */
    background-color: #fff; /* Background color */
    z-index: 1000; /* Ensure the chatbot appears above other elements */
    transition: width 0.3s, height 0.3s; /* Smooth transition */
    overflow: hidden; /* Hide overflow on the container itself */
    display: flex;
    flex-direction: column; /* Ensure children stack vertically */
}

#chat-container.minimized {
    width: 60px;     /* Width of the chat window when minimized */
    height: 60px;    /* Height of the chat window when minimized */
    border-radius: 50%; /* Make the container circular when minimized */
}

#chat-header {
    background-color: #007bff; /* Header background color */
    color: #fff; /* Header text color */
    padding: 10px; /* Padding inside the header */
    border-radius: 8px 8px 0 0; /* Rounded top corners */
    text-align: center; /* Center text alignment */
    cursor: pointer; /* Pointer cursor for clickable header */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* Ensure header is positioned relative to the chat container */
}

#chat-box {
    height: calc(100% - 60px); /* This should account for header height and input area */
    overflow-y: auto; /* Ensure vertical scrolling */
    padding: 10px; /* Padding inside the chat area */
    box-sizing: border-box; /* Include padding in height calculation */
    overflow-x: hidden; /* Hide horizontal overflow */
}

/* User input area styling */
#user-input {
    display: flex; /* Flexbox for layout */
    padding: 10px; /* Padding inside the input area */
    border-top: 1px solid #ccc; /* Border between chat and input area */
    background-color: #f9f9f9; /* Light background color for input area */
    box-sizing: border-box; /* Ensure padding and border are included in width */
    position: relative; /* Position the input area at the bottom */
    width: 100%; /* Full width of the container */
}

#user-input input {
    flex: 1; /* Allow input to take available space */
    padding: 10px; /* Padding inside the input field */
    border: 1px solid #ccc; /* Border around the input field */
    border-radius: 4px; /* Rounded corners for the input field */
    box-sizing: border-box; /* Ensure padding and border are included in width */
}

#user-input button {
    padding: 10px; /* Padding inside the button */
    border: 1px solid #007bff; /* Border color */
    background-color: #007bff; /* Button background color */
    color: #fff; /* Button text color */
    border-radius: 4px; /* Rounded corners for the button */
    cursor: pointer; /* Pointer cursor for clickable button */
    margin-left: 10px; /* Space between input and button */
}

/* Hide chat content when minimized */
#chat-container.minimized #chat-box,
#chat-container.minimized #user-input {
    display: none;
}

/* Newsletter Signup Form Styles */
.newsletter-container {
    border: 3px solid black; /* Black border around the container */
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 400px; /* Optional: Limit the width of the container */
    width: 100%;
    margin: 20px auto; /* Center the container horizontally */
    text-align: center; /* Center text inside the container */
}

.newsletter-container h2 {
    margin-bottom: 15px;
}

.newsletter-container form {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the form elements */
}

.newsletter-container input[type="email"] {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    width: 100%; /* Ensure the input takes up full width of the container */
    max-width: 300px; /* Optional: Limit the input width */
}

.newsletter-container button {
    padding: 10px;
    border: none;
    border-radius: 3px;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    width: 100%; /* Ensure the button takes up full width of the container */
    max-width: 300px; /* Optional: Limit the button width */
}

.newsletter-container button:hover {
    background-color: #0056b3;
}

.newsletter-container #response-message {
    margin-top: 10px;
    color: green; /* Or any color that fits your design */
}
