/* style.css */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css'); /* Ensure Font Awesome is imported */

@keyframes colorCycle {
    0%, 100% {
      border-color: rgb(255, 0, 255); /* Neon pink */
      color: rgb(255, 0, 255); /* Neon pink */
    }
    20% {
      border-color: rgb(0, 255, 255); /* Cyan */
      color: rgb(0, 255, 255); /* Cyan */
    }
    40% {
      border-color: rgb(0, 255, 0); /* Neon green */
      color: rgb(0, 255, 0); /* Neon green */
    }
    60% {
      border-color: rgb(255, 255, 0); /* Neon yellow */
      color: rgb(255, 255, 0); /* Neon yellow */
    }
    80% {
      border-color: rgb(0, 0, 255); /* Bright blue */
      color: rgb(0, 0, 255); /* Bright blue */
    }
  }
/* 100 */
body, html {
    height: auto; /* Allow body to grow with content */
    min-height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif; /* Use Roboto for body text for readability */
    color: #f0f0f0; /* Slightly off-white for better contrast */
    line-height: 1.6;
    /* Removed flex properties to allow normal document flow */
}


#dynamic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #000; /* Added black background for stars */
    /* Removed justify/align as it's fixed */
}

.star {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    width: 2px; /* Adjust if you want bigger or smaller stars */
    height: 2px; /* Adjust if you want bigger or smaller stars */
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.7), 0 0 10px rgba(0, 255, 0, 0.5); /* Neon glow */
    transition: opacity 0.5s ease-in-out;
}





.icon-top-right {
    position: fixed;
    top: 0;
    right: 0;
    padding: 10px;
    cursor: pointer;
}

/* .icon-second-place { */
    /* position: fixed; */
    /* top: 70px; Height of .icon-top-right plus padding and extra space */
    /* right: 0; */
    /* padding: 10px; */
/* } */

/* .icon-third-place {
    position: fixed;
    top: 140px; /* Height of .icon-top-right plus padding and extra space */
    /* right: 0; */
    /* padding: 10px; */
/* } */
#DesktopMenu {
    display: none; /* Hidden by default */
    position: sticky; /* fixed*/
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* border: 2px solid;  Initial border set to enable color cycling  #19d416;*/
    border-color: transparent;
    border-radius: 10px;
    background-color: black; /*black;*/
    z-index: 1000; /* Ensure it's above other content */
    padding: 0px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */ 
    /*max-width: 90%; Limit width to prevent overflow on small screens */
    width: 30%;
    
  }

/* Adjust the width for larger screens (e.g., tablets and desktops) */
@media (min-width: 769px) {
    #DesktopMenu {
        max-width: 70%; /* Darker shade on hover */
    }
  }

/* Adjust the width for mobile screens*/
@media (max-width: 768px) {
    #DesktopMenu {
        max-width: 85%; /* Darker shade on hover */
    }
  }








/* Start */




#maindisplay-menu {
    display: flex; /* inline-block / Hidden by default */
    margin:0;
    position: fixed; /* fixed*/
    left: 50%;
    top: 70%;
    transform: translate(-50%, -50%);
    /* border: 2px solid;  Initial border set to enable color cycling  #19d416;*/
    border-color: transparent;
    border-radius: 10px;
    background-color: black;/*transparent; black; */
    z-index: 1000; /*Ensure it's above other content */
    padding: 0px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */ 
    /*max-width: 90%; Limit width to prevent overflow on small screens */
    width: auto;
    
  }

/* Adjust the width for larger screens (e.g., tablets and desktops) */
@media (min-width: 769px) {
    #maindisplay-menu {
        max-width: 45%; /* Darker shade on hover */
    }
  }

/* Adjust the width for mobile screens*/
@media (max-width: 768px) {
    #maindisplay-menu {
        max-width: 85%; /* Darker shade on hover */
        width: 95%; /* Increase width to take up more space */
        padding: 0px; /* Adjust padding as needed */
        left: 50%;
        top: 58%;
    }
  }


/* Popup Styles */
.maindisplay {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place fixed*/
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0,0.4); /* Black background with opacity */
    z-index: 2; /* Sit on top */
}

/* 3rd attempt */



