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

body {
    font-family: 'Work Sans', sans-serif;
    background-color: #1A1F39;
    color: white;
}

main {
	padding: 40px 100px;
}

header {
    background-color: #1A1F39;
    padding: 0;
}

nav {
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #414865;
    margin: 0 auto;
}

nav .logo {
    font-size: 24px;
    font-weight: 500;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 32px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #30ECCC;
}

.feature-item i {
    margin-bottom: 20px;
    color: #30ECCC; /* Change icon color as needed */
}

.features-section {
    text-align: center; /* Center the content */
    margin-bottom: 40px; /* Space below the section */
}

.welcome {
	text-align: center;
	margin-bottom: 40px;
}

.welcome h1 {
font-size: 4em;
font-weight: bold;
margin-top: 100px;
margin-bottom: 60px;
}

.welcome #intro {
	font-size: 1.5em;
	margin-bottom: 40px;
}
.welcome #hk {
	font-size: 1.3em;
	margin-bottom: 28px;
}
.welcome #line {
	color: #30ECCC;
	margin-bottom: 120px;
}
.features-section h2 {
    font-size: 2em;
    margin-bottom: 32px; /* Space below the H2 */
    color: #FFFFFF; /* Ensure the text is visible */
}

/* Styles for the Feature Cards Container */
.feature-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Space between feature cards */
}

/* Styles for Each Feature Item */
.feature-item {
    background-color: #2A2F4F;
    padding: 24px;
    border-radius: 8px;
    text-align: center;
    color: #FFFFFF;
    width: 260px; /* Set a fixed width or use flex properties */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for depth */
    transition: transform 0.3s, box-shadow 0.3s; /* Optional: Hover effects */
}

.feature-item h3 {
	font-size: 22px;
	 margin-bottom: 8px;
}

.feature-item p {
	font-size: 16px;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* Styles for Feature Images */
.feature-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-bottom: 15px;
}

/* Responsive Adjustments */
@media (max-width: 800px) {
    .feature-cards {
        flex-direction: column;
        align-items: center;
    }

    .feature-item {
        width: 80%; /* Adjust width for smaller screens */
    }
}
.hero h2 {
	font-size: 36px;
	margin-bottom: 20px;
}

button {
	border-radius: 4px;
    background-color: #30ECCC;
    border: none;
    color: white;
    padding: 10px 20px;
	margin: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #28b2b3;
}

#map {
    height: 700px;
    margin: 0 auto;
    margin-top: 20px;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #1A1F39;
    border-top: 2px solid #414865;
}

.charts-section {
    padding: 40px 0;
    /* background-color: #2A2F4F; */
}

.charts-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.chart {
    width: 45%;
    min-width: 300px;
    margin: 20px 0;
    background-color: #2A2F4F;
    padding: 20px;
    border-radius: 8px;
    color: #fff;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}

.charts-section h2,
.charts-section p, .map-section h2, .map-section p {
    margin-top: 8px;
    margin-bottom: 8px;
}


/* Spacing for button in map-controls */
.map-controls button {
	border-radius: 4px;
    margin-top: 12px;
    margin-bottom: 8px;
}

.coordinates-section {
    display: flex;
    align-items: center;
    margin-top: 8px;
    margin-bottom: 20px;
}

/* Spacing for h3 in coordinates-section */
.coordinates-section h3 {
    margin: 0;
    margin-right: 4px;
    white-space: nowrap;
}

.coordinates-section #coordinatesDisplay {
    display: flex;
    gap: 20px;
}

/* Remove default margin from paragraphs within coordinatesDisplay */
.coordinates-section #coordinatesDisplay p {
    margin: 0;
}

.chart h3 {
    text-align: center;
    margin-bottom: 10px;
}

/* Responsive Adjustments */
@media (max-width: 800px) {
    .chart {
        width: 100%;
    }
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    background-image: url('../assets/hero.jpg'); /* Placeholder image */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for better text visibility */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
font-weight: 400;
    font-size: 4em;
    height: 30px; /* Fixed height to prevent layout shift */
margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero p {
    font-size: 30px;
    height: 30px; /* Fixed height to prevent layout shift */
margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero #typed-text {
	color: #30ECCC;
font-weight: bold;
}

.hero button {
margin: 10px;
margin-top: 40px;
    padding: 12px 24px;
    font-size: 20px;
    border: none;
    border-radius: 4px;
    background-color: #30ECCC;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.hero button:hover {
    background-color: #28b2b3;
}

/* Typing Cursor Animation */
#typing::after {
    content: '|';
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* Features Section Adjustment */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 60px 20px;
}

