@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Poppins:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*:before,
*:after {
  box-sizing: border-box;
}

*:focus {
  outline: none;
}

html {
  scroll-behavior: smooth;
}

body, html{
  overflow-x: hidden; /* Prevent horizontal scroll */
}
body {
  background-color: #f5f5f5;
  background: linear-gradient(180deg, #f5f5f5 0%, #d1e0ff 100%);
  background-attachment: fixed;
  font-family:  "JetBrains Mono", "Source Code Pro", "Poppins", monospace, sans-serif;
  color: #ffffff;
  line-height: 1.6;
  animation: delayReverse 1.5s ease-in-out;
  cursor: pointer;
  overflow-x: hidden;
  /* The image used */
  background-image: url("../images/binarywp5.jpg");

  /* Full height */
  height: 100%;

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /* 
   background-image: url('images/binary-pattern.png'); 
  animation: fadeIn 1.5s ease-in-out;
  */
}

p{
  color: #ffffff;
  font-size: medium;
}

h2.cybersecurity-title{
  color: #ffffff;
}

/* Start of: Navigation Bar Styling */

#home:hover{
  font-size: larger;
  text-decoration: none;
}
#about:hover{
  color:#561ab8;
}

#contact:hover{
  color:#561ab8
}

#menu {
	background: #0099CC;
	height: 45px;
	padding-right: 18px;
	/* border-radius: 10px; */
	border: 1px solid #1f1f1f;
  border-right:none;
  border-left:none;
}
#menu ul, #menu li {
	margin: 0 auto;
	padding: 0;
	list-style: none
}
#menu ul {
	width: 100%;
	text-align: right;
}
#menu li {
	display: inline-block;
	position: relative;
}
#menu a {
	display: block;
	line-height: 41px;
	padding: 0 14px;
	text-decoration: none;
	color: #FFFFFF;
	font-size: 16px;
}
#menu a.dropdown-arrow:after {
	content: "\25BE";
	margin-left: 5px;
}

#menu input {
	display: none;
	margin: 0;
	padding: 0;
	height: 45px;
	width: 100%;
	opacity: 0;
	cursor: pointer
}
#menu label {
	display: none;
	line-height: 41px;
	text-align: center;
	position: absolute;
	left: 35px
}
#menu label:before {
	font-size: 1.6em;
	color: #FFFFFF;
	content: "\2261"; 
	margin-left: 20px;
}
#menu ul.sub-menus{
	height: auto;
	overflow: hidden;
	width: 170px;
	background: #444444;
	position: absolute;
	z-index: 99;
	display: none;
}
#menu ul.sub-menus li {
	display: block;
	text-align: left;
	width: 100%;
}
#menu ul.sub-menus a {
	color: #FFFFFF;
	font-size: 16px;
}
#menu li:hover ul.sub-menus {
	display: block
}
#menu ul.sub-menus a:hover{
	background: #F2F2F2;
	color: #444444;
}
@media screen and (max-width: 800px){
	#menu {position:relative}
	#menu ul {background:#444444;position:absolute;top:100%;right:0;left:0;z-index:3;height:auto;display:none;text-align:left;}
	#menu ul.sub-menus {width:100%;position:static;}
	#menu ul.sub-menus a {padding-left:30px;}
	#menu li {display:block;float:none;width:auto;}
	#menu input, #menu label {position:absolute;top:0;left:0;display:block}
	#menu input {z-index:4}
	#menu input:checked + label {color:#FFFFFF}
	#menu input:checked + label:before {content:"\00d7"}
	#menu input:checked ~ ul {display:block}
}

/* End of: Navigation Bar Styling  */
/* Start of: Scrollbar Styling  */

/* * {
  scrollbar-width: thick;
  scrollbar-color: #3a2475 #DFE9EB;
} */

/* Chrome, Edge and Safari */
*::-webkit-scrollbar {
  height: 45px;
  width: 25x;
}
*::-webkit-scrollbar-track {
  border-radius: 5px;
  background-color: #DFE9EB;
}

*::-webkit-scrollbar-track:hover {
  background-color: #55b8d1;
}

*::-webkit-scrollbar-track:active {
  background-color: #6dbace;
}

*::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #661bdf;
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #4c34d6;
}

*::-webkit-scrollbar-thumb:active {
  background-color: #d44c16;
}

/* End of: Scrollbar Styling  */

.entire-page-show {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background-color: rgba(69, 124, 226, 0.5)
}

/* Start of: Hero Banner */


.hero-banner::before {
  content: "01110000 01110010 01101111 01110100 01100101 01100011 01110100"; /* "protect" in binary */
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  height: 100%;
  color: rgba(0, 255, 204, 0.1); /* Neon green, low opacity */
  font-family: 'Roboto Mono', monospace;
  font-size: 1rem;
  /* background: linear-gradient(to bottom, transparent, rgba(106, 27, 233, 0.5)); */
  animation: scrollBinary 10s linear infinite;
  transition: transform 0.3s ease in-out;
  z-index: 2;
}