/* .popup-content {
    background-color: #fefefe;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #888; 
    width: 50%; 
    border-radius: 10px;
 } */


 .maindisplay-content {
    display: inline-block; /* Initially hidden, make sure to display it */
    position: fixed; /* Required for dragging */
    top: 50px; /* Adjust based on the height of your menu icon */
    right: 10px;
    padding: 10px;
    /* border: 1px solid black;  Just for visibility */
    border-radius: 10px; /* Optional, for rounded corners */
    background-color: black; /* Background color */
    z-index: 1000; /* Ensure it's above other content */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional, for shadow */

}




















/* End */














#popup-menu {
    display: hidden; /* inline-block / Hidden by default */
    margin:0;
    position: fixed; /* fixed*/
    left: 50%;
    top: 70%;
    transform: translate(-50%, -50%);
    /* border: 2px solid;  Initial border set to enable color cycling  #19d416;*/
    border-color: transparent;
    border-radius: 4px;
    background-color: transparent;/*transparent; black; */
    z-index: 1000; /*Ensure it's above other content */
    padding: 0px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */ 
    /*max-width: 90%; Limit width to prevent overflow on small screens */
    width: auto;
    
  }

/* Adjust the width for larger screens (e.g., tablets and desktops) */
@media (min-width: 769px) {
    #popup-menu {
        max-width: 45%; /* Darker shade on hover */
    }
  }

/* Adjust the width for mobile screens*/
@media (max-width: 768px) {
    #popup-menu {
        max-width: 85%; /* Darker shade on hover */
        width: 95%; /* Increase width to take up more space */
        padding: 0px; /* Adjust padding as needed */
        left: 50%;
        top: 70%; /* 58*/
    }
  }


/* Popup Styles */
.popup {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place fixed*/
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0,0.4); /* Black background with opacity */
    z-index: 2; /* Sit on top */
}

/* 3rd attempt */



/* .popup-content {
    background-color: #fefefe;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #888; 
    width: 50%; 
    border-radius: 10px;
 } */


 .popup-content {
    display: none; /* Initially hidden, make sure to display it */
    position: fixed; /* Required for dragging */
    top: 50px; /* Adjust based on the height of your menu icon */
    right: 10px;
    padding: 10px;
    /* border: 1px solid black;  Just for visibility */
    border-radius: 10px; /* Optional, for rounded corners */
    background-color: black; /* Background color */
    z-index: 1000; /* Ensure it's above other content */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional, for shadow */

}

/* .visible {
    display: block;
    transform: scale(1); Full size
    visibility: visible; /* Make it visible */
/* } */

/* .hidden { */
    /* transform: scale(0); Shrink down */
    /* visibility: hidden; Hide it */
/* } */

.hidden {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
  }

.visible {
    display: block;
    opacity: 1;
    transition: opacity 0.5s ease;
  }
  




/* Adjustments for the icon and popup positioning can be made here */






/*  */
.horizontal-buttons-container {
    display: flex; /* Align children horizontally */
    /* justify-content: space-between; */
    /* padding: 0px 10px; 10pxPadding above and below the button container */
    justify-content: center;
    align-items: center;
    gap: 10px;
  }


/* Responsive styles for screens less than or equal to 768 pixels wide */
@media (max-width: 768px) {
    .horizontal-buttons-container {
        gap:8px;
    }
}

  /* Style for the horizontal buttons -button*/
.horizontal-button {
    flex: 1; /* Each button takes up equal space */
    margin: 5px; /* Add margin for spacing, adjust as needed 0 5px*/
    background-color: transparent;/*  #6711b8;*/
    border: none;
    text-align: center; /* Center the text */
    text-decoration: none; /* Remove underline from links */
    border-radius: 10px; /* Rounded corners for the button */
    /* Additional styles horizontal-menu-item*/
    /* width: 10px; Adjust this value as needed */
    height: 80px;
    width: 200px;
    transition: all 0.3s ease;
    width: auto;
    align-items: center;
    max-width:15%;
    gap:10%;
    /* padding-left:10px; */
    /* padding-right:60px; */
    /*max-height:70%; */
  }


/* Responsive styles for screens less than or equal to 768 pixels wide */
@media (max-width: 768px) {
    .horizontal-button {
        gap:5px;
        max-width:25%;
    }
}

/* Hover state for the menu item */
.horizontal-button:hover {
    background-color: #1ba4d6; /* Darker shade on hover */


}

.horizontal-button:hover .hidden-text {
    display: block; /* Display the hidden text on hover */
    top: 100%; /* Position it at the bottom of the expanded .menu-item */
    transform: translateY(0%); /* Move content back into the container */
}







/*  MENU ITEM */




