/* Reset & fonts */
* { margin:0; padding:0; box-sizing:border-box; font-family:"Poppins", sans-serif; scroll-behavior:smooth; }
body { background: radial-gradient(circle at 20% 20%, #010014, #000); color: white; overflow-x:hidden;}

/* Header */
header { display:flex; justify-content:space-between; align-items:center; padding:20px 60px; position:fixed; width:100%; top:0; background: rgba(0,0,0,0.3); backdrop-filter: blur(10px); border-bottom:1px solid rgba(0,255,255,0.2); z-index:1000; }
header h1 { font-family:"Orbitron", sans-serif; font-size:2rem; color: #00ffff; text-shadow:0 0 20px #00ffff,0 0 40px #00ffff; }

/* Nav links */
nav a { margin:0 15px; text-decoration:none; color:#aaa; font-weight:600; position:relative; transition:color 0.3s ease; }
nav a::after { content:""; position:absolute; bottom:-5px; left:0; width:0; height:2px; background:#00ffff; transition:width 0.3s ease; }
nav a:hover { color:#00ffff; }
nav a:hover::after { width:100%; }

/* Hamburger */
.hamburger {
  display:none;
  flex-direction:column;
  gap:6px;
  cursor:pointer;
  z-index:2000;
}
.hamburger span {
  width:28px;
  height:3px;
  background:#00ffff;
  box-shadow:0 0 10px #00ffff;
  transition:0.3s;
}
.hamburger.active span:nth-child(1) { transform:rotate(45deg) translateY(8px); }
.hamburger.active span:nth-child(2) { opacity:0; }
.hamburger.active span:nth-child(3) { transform:rotate(-45deg) translateY(-8px); }

/* Side Menu */
#sideMenu {
  position:fixed;
  top:0;
  left:-260px;
  width:260px;
  height:100%;
  background:rgba(0,0,0,0.9);
  border-right:1px solid rgba(0,255,255,0.2);
  backdrop-filter:blur(10px);
  display:flex;
  flex-direction:column;
  padding-top:120px;
  gap:25px;
  transition:0.4s;
  z-index:1800;
}
#sideMenu a {
  color:#00ffff;
  font-size:1.2rem;
  padding:10px 30px;
  text-decoration:none;
  transition:0.3s;
}
#sideMenu a:hover {
  background:rgba(0,255,255,0.2);
}
#sideMenu.open { left:0; }

/* Hero Section */
.hero { height:100vh; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; padding:0 20px; }
.hero h2 { font-family:"Orbitron", sans-serif; font-size:3.5rem; color:#00ffff; text-shadow:0 0 30px #00ffff,0 0 60px #00ffff; animation:glow 2s ease-in-out infinite alternate; }
.hero p { margin-top:20px; font-size:1.2rem; color:#ccc; max-width:700px; line-height:1.6; animation:fadeIn 3s ease; }
.hero button { margin-top:40px; padding:15px 40px; font-size:1.1rem; color:white; border:none; border-radius:50px; background: linear-gradient(90deg,#00ffff,#00aaff); box-shadow:0 0 25px #00ffff,0 0 45px #00aaff; cursor:pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; animation:bounce 2s infinite; }
.hero button:hover { transform:scale(1.1); box-shadow:0 0 40px #00ffff,0 0 70px #00aaff; }

/* Sections */
section { padding:120px 10%; text-align:center; position:relative; overflow:visible; }
section h3 { font-family:"Orbitron", sans-serif; font-size:2.5rem; margin-bottom:30px; color:#00ffff; text-shadow:0 0 20px #00ffff,0 0 40px #00ffff; opacity:0; transform:translateY(40px); transition:1s all ease; }
section p { color:#bbb; font-size:1.1rem; max-width:800px; margin:0 auto; line-height:1.7; opacity:0; transform:translateY(40px); transition:1s all ease 0.3s; }
section.visible h3, section.visible p { opacity:1; transform:translateY(0); }

/* Services */
.services { display:flex; flex-wrap:wrap; justify-content:center; gap:40px; margin-top:50px; }
.card { display:flex; flex-direction:column; justify-content:space-between; background: rgba(255,255,255,0.05); border:1px solid rgba(0,255,255,0.2); border-radius:20px; width:280px; padding:30px; box-shadow:0 0 20px rgba(0,255,255,0.2); transition: transform 0.4s ease, box-shadow 0.4s ease; opacity:0; transform:scale(0.8); }
.visible .card { opacity:1; transform:scale(1); transition:0.7s ease; }
.card:hover { transform:translateY(-10px) scale(1.05); box-shadow:0 0 40px #00ffff; }
.card h4 { color:#00ffff; margin-bottom:15px; font-size:1.4rem; }

/* Mega Footer */
#megaFooter{
  width:100%;
  background:rgba(0,0,0,0.92);
  border-top:1px solid rgba(0,255,255,0.2);
  backdrop-filter:blur(10px);

  max-height:80px;
  overflow:hidden;

  transition:max-height 0.8s ease;
}

/* Expanded footer */
#megaFooter.expand{
  max-height:600px;
}

.footer-content{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:40px;
  padding:50px 10%;
}

.footer-section h3{
  color:#00ffff;
  margin-bottom:20px;
  text-shadow:0 0 15px #00ffff;
}

.footer-section p,
.footer-section a{
  color:#aaa;
  text-decoration:none;
  display:block;
  margin-bottom:12px;
  transition:0.3s;
}

.footer-section a:hover{
  color:#00ffff;
  transform:translateX(5px);
}

.footer-bottom{
  text-align:center;
  padding:20px;
  border-top:1px solid rgba(0,255,255,0.15);
  color:#777;
}

/* Newsletter */
.newsletter{
  display:flex;
  flex-direction:column;
  gap:15px;
}

.newsletter input{
  padding:14px;
  border:none;
  border-radius:12px;
  background:rgba(255,255,255,0.08);
  color:white;
  outline:none;
  border:1px solid rgba(0,255,255,0.2);
}

.newsletter input:focus{
  border-color:#00ffff;
  box-shadow:0 0 15px #00ffff;
}

.newsletter button{
  padding:14px;
  border:none;
  border-radius:50px;
  background:linear-gradient(90deg,#00ffff,#00aaff);
  color:white;
  cursor:pointer;
  font-weight:bold;
  box-shadow:0 0 20px #00ffff;
  transition:0.3s;
}

.newsletter button:hover{
  transform:scale(1.05);
  box-shadow:0 0 35px #00ffff;
}

/* Fade animation */
body { opacity:0; transition:opacity 0.8s ease-in-out; padding-bottom:80px; }
body.loaded { opacity:1; }

/* Animations */
@keyframes glow {0%{text-shadow:0 0 20px #00ffff;}100%{text-shadow:0 0 50px #00ffff;}}
@keyframes fadeIn {from{opacity:0; transform:translateY(20px);} to{opacity:1; transform:translateY(0);} }
@keyframes bounce {0%,100%{transform:translateY(0);}50%{transform:translateY(-10px);} }

/* Responsive */
@media(max-width:768px){
  header { padding:15px 30px; }
  nav { display:none; }
  .hamburger { display:flex; }
  .hero h2 { font-size:2.6rem; }
}

.card-img {
  width: 100%;
  height: auto;
  margin: 15px 0;
  border-radius: 15px;
  object-fit: cover;
}

.buy-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 25px;
  font-size: 1rem;
  color: white;
  background: linear-gradient(90deg, #00ffff, #00aaff);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 15px #00ffff, 0 0 25px #00aaff;
}

.buy-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px #00ffff, 0 0 50px #00aaff;
}

/* Responsive adjustments */
@media(max-width:768px){
  .card-img {
    margin: 10px 0;
  }
  .buy-btn {
    width: 100%;
  }
}

/* Cyber Form */
.cyber-form {
  margin-top: 80px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,255,255,0.3);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0,255,255,0.2);
  backdrop-filter: blur(10px);
}

.cyber-form h3 {
  margin-bottom: 30px;
  color: #00ffff;
  text-shadow: 0 0 20px #00ffff;
}

/* Inputs */
.input-group {
  margin-bottom: 20px;
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(0,255,255,0.3);
  background: rgba(0,0,0,0.6);
  color: white;
  font-size: 1rem;
  outline: none;
  transition: 0.3s ease;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: #00ffff;
  box-shadow: 0 0 15px #00ffff;
}

/* Dropdown text color fix */
.input-group select option {
  background: #000;
  color: white;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  background: linear-gradient(90deg,#00ffff,#00aaff);
  color: white;
  cursor: pointer;
  box-shadow: 0 0 25px #00ffff, 0 0 40px #00aaff;
  transition: 0.3s ease;
}

.submit-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px #00ffff, 0 0 60px #00aaff;
}

a {
  color: white;
}

/* .ceo-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
} */

/* CEO Section Layout */
.ceo-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* CEO Image */
.ceo-image {
  width: 260px;
  height: 260px;
  border-radius: 25px;
  object-fit: cover;
  box-shadow: 0 0 25px rgba(0,255,255,0.4);
  border: 2px solid rgba(0,255,255,0.3);
}

.ceo-text {
  max-width: 600px;
  text-align: left;
}

.ceo-text h3 {
  margin-bottom: 20px;
}

.ceo-text p {
  margin-bottom: 15px;
}

/* Mobile Responsive */
@media(max-width:768px){
  .ceo-section {
    flex-direction: column;
    text-align: center;
  }

  .ceo-text {
    text-align: center;
  }

  .ceo-image {
    width: 220px;
    height: 220px;
  }
}

.company-logo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}