/* Ensure smooth scrolling */
html {
    scroll-behavior: smooth;
}

.abouthero {
    text-align: center;
    padding: 100px 20px;
}

.abouthero h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.abouthero p {
    font-size: 1.5em;
}


/* Technology Section Styles */
.technology {
    padding: 60px 20px;
    background-color: #1A1F39;
    color: white;
    text-align: center;
}

.technology h2 {
    font-size: 2em;
    margin-bottom: 40px;
}

.technology-subsections {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.technology-item {
    background-color: #2A2F4F;
    padding: 20px;
    border-radius: 8px;
    flex: 1 1 300px;
    max-width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.technology-item h3 {
	font-size: 1.5em;
    margin-bottom: 15px;
    color: #30ECCC;
}

.technology-item p {
    font-size: 20px;
    line-height: 1.5;
}

/* Gallery Section Styles */
.gallery {
    padding: 60px 20px;
    background-color: #1A1F39;
    color: white;
    text-align: center;
}

.gallery h2 {
    font-size: 2em;
    margin-bottom: 40px;
}

.gallery-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery-item {
    flex: 1 1 300px;
    width: 200px;
	height: 350px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* Team Section Styles */
.team {
    padding: 60px 20px;
    background-color: #2A2F4F;
    color: white;
    text-align: center;
}

.team h2 {
    font-size: 2em;
    margin-bottom: 40px;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.team-member {
    background-color: #1A1F39;
    padding: 20px;
    border-radius: 8px;
    flex: 1 1 250px;
    max-width: 250px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #30ECCC;
}

.team-member h3 {
    margin-bottom: 10px;
    color: #30ECCC;
}

.team-member p {
    font-size: 16px;
    line-height: 1.5;
}

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

/* Responsive Adjustments */
@media (max-width: 800px) {
    .chart {
        width: 100%;
    }

    .technology-subsections,
    .gallery-images,
    .team-members {
        flex-direction: column;
        align-items: center;
    }

    .technology-item,
    .gallery-item,
    .team-member {
        max-width: 80%;
    }
}


/* Technology Section Styles */
.technology {
    padding: 60px 20px;
    background-color: #1A1F39;
    color: white;
    text-align: center;
}

.technology h2 {
    font-size: 2em;
    margin-bottom: 40px;
}

.technology-subsections {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.technology-item {
    background-color: #2A2F4F;
    padding: 20px;
    border-radius: 8px;
    flex: 1 1 300px;
    max-width: 400px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.technology-item h3 {
    margin-bottom: 15px;
    color: #30ECCC;
}

.technology-item p {
    font-size: 18px;
    line-height: 1.5;
}

/* Gallery Section Styles */
.gallery {
    padding: 60px 20px;
    background-color: #1A1F39;
    color: white;
    text-align: center;
}

.gallery h2 {
    font-size: 2em;
    margin-bottom: 40px;
}

.gallery-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery-item {
    flex: 1 1 300px;
    max-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* Team Section Styles */
.team {
    padding: 60px 20px;
    background-color: #2A2F4F;
    color: white;
    text-align: center;
}

.team h2 {
    font-size: 2em;
    margin-bottom: 40px;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.team-member {
    background-color: #1A1F39;
    padding: 20px;
    border-radius: 8px;
    flex: 1 1 250px;
    max-width: 250px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #30ECCC;
}

.team-member h3 {
    margin-bottom: 10px;
    color: #30ECCC;
}

.team-member p {
    font-size: 16px;
    line-height: 1.5;
}

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

/* Responsive Adjustments */
@media (max-width: 800px) {
    .chart {
        width: 100%;
    }

    .technology-subsections,
    .gallery-images,
    .team-members {
        flex-direction: column;
        align-items: center;
    }

    .technology-item,
    .gallery-item,
    .team-member {
        max-width: 80%;
    }
}

.video-section {
    padding: 60px 20px;
    background-color: #1A1F39; /* Match existing background */
    color: white;
    text-align: center;
}

.video-container {
    position: relative;
    width: 80%;
    padding-bottom: 45%; /* 16:9 Aspect Ratio */
    margin: 0 auto;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.video-container iframe:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 800px) {
    .video-container {
        width: 100%;
        padding-bottom: 56.25%; /* Maintain 16:9 ratio on smaller screens */
    }
}
/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    margin: 40px auto;
    background-color: #2A2F4F;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #30ECCC;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: none;
    border-radius: 4px;
    background-color: #1A1F39;
    color: white;
    font-size: 16px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #cccccc;
}

.contact-form button {
    padding: 12px 24px;
    background-color: #30ECCC;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #28b2b3;
}


.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin-right: 10px;
    margin-top: 12px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #30eccc;
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.date-range-selector {
    display: flex;
    align-items: center;
	margin-top: 8px;
    margin-bottom: 15px;
}

.date-range-selector label {
    margin-right: 10px;
    color: #FFFFFF; /* Matches the existing text color */
    font-size: 16px;
    font-weight: 500;
}

.date-range-selector select {
    padding: 8px 12px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    background-color: #2A2F4F; /* Matches the theme's background color */
    color: #FFFFFF; /* Text color */
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
	font-family: 'Work Sans';
}

.date-range-selector select:hover,
.date-range-selector select:focus {
    background-color: #414865; /* Darker shade on hover/focus */
    box-shadow: 0 0 5px rgba(48, 236, 204, 0.5); /* Optional: subtle shadow */
}

/* Optional: Remove default arrow and add a custom one */
.date-range-selector select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23FFFFFF" d="M6 8.4L2.4 4.8 3.6 3.6 6 6l2.4-2.4L9.6 4.8z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 30px; /* Space for the custom arrow */
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(26, 31, 57, 0.8); /* Dark overlay to match theme */
}

.modal-content {
    background-color: #2A2F4F; /* Align with site's background color */
    margin: 2% auto; 
    padding: 20px;
    border: none;
    width: 80%; 
	height: 90%;
    border-radius: 8px;
    position: relative;
    color: white; /* Ensure text is readable */
}

.close-button, .close-button-chart {
    color: #30ECCC;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus, .close-button-chart:hover, .close-button-chart:focus {
    color: white;
    text-decoration: none;
}

.dropdown-time {
    padding: 8px 12px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    background-color: #2A2F4F; /* Matches the theme's background color */
    color: #FFFFFF; /* Text color */
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
	font-family: 'Work Sans';
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23FFFFFF" d="M6 8.4L2.4 4.8 3.6 3.6 6 6l2.4-2.4L9.6 4.8z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 30px; /* Space for the custom arrow */
}
.dropdown-time:hover,
.dropdown-time:focus {
    background-color: #414865; /* Darker shade on hover/focus */
    box-shadow: 0 0 5px rgba(48, 236, 204, 0.5); /* Optional: subtle shadow */
}

.time-range-selector label {
    color: #FFFFFF;
    font-family: 'Work Sans', sans-serif;
	margin-right: 4px;
}

.colon {
    color: #FFFFFF;
}

#loadingSpinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  border: 8px solid rgba(255, 255, 255, 0.3);
  border-top: 8px solid #30eccc;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#timeSlider {
   	width: 100%;
   	-webkit-appearance: none;
   	height: 6px;
   	background: #eee;
   	border-radius: 5px;
  	outline: none;
  	opacity: 0.8;
  	transition: opacity 0.15s ease-in-out;
}

#timeSlider:hover {
	opacity: 1;
}

#timeSlider::-webkit-slider-thumb {
-webkit-appearance: none;
	width: 20px;
	height: 20px;	
	border-radius: 50%;
 	background: #30ECCC;
 	cursor: pointer;
 	border: 2px solid #fff;
   	transition: background 0.15s ease-in-out;
}

#timeSlider::-moz-range-thumb {
 	width: 20px;
 	height: 20px;
  	border-radius: 50%;
	background: #30ECCC;
  	cursor: pointer;
 	border: 2px solid #fff;
 	transition: background 0.15s ease-in-out;
}