.menu-item {
    display: block; /* Make each link fill its container for easier clicking */
    padding: 10px 10px; /* 10px 10px;Add some padding for aesthetics 10px 20px*/
    margin: 0px 0; /* Add some space between the buttons */
    background-color: #1ba4d6; /*1ba4d6 #6711b8 Button background color 0A0F1B */
    color: white; /* Text color */
    text-align: left; /* Center the text */
    text-decoration: none; /* Remove underline from links */
    border-radius: 15px; /* Rounded corners for the button */
    transition: all 0.3s ease; /* Smooth background color change on hover -- background-color 0.3s*/
    overflow:hidden;
    height: 40px;
    position: relative;
}

.hidden-text{
    display:none;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
    max-height:200px;
    overflow-y:auto;
    font-family: Georgia, serif;
    font-size: 18px;
    word-spacing: 5px;
}

.menu-item.open .hidden-text {
    display: block; /* Show when the parent menu item is opened */
}

/* .hidden-content { */
    /* display: none; */
/* } */
.menu-item:hover .hidden-text {
    display: block; /* Display the hidden text on hover */
    top: 200px; /* Position it at the bottom of the expanded .menu-item */
    scroll-behavior: smooth;
    overflow-y: auto;
    /* scroll: ; */
    max-height:auto; 
    font-family: Georgia, serif;
    text-align:center;
}


/* Hover effect for desktop */
@media (min-width: 769px) {
    .menu-item:hover {
        background-color: #1ba4d6; /* 19d416Darker shade on hover */
        height: 120px; /* Larger height for desktop */
      /* Additional hover styles for desktop... */
    }
  }
  
  /* Hover effect for mobile */
  @media (max-width: 768px) {
    .menu-item:hover {
      background-color: #1ba4d6; /* 19d416Darker shade on hover */
      height: 140px; /* Smaller height for mobile */
      /* Additional hover styles for mobile... */
    }
  }

/* Hover state for the hidden content */
.menu-item:hover .hidden-content {
    transform: translateY(0%); /* Move content back into the container */
}





 /*  BOOK SECTION */


.menu-itemBook {
    display: block; /* Make each link fill its container for easier clicking */
    padding: 10px 0px; /* Add some padding for aesthetics */
    margin: 5px 0; /* Add some space between the buttons */
    background-color: #1ba4d6; /* 6711b8 Button background color */
    color: white; /* Text color */
    text-align: center; /*Center the text */
    text-decoration: none; /* Remove underline from links */
    border-radius: 15px; /* Rounded corners for the button */
    transition: all 0.3s ease; /* Smooth background color change on hover -- background-color 0.3s*/
    overflow-y:auto;
    height: 40px;
    position: relative;
    font-size:21px; 
    /* font:bold; 17px*/
    font-family: Georgia, serif;/* font-family: Arial, Helvetica, sans-serif; */
    padding-left: 0px;
    padding-right: 0px;
    font-weight: bold;
}

.hidden-text{
    display:none;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
    /* max-height:270px; */
    overflow:hidden;
    font-family: Georgia, serif; /*font-family: Arial, Helvetica, sans-serif;*/
    font-size: 18px;
    padding-left: 10px;
    padding-right: 10px;
    font-weight:normal;
    /* word-spacing: 5px; */
}

/* Hover state for the menu item */
/* .menu-itemBook:hover {
    background-color: #19d416; /* Darker shade on hover */
    /* height: 250px; New height to reveal hidden content, adjust as needed */
/* } */

.menu-itemBook:hover .hidden-text {
    display: block; /* Display the hidden text on hover */
    top: 200px; /* Position it at the bottom of the expanded .menu-item */
    scroll-behavior: auto;
    /* overflow: auto; */
    overflow:visible;
    max-height:200px; 
    font-family: Georgia, serif;
    text-align:center;
}


/* Hover effect for desktop */
@media (min-width: 769px) {
    .menu-itemBook:hover {
        background-color: #1ba4d6; /* Darker shade on hover */
        height: 180px; /* Larger height for desktop */
      /* Additional hover styles for desktop... */
    }
  }
  
  /* Hover effect for mobile */
@media (max-width: 768px) {
    .menu-itemBook:hover { 
        background-color: #1ba4d6; /* Darker shade on hover */
        height: 280px; /* Smaller height for mobile */
        /* Additional hover styles for mobile... */
    }
  }

