/* Reset CSS */
@import url("https://fonts.googleapis.com/css?family=Raleway:400");

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

/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background: linear-gradient(2deg, rgba(0, 0, 0, 1) 0%, rgb(10 13 22) 50%, rgba(0, 0, 0, 1) 100%);
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.navbar {
    box-shadow: 2px 14px 97px 12px rgba(0,0,0,0.75);
    -webkit-box-shadow: 2px 14px 97px 12px rgba(0,0,0,0.75);
    -moz-box-shadow: 2px 14px 97px 12px rgba(0,0,0,0.75);
    background: rgba(0, 0, 0, 1);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-text {
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center; /* Align the nav links vertically on smaller screens */
}

.nav-links li {
    margin-left: 20px;
}

.nav-links li a {
  opacity: 1;
transition: opacity 1s linear 0s;
    color: #fff;
    text-decoration: none;
}  

.nav-links li a:hover {
  opacity: 0.6;
    color: #c3d5db;
    text-decoration: none;
}

.hero2 {
    background: rgb(0,0,0);
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(55,71,102,1) 50%, rgba(0,0,0,1) 100%), url('https://i.postimg.cc/vmHgw00V/8c0b8812-17cb-429b-b6a0-4517492af2b2-1.png'); /* Add your image path here */
    background-size: cover; /* Ensure the image covers the section */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent image repetition */
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 100px 20px; /* Adjusted padding */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 222px 20px; /* Adjusted padding */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-background {
    filter: brightness(50%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(8px); /* Adjust the blur amount as needed */
    z-index: -1;
    background-color: rgba(255, 255, 255, 0.1);
}

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

.hero-image {
    max-width: 20%; /* Adjust the max-width to control the image size */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Optional: Rounded corners */
    margin-bottom: 20px; /* Space between image and text */
    filter: brightness(1.2); /* Optional: Adjust brightness if needed */
}

/* Additional styling for hero title and text */
.hero-title {
    text-shadow: 0px 0px 16px rgb(100 130 147);
    font-size: 3rem;
    color: azure;
    margin-bottom: 20px;
}

.hero-text {
    text-shadow: 0px 0px 5px rgb(116 141 255);
    font-size: 1.2rem;
    margin-bottom: 30px; 
}

.btn {
    display: inline-block;
    background-color: #63636380;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #53535380;
}

.btn-primary {
  box-shadow: -1px 1px 57px -1px rgba(0,0,0,0.75);
-webkit-box-shadow: -1px 1px 57px -1px rgba(0,0,0,0.75);
-moz-box-shadow: -1px 1px 57px -1px rgba(0,0,0,0.75);}

.top-btn {
  background-color: rgb(142 178 255 / 48%);
}

.top-btn:hover {
  background-color: rgb(142 178 255 / 30%);
} 

/* Latest News */
/* Ensure the news-content is properly styled */
#news-content {
  padding: 40px;
  margin: 0 auto;
  max-width: 1200px; /* Adjust based on your layout */
  background: rgba(255, 255, 255, 0.2); /* Semi-transparent background with slight gradient */
  backdrop-filter: blur(12px); /* Subtle blur effect for background */
  border-radius: 20px; /* More rounded corners for a modern look */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); /* Deep shadow for a floating effect */
}

/* Style for each post item */
.post-item {
  border: none; /* Remove the default border */
  border-radius: 20px; /* Consistent rounded corners */
  padding: 20px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2)); /* Modern gradient background */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Smooth shadow for depth */
  backdrop-filter: blur(10px); /* Subtle blur for a glass effect */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for effects */
}

/* Hover effect for post items */
.post-item:hover {
  transform: translateY(-8px); /* Lift the item slightly on hover */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4); /* More pronounced shadow on hover */
}

/* Title styling */
.post-item h3 {
  font-size: 1.8rem; /* Larger font size for titles */
  color: #fff;
  margin-bottom: 10px;
  font-weight: 600; /* Slightly bolder title text */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Enhanced text shadow for better readability */
}

/* Summary styling */
.post-item p {
  font-size: 1.1rem; /* Slightly larger font size for readability */
  color: #f0f0f0; /* Lighter text color */
  margin-bottom: 15px; /* Increased margin for spacing */
  line-height: 1.7; /* Improved line spacing for readability */
  max-height: 80px; /* Limit the height of the summary */
  overflow: hidden; /* Hide overflow text */
  position: relative; /* Necessary for the ellipsis effect */
}

/* Date styling */
.post-item small {
  font-size: 0.875rem;
  color: #ddd;
}

/* Button styling */
.post-item .btn {
  display: inline-block;
  padding: 12px 20px; /* Increased padding for prominence */
  font-size: 1.1rem; /* Larger font size for readability */
  color: #fff;
  background: linear-gradient(135deg, rgba(40, 122, 148, 0.7), rgba(40, 122, 148, 0.9)); /* Gradient button color */
  border-radius: 10px; /* Rounded button corners */
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease; /* Smooth transitions */
}