.hero-banner {
  position: relative;
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  transition: transform 0.3s ease in-out;
}
.hero-banner img {
  width: 100%;
  height: auto;
  object-fit: contain; /* Prevents cropping */
  object-position: 50% 10%; /* Keeps shield high */
  /* object-fit: cover; */
  animation: subtlePulse 5s ease-in-out infinite;
}


.hero-text {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  color: #9a1ed4; /* Neon Magenta */
  text-shadow: 0 0 10px rgba(0, 255, 204, 0.7);
}

#pause_play{
  cursor: pointer;
   position:relative;
   width:200%;
   background-color: #003a66;
   border:1px solid black;
   background-color:transparent;
   background-image:none;
   box-shadow:1px 1px 2px rgba(0,0,0,0.3);
   z-index: 10;

}

.top {
  position: relative;
  left: 0;
  text-align: left;
}

.bottom {
  position: relative;
  left: 0;
  text-align: right;
}

.usbdrive-top {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 11;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
}

.usbdrive-bottom {
  position: absolute;
  bottom: 10px; /* Position near bottom */
  right: 10px; /* Position on the right */
  z-index: 11; /* Consistent with top jumper */
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
}

.usb-img {
  width: 80%; /* Keep your updated size */
  height: auto;
  /* Removed background-color: transparent (not needed for <img>) */
}

.usb:hover {
  filter: invert(100%); /* Simplified hover effect */
}


header, main, footer {
  width: 100%;
  text-align: center;
}

.cybersecurity-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  /* color: #1a3c6b; */
  color:white;
  margin: 2rem 0;
  letter-spacing: 1px;
}

.cybersecurity-info, .cryptographic-writing {
  max-width: 800px;
  margin: 2rem auto;
  font-size: 1.1rem;
}

.cybersecurity-info h2, .cryptographic-writing h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  color: #1a3c6b;
  color:white;
  margin-bottom: 1.5rem;
}

.cybersecurity-info p, .cryptographic-writing p {
  margin-bottom: 1.5rem;
}

.cybersecurity-images {
  margin: 2rem 0;
}

.cybersecurity-images img {
  cursor: pointer;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cybersecurity-images img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
.cybersecurity-footer a:hover {
  color: #6e1094;
  text-decoration: underline;
}

.cybersecurity-footer {
  margin-top: 3rem;
  padding: 1rem 0;
  font-size: 0.9rem;
  color: #666;
}

.cybersecurity-footer a {
  color: #1a3c6b;
  text-decoration: none;
  transition: color 0.3s;
}

.cybersecurity-footer a:hover {
  color: #0d1f3a;
}

.cta {
  margin: 2rem 0;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(to bottom,  #7db9e8 0%,#207cca 49%,#2989d8 50%,#1e5799 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

  /* background: #005f99; */
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}
.cta-button:hover {
  background: #003a66;
  border:1px solid whitesmoke;
}

/* End of: Hero Banner */

/* Start of: The Overlay */
#open_nav {
    font-size:30px;
    cursor:pointer;
}

.cyber_curtain{
  padding-bottom: 25px;
  padding-left:40px;
  /* position: relative;
   top:30px */
}

.cyber_curtain:hover {
    color: #561ab8;
    letter-spacing: 2px;
    font-size: larger;
    text-decoration: none;
}

.cyber_curtain_close:hover {
    color: #e46008;
    font-size: larger;
    text-decoration: none;
 
}
.overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
  overflow-y: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
     color: #e46008;
     
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

.math-symbols{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  color: white;
  letter-spacing: 2px;
  transition: scale 0.5s color 0.3s, letter-spacing 0.3s, font-size 0.3s ease-in-out;
}
.math-symbols:hover {
    color: #ffbb00;
    /* color: #561ab8; */
    letter-spacing: 4px;
    font-size: larger;
    text-decoration: none;
}


/* End of: The Overlay */


/* Start of: Animations */

@keyframes delayReverse {
0% {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
}

33% {
    -webkit-transform: scaleX(222);
    -webkit-transform: scaleY(2222);
    transform: scaleY(1);
}

66% {
    -webkit-transform: scaleX(222);
    -webkit-transform: scaleY(2222);
    transform: scaleY(60);
}

100% {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
    }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes scrollBinary {
  0% { transform: translateY(100%); }
  100% { transform: translateY(-150%); }
}

@keyframes subtlePulse {
  0%, 100% { filter: brightness(0.9); }
  50% { filter: brightness(1.1); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .cybersecurity-title {
    font-size: 2rem;
  }

.cybersecurity-info h2, .cryptographic-writing h2 {
    font-size: 1.5rem;
}

.cybersecurity-info, .cryptographic-writing {
    font-size: 1rem;
    padding: 0 1rem;
}
@media (max-width: 480px) {
  .hero-banner {
    min-height: 35vh; /* Ensures shield fits on phones */
  }
}
@media (max-width: 768px) {

  .usb{
    display:none;
  }
.hero-banner {
    min-height: 50vh;
}
.hero-text {
    font-size: 1.8rem;
    }
    #menu, .navigation-menu {
    display: none;
  }
  }
}
@media screen and (max-height: 450px) {
  .overlay {overflow-y: auto;}
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
    }
   #menu, .navigation-menu {
    display: none;
  
  }
}