/* Hover state for the hidden content */
.menu-itemBook:hover .hidden-content {
    transform: translateY(0%); /* Move content back into the container */
}




/*  ---------- Who We Are */
.menu-itemWWA {
    display: block; /* Make each link fill its container for easier clicking */
    padding: 10px 0px; /* Add some padding for aesthetics */
    margin: 5px 0; /* Add some space between the buttons */
    background-color: #1ba4d6; /* 6711b8 Button background color */
    color: white; /* Text color */
    text-align: center; /* Center the text */
    text-decoration: none; /* Remove underline from links */
    border-radius: 15px; /* Rounded corners for the button */
    transition: all 0.3s ease; /* Smooth background color change on hover -- background-color 0.3s*/
    overflow:hidden;
    height: 40px;
    position: relative;
    font-size:21px; 
    font-family: Georgia, serif;
    padding-left:10px;
    padding-right:10px;
    font-weight: bold;
}

.hidden-text{
    display:none;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
    max-height:200px;
    overflow-y:auto;
    font-family: Georgia, serif;
    font-size: 18px;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: normal;
}

/* Hover state for the menu item */
.menu-itemWWA:hover {
    background-color: #1ba4d6; /* 19d416Darker shade on hover */
    height: 250px; /* New height to reveal hidden content, adjust as needed */
}

.menu-itemWWA:hover .hidden-text {
    display: block; /* Display the hidden text on hover */
    top: 200px; /* Position it at the bottom of the expanded .menu-item */
    scroll-behavior: smooth;
    overflow-y: auto;
    /* scroll: ; */
    max-height:auto; 
    font-family: Georgia, serif;
    text-align:center;
    padding-left: 20px;
    padding-right: 20px;
    word-spacing: 5px;
}


/* Hover effect for desktop */
@media (min-width: 769px) {
    .menu-itemWWA:hover {
        background-color: #1ba4d6; /* 19d416Darker shade on hover */
        height: 130px; /* Larger height for desktop */
      /* Additional hover styles for desktop... */
    }
  }
  
  /* Hover effect for mobile */
  @media (max-width: 768px) {
    .menu-itemWWA:hover {
      background-color: #1ba4d6; /* Darker shade on hover */
      height: 175px; /* Smaller height for mobile */
      /* Additional hover styles for mobile... */
    }
  }

/* Hover state for the hidden content */
.menu-itemWWA:hover .hidden-content {
    transform: translateY(0%); /* Move content back into the container */
}


/*  ------------- */

.menu-itemX {
    display: block; /* Make each link fill its container for easier clicking */
    padding: 10px 20px; /* Add some padding for aesthetics */
    margin: 5px 0; /* Add some space between the buttons */
    background-color: #1ba4d6; /* 6711b8 Button background color */
    color: white; /* Text color */
    text-align: center; /* Center the text */
    text-decoration: none; /* Remove underline from links */
    border-radius: 5px; /* Rounded corners for the button */
    transition: all 0.3s ease; /* Smooth background color change on hover -- background-color 0.3s*/
    overflow:hidden;
    height: 40px;
    position: relative;
}

/* Hover state for the menu item */
.menu-itemX:hover {
    background-color: #1ba4d6; /* 19d416Darker shade on hover */
    height: 250px; /* New height to reveal hidden content, adjust as needed height: 40px; */
}

.menu-itemX:hover .hidden-text {
    display: block; /* Display the hidden text on hover */
    top: 100%; /* Position it at the bottom of the expanded .menu-item */
}



/* Hover state for the hidden content */
.menu-itemX:hover .hidden-content {
    transform: translateY(0%); /* Move content back into the container */
}







/* --------------- */
/* Optional: Add some styles for the icon itself if needed */
.menu-icon {
    fill: white;
    cursor: pointer; /* Indicates it's clickable */
    margin-right: 5px;
    /* width: 50px; Adjust size as needed */
    /* height: auto; */
    /* filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(200deg); Example filter */
}

.Terminal-icon {
    margin-left: 4px;
    margin-right: 7px;
    width: 16px;
    height: 16px;
}

.x-icon {
    margin-left: 4px;
    margin-right: 7px;
    width: 16px;
    height: 16px;
}

.csign-icon {
    margin-left: 2px;
    margin-right: 5px;
}

.follow-icon {
    justify-content: center;
    text-align: center;
}

#bar-icon {
    fill: white;
    cursor: pointer; /* Indicates it's clickable */
    width: 50px; /* Adjust size as needed */
    height: auto;
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(200deg); /* Example filter */
}