.post-item .btn:hover {
  background: linear-gradient(135deg, rgba(40, 122, 148, 0.9), rgba(40, 122, 148, 1)); /* Darker gradient on hover */
  transform: scale(1.05); /* Slightly scale up the button on hover */
}



/*Start Uptime*/

.uptime {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 400px 20px; /* Adjusted padding */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
     
  background: rgb(0,24,56);
background: linear-gradient(180deg, rgba(0,24,56,0) 0%, rgba(55,93,145,0.6110819327731092) 50%, rgba(0,0,0,0) 100%);

}

.uptime-background {
    filter: brightness(50%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(8px); /* Adjust the blur amount as needed */
    z-index: -1;
    background-color: rgba(255, 255, 255, 0.1);
}

.uptime-content {
    position: relative;
    z-index: 1;
}

.uptime-image {
    max-width: 20%; /* Adjust the max-width to control the image size */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Optional: Rounded corners */
    margin-bottom: 20px; /* Space between image and text */
    filter: brightness(1.2); /* Optional: Adjust brightness if needed */
}

/* Additional styling for hero title and text */
.uptime-title {
    text-shadow: 0px 0px 16px rgb(100 130 147);
    font-size: 3rem;
    color: azure;
    margin-bottom: 20px;
}

.uptime-text {
    text-shadow: 0px 0px 5px rgb(116 141 255);
    font-size: 1.2rem;
    margin-bottom: 30px; 
}

.uptime-btn {
    margin-bottom: -20px;
    display: inline-block;
    background-color: #63636380;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.uptime-btn:hover {
    background-color: #53535380;
}
 
.uptime-btn-primary {
  box-shadow: -1px 1px 57px -1px rgba(0,0,0,0.75);
-webkit-box-shadow: -1px 1px 57px -1px rgba(0,0,0,0.75);
-moz-box-shadow: -1px 1px 57px -1px rgba(0,0,0,0.75);}

/*End Uptime*/


/*News Start*/
.news-section {
    text-align: center;
    padding: 20px;
background: rgb(0,0,0);
background: linear-gradient(180deg, rgba(0,0,0,0) 19%, rgba(14,24,59,1) 50%, rgba(0,24,56,1) 100%);
}

.news-item {
    background: rgb(255,255,255);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.news-item a {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(124, 179, 255, 0.74);
    text-decoration: none;
}

.news-item a:hover {
    text-decoration: underline;
}
/*News End*/



/* More Hero Start */

.join-btn {background-color: rgba(0, 0, 0, 0.60);}
.join-btn:hover {background-color: rgba(0, 0, 0, 0.40);}
.morehero-title {
    text-shadow: 0px 0px 16px rgb(100 130 147);
    font-size: 3rem;
    color: azure;
    margin-bottom: 20px;
}

.morehero-text {
    text-shadow: 0px 0px 5px rgb(116 141 255);
    font-size: 1.2rem;
    margin-bottom: 30px; 
}

.morehero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 100px 20px; /* Adjusted padding */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgb(0,24,56);
    background: linear-gradient(180deg, rgba(0,24,56,1) 0%, rgba(0,0,0,0) 100%);
}

.morehero-background {
    filter: brightness(50%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(8px); /* Adjust the blur amount as needed */
    z-index: -1;
    background-color: rgba(255, 255, 255, 0.1);
}

.morehero-content {
    padding: 40px;
  margin: 0 auto;
  max-width: 1200px; /* Adjust based on your layout */
  background: rgba(255, 255, 255, 0.2); /* Semi-transparent background with slight gradient */
  backdrop-filter: blur(12px); /* Subtle blur effect for background */
  border-radius: 20px; /* More rounded corners for a modern look */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); /* Deep shadow for a floating effect */
}

/* More Hero End */
 

/* Simplified Skeleton Loader Styles */
.skeleton-loader {
  display: block;
  width: 100%;
  padding: 20px;
  background-color: #f0f0f0;
  position: relative;
  z-index: 1000; /* Ensure it's on top */
  border: 1px solid red; /* Debugging aid, remove in production */
}

.skeleton {
  background-color: #e0e0e0;
  border-radius: 5px;
  animation: pulse 1.5s infinite ease-in-out;
  margin: 10px 0;
}

.skeleton-title {
  width: 60%;
  height: 30px;
}

.skeleton-text {
  width: 100%;
  height: 20px;
}

.skeleton-button {
  width: 100px;
  height: 40px;
  border-radius: 20px;
}

@keyframes pulse {
  0% { background-color: #f0f0f0; }
  50% { background-color: #e0e0e0; }
  100% { background-color: #f0f0f0; }
}

/* Ensure loader is visible and content hidden initially */
.news-content {
  display: none; /* Hide content initially */
}


/* Footer Styling */
.footer {
    background: rgb(255, 255, 255);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.039653361344537785) 0%, rgba(0, 0, 0, 0) 100%);
    color: #e0e0e0; /* Light text color for contrast */
    padding: 40px 20px;
    border-top: 1px solid #333; /* Subtle top border for separation */
    text-align: center; /* Center align text in footer */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center align footer links */
}

.footer-links {
    margin: 0 20px; /* Margin for spacing between columns */
    flex: 1;
    min-width: 200px; /* Ensure columns don’t get too small */
}

.footer-links h3 {
    margin-bottom: 10px; /* Space below heading */
    font-size: 16px;
    font-weight: 600;
    color: #e0e0e0; /* Consistent color for headings */
}

.footer-links-grid {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Slightly reduced space between links */
}

.footer-links a {
    color: #c0c0c0; /* Slightly lighter color for links */
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s; /* Smooth color transition */
}

.footer-links a:hover {
    color: #ffffff; /* Change color on hover */
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #333; /* Subtle border for separation */
    padding-top: 20px;
}

.footer-bottom-links {
    margin-bottom: 10px; /* Space between links and copyright */
    font-size: 14px;
    color: #c0c0c0; /* Consistent link color in bottom section */
}

.footer-bottom-links a {
    color: #c0c0c0; /* Link color */
    text-decoration: none;
    transition: color 0.3s; /* Smooth color transition */
}

.footer-bottom-links a:hover {
    color: #ffffff; /* Change color on hover */
}

.footer-info {
    font-size: 14px;
    color: #c0c0c0; /* Consistent color for copyright text */
}

/* Media query for devices with larger widths, like the unfolded Galaxy Fold */
@media screen and (min-width: 600px) {
  
    .nav-links {
        display: flex; /* Ensure nav links are always visible */
    }

    .hamburger {
        display: none; /* Hide the hamburger button on larger screens */
    }
}

/* Media query for devices with smaller widths, like the folded Galaxy Fold */
@media screen and (max-width: 899px) {

    .navbar {
        box-shadow: 2px 14px 97px 12px rgba(0,0,0,0.75);
        -webkit-box-shadow: 2px 14px 97px 12px rgba(0,0,0,0.75);
        -moz-box-shadow: 2px 14px 97px 12px rgba(0,0,0,0.75);
        background: #000; /* Solid black background */
        padding: 20px 0;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 999;
        transition: height 0.3s ease; /* Smooth transition for height change */
    }

    .nav-links {
        display: none; /* Hide the nav links by default */
        flex-direction: column;
        position: absolute;
        top: 60px; /* Adjust based on your navbar height */
        left: 0;
        width: 100%;
        background-color: #000; /* Solid black background */
        z-index: 999;
        padding: 10px 0; /* Space above and below nav links */
    }

    .nav-links.active {
        display: flex; /* Show the nav links when active */
        top: 60px; /* Adjust based on your navbar height */
        background-color: #000; /* Solid black background */
        padding: 20px 0; /* Space for better layout */
    }
    
    .nav-links li {
        margin: 10px 0; /* Add vertical space between nav items */
    }

    .nav-links li a {
        opacity: 1;
        color: #fff;
        text-decoration: none;
        padding: 15px 20px; /* Adjust padding for better link size */
        text-align: center; /* Ensure links are centered */
        display: block; /* Make the entire area clickable */
        width: 100%; /* Ensure full width for links */
        transition: background-color 0.3s ease, opacity 0.3s ease;
    }

    .nav-links li a:hover {
        background-color: #333; /* Darker background on hover */
        opacity: 0.8;
    }

    .hamburger {
        border-style: solid;
        border-color: rgba(245, 39, 145, 0);
        background: rgba(245, 39, 145, 0);
        display: block; /* Show the hamburger button */
        position: absolute; /* Position the hamburger icon */
        top: 20px; /* Adjust position as needed */
        right: 20px; /* Adjust position as needed */
        z-index: 1001;
        cursor: pointer; /* Add cursor pointer to indicate it's clickable */
    }

    /* Hamburger Icon Styles */
    .hamburger-icon {
        display: block;
        width: 30px; /* Adjusted width for better visibility */
        height: 20px; /* Adjusted height for better visibility */
        position: relative;
        transition: transform 0.3s ease;
    }

    /* Animation for hamburger bars */
    .hamburger-icon div {
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #fff;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .hamburger-icon div:nth-child(1) {
        top: 0;
    }

    .hamburger-icon div:nth-child(2) {
        top: 10px;
    }

    .hamburger-icon div:nth-child(3) {
        top: 20px;
    }

    /* Animation for the hamburger bars when the hamburger icon is active */
    .hamburger-icon.animation div:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .hamburger-icon.animation div:nth-child(2) {
        opacity: 0;
    }

    .hamburger-icon.animation div:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
}
