/* ================= GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  overflow-x: hidden;
}

.container {
  padding: 40px 10%;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  0% { box-shadow: 0 0 5px #00ffff; }
  50% { box-shadow: 0 0 20px #00ffff; }
  100% { box-shadow: 0 0 5px #00ffff; }
}

/* ================= HEADER ================= */
#header {
  min-height: 100vh;
}

/* ================= NAVBAR ================= */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeUp 1s ease;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  transition: 0.4s;
}

.logo img:hover {
  transform: rotate(360deg) scale(1.1);
}

.logo h3 {
  color: #00ffff;
  letter-spacing: 1px;
}

/* ================= MENU ================= */
nav ul {
  display: flex;
  gap: 25px;
}

nav ul li {
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  font-size: 1.6rem;
  color: #fff;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #00ffff;
  transition: 0.4s;
}

nav ul li a:hover {
  color: #00ffff;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hamburger */
nav .fas {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* ================= HEADER TEXT ================= */
.header-text {
  text-align: center;
  margin-top: 130px;
  animation: fadeUp 1.2s ease;
}

.header-text p {
  font-size: 18px;
  letter-spacing: 2px;
  opacity: 0.8;
}
.sidemenu {
 
}
.header-text h1 {
  font-size: 48px;
  margin-top: 15px;
  line-height: 1.3;
}

/* Highlight word FIXED border */
.highlight {
  display: inline-block;
  padding: 2px 8px;
  border: 2px solid #00ffff;
  border-radius: 8px;
  line-height: 1;
  margin-left: 5px;
  animation: glow 2s infinite;
}

/* Typed text */
#element {
  display: inline-block;
  margin-top: 15px;
  font-size: 20px;
  color: #00ffff;
}

/* ================= SERVICES ================= */
/* ================= SERVICES SECTION ================= */
#Services {
  position: relative;
  overflow: hidden;
}

/* ================= PARTICLES BACKGROUND (CSS ONLY) ================= */
#Services::before,
#Services::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(0,255,255,0.6), transparent),
    radial-gradient(2px 2px at 80% 20%, rgba(0,255,255,0.5), transparent),
    radial-gradient(2px 2px at 40% 70%, rgba(0,255,255,0.4), transparent),
    radial-gradient(2px 2px at 70% 80%, rgba(0,255,255,0.6), transparent),
    radial-gradient(2px 2px at 10% 90%, rgba(0,255,255,0.3), transparent);
  animation: particlesMove 20s linear infinite;
  z-index: 0;
}

@keyframes particlesMove {
  from { transform: translateY(0); }
  to { transform: translateY(-200px); }
}

/* ================= SERVICES GRID ================= */
.services-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
}

/* ================= GLASS CARD ================= */
.service-card {
  position: relative;
  padding: 30px 25px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  transition: 0.5s ease;
  overflow: hidden;
}

/* glowing border on hover */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(0,255,255,0.6),
    transparent
  );
  opacity: 0;
  transition: 0.5s;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 25px 60px rgba(0, 255, 255, 0.45);
}

/* ================= ICON ================= */
.service-card i {
  font-size: 46px;
  color: #00ffff;
  margin-bottom: 18px;
  transition: 0.4s;
}

.service-card:hover i {
  transform: rotateY(180deg) scale(1.2);
}

/* ================= TEXT ================= */
.service-card h2 {
  font-size: 22px;
  margin-bottom: 10px;
}
.sub-title {
  color: #00ffff;
  font-size: 2rem;
  margin-bottom: 35px;
  padding-bottom: 20px;
}

.service-card p {
  font-size: 14px;
  opacity: 0.85;
  line-height: 1.6;
}

/* ================= BUTTON ================= */
.service-card a {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #00ffff;
  border: 2px solid #00ffff;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
}

/* button shine effect */
.service-card a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.6),
    transparent
  );
  transition: 0.5s;
}

.service-card a:hover::before {
  left: 100%;
}

.service-card a:hover {
  background: #00ffff;
  color: #000;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.9);
  transform: scale(1.1);
}

/* ================= ABOUT ================= */
/* ================= ABOUT SECTION ================= */
#about {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

/* soft glow background */
#about::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,255,255,0.12), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,255,255,0.1), transparent 45%);
  z-index: 0;
}

#about .container {
  position: relative;
  z-index: 1;
}

/* ================= LAYOUT ================= */
#about .row {
  align-items: center;
}

/* ================= IMAGE CARD ================= */
.about-col-1 {
  flex: 1;
}

.about-col-1 img {
  width: 100%;
  border-radius: 30px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  transition: 0.6s ease;
}

/* 3D tilt illusion */
.about-col-1 img:hover {
  transform: perspective(900px) rotateY(8deg) scale(1.05);
}