#user-icon {
    fill: white;
    cursor: pointer; /* Indicates it's clickable */
    width: 50px; /* Adjust size as needed */
    height: auto;
    /* color: colorCycle; */
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(200deg); /* Example filter */
}

#Github-icon {
    cursor: pointer; /* Indicates it's clickable */
    /* width: 50px; Adjust size as needed 1.6em for both was original*/
    width: 4.5em;
    padding: 0;
    align-self: center;
}

#Discord-icon {
    cursor: pointer; /* Indicates it's clickable */
    /* width: 50px; Adjust size as needed 1.6em for both was original*/
    width: 5em;
    /* height: 5em; */
    /* padding: 5; */
    align-self: center;
}

.X-icon {
    cursor: pointer; /* Indicates it's clickable */
    /* width: 50px; Adjust size as needed 1.6em for both was original*/
    height: .001em;
    /* height: 5em; */
    /* padding: 5; */
    align-self: center;
}

#Telegram-icon {
    cursor: pointer; /* Indicates it's clickable */
    /* width: 50px; Adjust size as needed 1.6em for both was original*/
    width: 2.5em;
    /* height: 5em; */
    /* padding: 5; */
    align-self: center;
}

.container, .section {
        height: 100;  /*  Make each section fill the screen */
        justify-content: center;
        align-items: center;
        color: rgb(247, 254, 255);
        font-size: 24px;
        font-family: 'Orbitron', sans-serif;
        background-color: transparent;
        /* font: bold; */

        /* Add background colors to distinguish sections */
}

@media (min-width: 769px) {
    .container {
        /* letter-spacing: 5px; */ /* Review if still needed for hero */
        /* word-spacing: 5px; */  /* Review if still needed for hero */
        /* margin-top: 250px; */ /* REMOVED this large top margin */
    }
  }

/* This mobile rule for .container might conflict with .hero-section centering */
@media (max-width: 768px) {
    .container{
        /* If .container is used elsewhere and needs these styles, keep them. */
        /* Otherwise, if only hero uses it, these might be redundant due to .hero-section styles */
        /* Let's comment them out for now to avoid conflict with hero */
        /* max-width: 95%; */
        /* padding: 5px; */
        /* margin: 0 auto; */
        /* min-height: 100vh; */ /* Ensure container takes full viewport height */
        /* display: flex; */
        /* flex-direction: column; */ /* Stack elements vertically if needed */
        /* justify-content: center; */ /* Vertically center the content */
        /* align-items: center; */ /* Horizontally center the content */
    } /* Closing brace for .container */
} /* Closing brace for @media */


.section1 {
    height: 100; /* Make each section fill the screen */
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: rgb(247, 254, 255);
    font-family: 'Orbitron', sans-serif;
    /* Add background colors to distinguish sections */
}


.text-container {
    position: relative;
    width: 600px; /* Adjust as needed */
    height: 50px; /* Adjust as needed */
  }

.otherspacer {
    height: 10vh;
}

.halfotherspacer {
    height: 35px;
}

.footerspacer {
    height: 50px;
}
.spacer {
    height: 220px; /* or the amount of vertical space you want */
}

.footerspacer1 {
    height: 300px; /* or the amount of vertical space you want */
}

.littlespacer {
    height: 70px; 
}
.smallerspacer {
    height: 30px; 
}
.evensmaller {
    height: 5px; 
}
.even9 {
    height: 9px; 
}

.even8 {
    height: 8px; 
}

.even7 {
    height: 7px; 
}

.centeringXlogo {
    height: 2.5px; /* or the amount of vertical space you want */
}

.logospace {
    width: 50px;
}

  /* Assuming all other sections have the class .section */
.section {
    height: 100vh; /* Each section takes up the full height of the viewport */
    /* other styles... */
}


.contact-button {
    position: fixed;
    padding: 10px 20px;
    margin: 10px 0;
    border-radius: 10px;
    border-style: outset;
    background-color: transparent; /* Dark background */
    color: rgb(124, 244, 255); /* Neon blue text */
    text-decoration: none; /* No underline */
    font-size: 1.5em;
    font-family: 'Orbitron', sans-serif; 
    text-transform: uppercase; /* Makes text uppercase */
    letter-spacing: 2px; /* Increases spacing between letters */
    cursor: pointer;
    transition: all 0.5s ease; /* Smooth transition for effects */
    position: relative; /* For pseudo-elements */
    overflow: hidden; /* Ensures pseudo-elements don't overflow */
}

  
/*Header styles */
h1, h2, h3 {
    font-family: 'Orbitron', sans-serif; /* Use Orbitron for headers */
    color: #00e5ff; /* Neon Cyan for headers */
    text-shadow: 0 0 5px rgba(0, 229, 255, 0.5);
    margin-bottom: 1rem;
    text-align: center; /* Ensure headers are always centered */
}

