/* --- Global Styles & Variables --- */
:root {
  /* Variables from new design */
  --primary-bg: #02141f;
  --secondary-bg: #111827;
  --accent-color: #00b4d8;
  --text-color: #f4f4f4;
  --white-color: #ffffff;

  /* Added variables from old design for the navbar */
  --primary-purple: #55eff7;
  --vibrant-pink: #46e1ef;
  --text-primary: #ffffff;
  --text-secondary: #b4cfd4;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-color);
  min-height: 100vh;
  overflow-x: hidden;
}
.body-no-scroll {
  overflow: hidden;
}
.container {
  max-width: 1200px; /* Increased for wider navbar */
  margin: 0 auto;
  padding: 0 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
h1 {
  font-size: 3.5rem;
  color: var(--white-color);
}
h2 {
  font-size: 2.8rem;
  text-align: center;
  color: var(--white-color);
}
h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white-color);
  margin-bottom: 10px;
}
p {
  margin-bottom: 10px;
  color: var(--text-color);
  opacity: 0.9;
}
a {
  text-decoration: none;
  color: var(--accent-color);
}

/* --- Merged Navbar --- */
.navbar {
  background: rgba(2, 18, 31, 0.7);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar .logo img {
  height: 50px;
  border-radius: 50%;
}
.navbar nav ul {
  display: flex;
  list-style: none;
  gap: 15px; /* From old CSS */
  align-items: center;
}
.navbar nav ul li a {
  text-decoration: none;
  color: var(--text-secondary); /* From old CSS */
  font-weight: 500;
  transition: all 0.3s ease;
}
.navbar nav ul li a:hover {
  color: var(--text-primary); /* From old CSS */
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

/* --- Action Buttons (from old CSS) --- */
.nav-actions {
  display: flex;
  gap: 15px;
}
.btn {
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background-color: var(--primary-purple);
  color: black !important;
}
.btn-primary:hover {
  background-color: var(--vibrant-pink);
  box-shadow: 0 0 20px rgba(70, 239, 230, 0.6);
  transform: translateY(-2px);
  color: #ffffff !important; /* Adjusted for better contrast */
}
.btn-secondary {
  background-color: transparent;
  color: var(--primary-purple);
  border: 2px solid var(--primary-purple);
}
.btn-secondary:hover {
  background-color: var(--primary-purple);
  color: #0d021f; /* Adjusted for better contrast */
  transform: translateY(-2px);
}

/* --- Hamburger Menu Styles --- */
.hamburger-menu {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}
.hamburger-menu .bar {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--white-color);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}
.hamburger-menu.is-active .bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger-menu.is-active .bar:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.is-active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* --- Gallery Section --- */
.gallery-slider {
    position: relative;
    max-width: 100%; /* Take full width of the container */
    margin: 0 auto;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 20px; /* Space between cards */
    transition: transform 0.5s ease-in-out;
}

.gallery-card {
    /* Each card takes up roughly 1/3 of the container width, accounting for gaps */
    flex: 0 0 calc((100% / 3) - (40px / 3));
    background: rgba(173, 230, 243, 0.05);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(173, 230, 243, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgb(0, 180, 216);
}

.gallery-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* --- Slider Navigation Arrows --- */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 180, 216, 0.3);
    color: var(--white-color);
    border: 1px solid rgba(0, 180, 216, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background-color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.5);
}

.gallery-prev-btn { left: 15px; }
.gallery-next-btn { right: 15px; }

/* --- Hero Section --- */
.hero {
  background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}
/* ... (rest of the CSS remains the same) ... */
.hero-content {
  max-width: 800px;
  z-index: 10;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.8;
}
.cta-button {
  display: inline-block;
  background: var(--accent-color);
  color: var(--white-color);
  padding: 14px 35px;
  font-size: 1.1rem;
  font-weight: 600;
  clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
}
.cta-button:hover {
  transform: scale(1.05);
  background: #4ecce3;
}
.floating-icon {
  position: absolute;
  color: var(--accent-color);
  font-size: 3rem;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
  z-index: 5;
}
.icon1 {
  top: 20%;
  left: 15%;
}
.icon2 {
  top: 30%;
  right: 15%;
  animation-delay: 2s;
  font-size: 4rem;
}
.icon3 {
  bottom: 25%;
  left: 20%;
  animation-delay: 4s;
}
.icon4 {
  bottom: 20%;
  right: 25%;
  animation-delay: 1s;
  font-size: 2.5rem;
}
.fixed-side-icon {
  position: fixed;
  bottom: 32px;
  right: 0;
  z-index: 1000;
  width: 110px;
  height: 36px;
  border-radius: 48px 0 0 48px;
  background-color: rgb(47 191 198 / 87%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.498);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.6s ease-in-out, box-shadow 0.2s ease-in-out;
}