/* ================= TEXT SIDE ================= */
.about-col-2 {
  flex: 1;
  padding: 20px;
  animation: fadeUp 1s ease;
}

.about-col-2 p {
  margin: 15px 0 25px;
  line-height: 1.7;
  opacity: 0.9;
}

/* ================= TABS ================= */
.tab-title {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.tab-links {
  padding: 8px 18px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #00ffff;
  border: 1px solid rgba(0,255,255,0.4);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  transition: 0.4s;
}

.tab-links:hover {
  background: rgba(0,255,255,0.25);
  color: #000;
  transform: translateY(-3px);
}

.tab-links.active-link {
  background: #00ffff;
  color: #000;
  box-shadow: 0 0 20px rgba(0,255,255,0.7);
}

/* ================= TAB CONTENT ================= */
.tab-contents {
  display: none;
}

.tab-contents.active-tab {
  display: block;
  animation: fadeUp 0.7s ease;
}

.tab-contents ul {
  list-style: none;
  padding-left: 0;
}

.tab-contents ul li {
  position: relative;
  padding: 12px 15px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border-left: 4px solid #00ffff;
  transition: 0.4s;
}

.tab-contents ul li:hover {
  transform: translateX(8px);
  box-shadow: 0 15px 35px rgba(0,255,255,0.35);
}

/* highlight text */
.tab-contents ul li span {
  color: #00ffff;
  font-weight: 600;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  #about .row {
    flex-direction: column;
  }

  .about-col-1 img {
    margin-bottom: 30px;
    transform: none;
  }
}

/* ================= CONTACT SECTION ================= */
#contact {
  position: relative;
  margin-left: -24px;
  align-items: center;
  align-self: center;
  overflow: hidden;
  z-index: 1;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,255,255,0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0,255,255,0.12), transparent 45%);
  animation: contactGlow 6s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes contactGlow {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

/* ================= ROW FLEX ================= */
#contact .row {
  display: flex;
  gap: 30px;
  flex-wrap: nowrap; /* KEEP LEFT & RIGHT SIDE BY SIDE */
  position: relative;
  z-index: 1;
}

/* ================= LEFT CARD ================= */
.contact-left {
  flex: 1; /* take equal or proportional space */
  min-width: 280px;
  padding: 35px;
  border-radius: 25px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.25);
  transition: 0.5s;
}

.contact-left:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 55px rgba(0,255,255,0.4);
}

.contact-left h1.sub-title {
  color: #00ffff;
  margin-bottom: 20px;
  font-size: 2rem;
}

.contact-left p {
  margin: 15px 0;
  display: flex;
  align-items: center;
  font-size: 15px;
  color: #fff;
  transition: 0.3s;
}

.contact-left p i {
  margin-right: 10px;
  color: #00ffff;
}

.social-icons {
  display: flex;
  margin-top: 25px;
  gap: 18px;
}

.social-icons a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00ffff;
  font-size: 22px;
  text-decoration: none;
  transition: 0.4s;
}

.social-icons a:hover {
  background: #000;
  transform: translateY(-6px) scale(1.2);
  box-shadow: 0 15px 30px rgba(0,255,255,0.6);
}

/* ================= RIGHT CARD / FORM ================= */
.contact-right {
  flex: 1; /* take equal or proportional space */
  min-width: 300px;
  padding: 35px;
  border-radius: 25px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.25);
  transition: 0.5s;
}

.contact-right:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 55px rgba(0,255,255,0.4);
}

.contact-right input,
.contact-right textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 18px;
  border-radius: 12px;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.85);
  color: #000;
  font-size: 14px;
  transition: 0.3s;
}

.contact-right input:focus,
.contact-right textarea:focus {
  box-shadow: 0 0 15px rgba(0,255,255,0.8);
  transform: scale(1.02);
}

/* ================= BUTTON ================= */
.contact-right .btn {
  width: 100%;
  padding: 14px;
  border-radius: 30px;
  border: 2px solid #00ffff;
  background: transparent;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  color: #00ffff;
  position: relative;
  overflow: hidden;
  transition: 0.4s;
}

.contact-right .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
  transition: 0.5s;
}

.contact-right .btn:hover::before {
  left: 100%;
}

.contact-right .btn:hover {
  background: #00ffff;
  color: #000;
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0,255,255,0.7);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  #contact .row {
    flex-direction: column; /* stacked on mobile */
    gap: 25px;
  }

  .contact-left,
  .contact-right {
    flex: 1 1 100%;
  }

  .contact-right {
    margin-top: 0;
  }
}
 

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    flex-direction: column;
    padding-top: 60px;
     background: #467183;
  z-index: 2;
  padding-left: 1rem;
    transition: 0.4s;
  }

  nav .fas {
    display: block;
  }

  .header-text h1 {
    font-size: 34px;
  }
}