h1#animatedText {
    font-size: 4rem; /* Larger font size for impact */
    margin-bottom: 0.5em; /* Space below the heading */
    background-color: transparent; /* Ensure no background color */
}

h2 {
    font-size: 2.5em;
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 229, 255, 0.3);
    display: inline-block; /* Make border only as wide as text */
    /* If you want the h2 itself centered in a block, its container needs text-align: center */
}

h3 {
    font-size: 1.5em;
    color: #ffffff;
    text-shadow: none;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/*Cursor animation */
/* h1 {  */
    /* display: inline-block;  */
    /* overflow: hidden;  */
    /* white-space: nowrap;  */
    /* border-right: 2px solid #aaa; Simulate a blinking cursor */
    /* animation: type 1s steps(40, end), blink .3s step-end infinite; */
/* } */

/* Base paragraph and link styles */
p, a {
    margin: 10px 0;
}

a {
    color: #00e5ff; /* Neon Cyan for links */
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover, a:focus {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.7);
    text-decoration: underline;
}

p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1em;
    color: #cccccc; /* Lighter gray for body text */
    max-width: 70ch; /* Limit line length for readability */
    margin-left: auto;
    margin-right: auto;
    text-align: center; /* Ensure paragraphs default to center */
    margin-bottom: 1rem;
}

/* Logo section styles */
.logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px; /* Replaces margin for spacing and prevents doubling of space */
}

.logo-placeholder, .logo-image {
    width: 150px; /* Set the width as needed */
    height: 50px; /* Set the height as needed, could be 'auto' for images */
    margin: 20px; /* Increase the margin to add more space around the logos */
    display: flex;
    align-items: center;
    justify-content: center;
    /* other styles... */
}


/* Animation for cursor */
@keyframes type {
    from { width: 0; }
    to { width: 80%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}


.footer { 
    color:white;

}

  /* Hover effect for mobile */



.dropbtn {
    background-color: #6711b8; /* Your specific purple */
    color: transparent;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure full width */
    text-align: center;
}

.dropdown-content {
    display: none; /* Hide by default */
    background-color: transparent; /* Light background for the content */
    color: white; /* Default text color */
    /* padding: 15px; */
    border-radius: 5px;
    margin-top: 5px; /* Space between button and content */
}

/* Keep the dropdown button hovered style */
.dropbtn:hover, .dropbtn:focus {
    background-color: #5a0da8; /* Darker shade of purple for hover/focus */
}




/* Initial state */
.menu-item {
    transition: all 0.3s ease; /* Smooth transition for changes */
    /* ... other styles ... */
}

/* Expanded state */
.menu-item.expanded {
    height: 120px; /* Height for expanded content */
    background-color: #19d416; /* Background color for expanded state */
}









#fixed-popup-menu {
    display: none; /* Start hidden and can be toggled via JavaScript */
    position: fixed;
    top: 10%; /* Adjust based on desired position */
    right: 10%; /* Adjust based on desired position */
    width: auto;
    max-width: 90%; /* Adjust for mobile responsiveness */
    background-color: #6711b8; /* Background color */
    color: #ffffff; /* Text color */
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Ensure it's above other content */
    overflow-y: auto; /* Allow scrolling for overflow content */
}

/* Styles for buttons and links within the popup */
.horizontal-button, .menu-item, .menu-itemBook, .menu-itemWWA {
    display: block; /* Make them stack vertically */
    margin: 10px 0; /* Space between items */
    text-align: center; /* Center the content */
    /* Further styling as needed */
}


/* Change focus outline for specific elements */


.Newdropdown {
    position: absolute;
    display: inline-block;
    top: 4%; 
    right: 2%; 
    height: 20px; 
    filter: invert(100%);
    background-color: white;
    border-color: none;
}

.Newdropdown-content {
    position: absolute;
    color: white;
    right: 0; 
    min-width: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    padding-top: 5px;
    padding-right: 5px;
    background-color: white;
    /* background-color: black; */
}