.fixed-side-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  background-color: rgb(47, 190, 198);
  transition: all 0.6s ease-in-out;
}
.fixed-side-icon .icon-brain {
  width: 28px;
  height: 28px;
  transition: all 0.6s ease-in-out;
}
.contact {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgb(255, 255, 255);
  transition: all 0.6s ease-in-out;
}
.contact:hover {
  color: #000000;
  transition: color 0.6s ease-in-out;
}
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  background: transparent;
  border-radius: 50%;
  box-shadow: -23vw 22vh 0px 0px #fff, 2vw 2vh 1px 1px #fff,
    15vw 12vh 0px 1px #fff, -1vw 48vh 1px 1px #fff, 4vw 35vh 1px 0px #fff,
    24vw 3vh 0px 1px #fff, -25vw 29vh 0px 0px #fff, -14vw 14vh 1px 0px #fff,
    -15vw 41vh 1px 0px #fff, -2vw 27vh 1px 0px #fff, 17vw 36vh 0px 1px #fff,
    16vw 2vh 1px 1px #fff, -21vw 22vh 0px 0px #fff, -12vw 1vh 0px 1px #fff,
    22vw 38vh 1px 0px #fff;
  animation: zoom 15s alternate infinite;
}
@keyframes zoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.5);
  }
}
section {
  padding: 80px 0;
}
#about,
#gallery {
  background-color: var(--primary-bg);
}
#services {
  background-color: var(--secondary-bg);
}
.about-section h2,
.wings-section h2,
.gallery-section h2 {
  margin-bottom: 40px;
}
.wings-grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.wing-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 45%;
  max-width: 500px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}
.wing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 25px rgba(0, 180, 216, 0.724);
}
.wing-card i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}
.wing-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}
.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--accent-color);
  border-color: var(--accent-color);
}
.footer {
  background: var(--secondary-bg);
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer .contact-info {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
.footer .contact-info a,
.footer .contact-info span {
  color: var(--text-color);
  transition: color 0.3s ease;
}
.footer .contact-info span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer .copyright {
  margin-top: 20px;
  font-size: 0.9rem;
  opacity: 0.5;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 15px;
}
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.fab,
.facebook {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}
.fab:hover,
.facebook:hover {
  color: blue;
}

/*
===============================================
--- RESPONSIVE DESIGN ---
===============================================
*/

@media (max-width: 1024px) {
  /* Adjusted breakpoint for better spacing */
  .navbar nav ul {
    gap: 10px; /* Reduce gap between links */
  }
}

@media (max-width: 992px) {
  .hamburger-menu {
    display: flex; /* Show hamburger */
  }

  .navbar nav ul {
    /* Re-style the UL to become the slide-out menu */
    position: fixed;
    top: 0;
    right: -100%; /* Start off-screen */
    width: 70%;
    max-width: 320px;
    height: 100vh;
    background: var(--secondary-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s ease-in-out;
    padding: 2rem;
    z-index: 1000;
  }

  .navbar nav ul.is-active {
    right: 0; /* Slide in */
  }

  .navbar nav ul li {
    width: 100%;
    text-align: center;
  }

  .navbar nav ul li a {
    font-size: 1.2rem;
    padding: 1rem; /* Add padding for better touch targets */
  }

  .navbar .nav-action-item {
    margin-top: 1rem; /* Add some space above the buttons in mobile menu */
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  .wings-grid {
    flex-direction: column;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .footer .contact-info {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 0.9rem;
  }
  .cta-button {
    padding: 10px 25px;
    font-size: 1rem;
  }
}