.Newdropdown-content a {
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    text-align: left;
    transition: all 0.3s ease;
    border-radius: 5px;
    /* filter: invert(100%); */
    color: black;
    white-space: nowrap;
}


.Newdropdown-content a:hover {
    background-color: #555; 
    padding-right: 25px;
    }


    .tiles {
        /* display:grid; */
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        /* grid-template-columns: repeat(2, 1fr); */
        grid-gap: 5px;
        height: 50%;
        width: 50%;
        text-align: center;
        justify-content: center;
        /* position: absolute; */
        /* left: 16%; */
        /* top: 20%; */
        /* overflow-y:auto; */
        /* height: 615px; */
        /* background-color: white; */
        /* width:450px; */
        /* background-color: white; */
        /* padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 5px; */
        /* padding: 2px 2px 2px 2px; */
        /* width: 100%; */
        /* background-color: green; */
        /* border-color: white; */
        /* transform: translateX(-50%); */
        /* left: -100px; */
    }
        
    .child-element {
        /* background-color: rgb(122, 119, 119); */
        background-color: black;
        /* background-color: black; */
        border-color: white;
        /* color: white; */
        border-radius: 2%;
        /* padding-top: 25%; */
        /* text-align: center; */
        /* justify-content: center; */
        /* align-items: center; */
        /* vertical-align: center; */
        height: 40%;
        width: 20%;
        margin: auto;
        text-decoration: none;
    }
    
    .child-element span {
        color: rgb(255, 255, 255); /* 333or any other color you prefer */
    }
    
    
    .child-element:hover {
        /* background: radial-gradient(black, green); */
        background: radial-gradient(black, rgb(0, 75, 128));
        /* background: repeating-conic-gradient(
      from 45deg at 10% 50%,
      brown 0deg 10deg,
      darkgoldenrod 10deg 20deg,
      chocolate 20deg 30deg
    ); */
        /* background-color: repeating-radial-gradient(black, black 15px, white 15px, white 30px); */
        box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.5); /* or any other shadow effect you like */
        border-color: #e8dfca; /* or any other color you prefer */
        border-width: 5px; /* or any other value you like */
        transition: background-color 0.2s ease-out, box-shadow 0.2s ease-out;
      }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(to right, #4CAF50, #2196F3);
  z-index: 9999;
  transition: width 0.2s ease-out;
}

.popup-menu.active {
  opacity: 1;
  transform: scale(1);
  transition: all 0.3s ease-in-out;
}

.star-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: transform 0.1s ease-out;
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}

.hero-section {
    text-align: center; /* Explicitly center align text/inline-block children */
}

/* --- CALL TO ACTION BUTTONS --- */
.cta-button {
    display: inline-block; /* Ensure it behaves like a block but flows inline */
}

.content-section {
    padding: 4rem 2rem; /* More vertical padding */
    text-align: center; /* Center align headings and text within sections */
}

.feature-item {
    text-align: center; /* Center align icon, h3, and p within the item */
}

/* --- NEW LAYOUT STYLES START --- */

/* --- HERO SECTION --- */
.hero-section {
    min-height: 90vh; /* Make hero take most of the viewport */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center; /* Explicitly center align text/inline-block children */
    padding: 2rem;
    position: relative; /* Needed for z-index if content overlaps */
    z-index: 1;
}

.tagline {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 2rem;
    font-family: 'Orbitron', sans-serif; /* Use Orbitron for tagline */
    font-weight: 400;
}

/* --- CALL TO ACTION BUTTONS --- */
.cta-button {
    display: inline-block; /* Ensure it behaves like a block but flows inline */
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    color: #000000;
    background: linear-gradient(145deg, #00e5ff, #00a2ff);
    padding: 12px 30px;
    border-radius: 50px; /* Pill shape */
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 194, 255, 0.4);
    margin-top: 1rem;
}

.cta-button:hover, .cta-button:focus {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 194, 255, 0.6);
    color: #000000;
    text-decoration: none; /* Remove underline on hover for buttons */
    text-shadow: none;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #00e5ff;
    color: #00e5ff;
    box-shadow: none;
}

.cta-button.secondary:hover, .cta-button.secondary:focus {
    background: rgba(0, 229, 255, 0.1);
    color: #ffffff;
    box-shadow: none;
    text-shadow: 0 0 5px rgba(0, 229, 255, 0.5);
}

/* --- CONTENT SECTIONS --- */
main {
    position: relative; /* Ensure content is above fixed background */
    z-index: 1;
    background-color: #000; /* Solid background for content area */
}

.content-section {
    padding: 4rem 2rem; /* More vertical padding */
    text-align: center; /* Center align headings and text within sections */
}

.content-section.alt-bg {
    background-color: #0a0a1a; /* Slightly different dark blue/purple for variation */
}

/* --- FEATURES GRID --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    background-color: rgba(26, 26, 46, 0.5); /* Semi-transparent dark background */
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center; /* Center align icon, h3, and p within the item */
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 229, 255, 0.5);
}

.feature-item i {
    color: #00e5ff; /* Icon color */
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 1em;
    color: #b0b0b0; /* Slightly lighter gray for feature text */
}

/* --- FOOTER --- */
.site-footer {
    background-color: #000000; /* Black footer background */
    color: #888888;
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 3rem;
    position: relative; /* Ensure footer is above background */
    z-index: 1;
}

.site-footer p {
    margin-bottom: 0.5rem;
    font-size: 0.9em;
    color: #888888;
}

.footer-nav a {
    color: #aaaaaa;
    margin: 0 10px;
    font-size: 0.9em;
    display: inline-flex; /* Align icon and text */
    align-items: center;
    gap: 5px; /* Space between icon and text */
}

.footer-nav a i {
    font-size: 1.1em; /* Slightly larger icon */
}

.footer-nav a:hover, .footer-nav a:focus {
    color: #ffffff;
    text-decoration: underline;
    text-shadow: none;
}

.footer-separator {
    color: #555555; /* Dim separator color */
    margin: 0 5px; /* Adjust spacing around separator */
}

/* --- NEW LAYOUT STYLES END --- */


/* --- EXISTING COMPONENT/POPUP STYLES (Review/Adjust as needed) --- */

/* Logo section styles */
.logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px; /* Replaces margin for spacing and prevents doubling of space */
}

.logo-placeholder, .logo-image {
    width: 150px; /* Set the width as needed */
    height: 50px; /* Set the height as needed, could be 'auto' for images */
    margin: 20px; /* Increase the margin to add more space around the logos */
    display: flex;
    align-items: center;
    justify-content: center;
    /* other styles... */
}

/* --- OUR WORK SECTION --- */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 900px; /* Adjust max width as needed */
    margin-left: auto;
    margin-right: auto;
}

.work-item {
    background-color: rgba(26, 26, 46, 0.5); /* Semi-transparent dark background */
    padding: 2rem; /* Matched padding */
    border-radius: 8px;
    text-align: center; /* Center text within the item */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 229, 255, 0.2); /* Match feature-item border */
    display: flex; /* Use flexbox for alignment */
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    justify-content: flex-start; /* Align items to the top */
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 123, 255, 0.2); /* Blue glow on hover */
}

.work-icon, .work-logo {
    color: #00bfff; /* Deep sky blue for icons/logos */
    display: flex; /* Use flex to center content vertically if needed */
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem; /* Consistent base margin below visual */
}

.work-icon { /* Styles specific to Font Awesome icons */
     font-size: 3.3em; /* Keep book icon size */
     width: auto; /* Ensure width is not constrained */
     margin-bottom: 3rem; /* Override shared margin to push heading down */
}

.work-logo { /* Styles specific to the logo image */
    width: auto; /* Maintain aspect ratio based on height */
    object-fit: contain; /* Ensure the image scales nicely within the height */
    filter: invert(100%) brightness(1.5); /* Invert color to white and brighten */
    height: 6em; /* Restore explicit height */
    margin-top: -0.7rem; /* Pull logo and text below slightly up */
}

.work-item h3 {
    margin-bottom: 0.5rem; 
    font-size: 1.6em;
}

.work-item p {
    font-size: 1em;
    color: #b0b0b0;
    margin-bottom: 2rem; 
}

.cta-button.tertiary {
    background: transparent;
    border: 1px solid #00a2ff;
    color: #00a2ff;
    font-size: 1em;
    padding: 8px 20px;
    box-shadow: none;
    margin-top: auto; /* Push button to bottom */
}

.cta-button.tertiary:hover, .cta-button.tertiary:focus {
    background: rgba(0, 162, 255, 0.1);
    color: #ffffff;
    box-shadow: none;
    text-shadow: 0 0 4px rgba(0, 162, 255, 0.5);
    border-color: #00e5ff;
}