/* ===================== */
/* General & Reset       */
/* ===================== */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #0a0a0a;
  color: #e0e0e0;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
}

.content-wrapper {
  flex: 1; /* ensures footer stays at bottom */
}

/* ===================== */
/* Navbar                */
/* ===================== */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1030;
  background-color: #000;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 12px rgba(0,198,255,0.3);
}

.navbar-brand {
  font-family: 'Orbitron', sans-serif;
  color: #00c6ff !important;
  display: flex;
  align-items: center;
  font-size: 1.5rem;
}

.navbar-brand img {
  height: 40px;
  margin-right: 10px;
}

.nav-link {
  color: #ccc !important;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: #00c6ff !important;
  border-bottom: 2px solid #00c6ff;
}

/* ===================== */
/* Hero Section          */
/* ===================== */
.hero {
  text-align: center;
  padding: 6rem 1rem 4rem;
  background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
              url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
}

.hero h1 {
  font-size: 2.5rem;
  color: #00c6ff;
  margin-bottom: 1rem;
}

.hero p {
  color: #ccc;
  font-size: 1.1rem;
}

/* ===================== */
/* Intro Section         */
/* ===================== */
.intro p {
  color: #bbb;
  max-width: 700px;
  margin: 2rem auto;
  text-align: center;
}

/* ===================== */
/* Services & Projects   */
/* ===================== */
.services, .projects, .contact-section {
  padding: 4rem 1rem;
}

.services {
  background-color: #0d0d0d;
}

.services h2,
.projects h2,
.contact-section h2 {
  text-align: center;
  color: #00c6ff;
  margin-bottom: 2rem;
}

.service-card, .project-preview {
  background-color: #111;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover, .project-preview:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,198,255,0.2);
}

.service-icon {
  font-size: 2rem;
  color: #00c6ff;
  margin-bottom: 1rem;
}

.project-preview img,
.project-preview video {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.project-preview h6 {
  color: #00c6ff;
  margin-top: 0.75rem;
}

/* ===================== */
/* CTA Section           */
/* ===================== */
.cta-section {
  padding: 5rem 1rem;
  text-align: center;
  color: #fff;
  background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)),
              url('https://images.unsplash.com/photo-1581090700227-1f9e88c9b3c8?auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
}

.cta-section h3 {
  color: #00c6ff;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: #ccc;
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn-neon {
  background: none;
  border: 2px solid #00c6ff;
  color: #00c6ff;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
  transition: 0.3s ease;
  text-decoration: none;
}

.btn-neon:hover {
  background-color: #00c6ff;
  color: #000;
}

/* ===================== */
/* Contact Section       */
/* ===================== */
.contact-section form {
  background-color: #111;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,198,255,0.1);
  max-width: 700px;
  margin: auto;
}

.contact-section input,
.contact-section textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  color: #000;
}

.contact-section input::placeholder,
.contact-section textarea::placeholder {
  color: #666;
}

.contact-section button {
  background-color: #00c6ff;
  border: none;
  padding: 0.6rem 1.2rem;
  color: #000;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
}

/* ===================== */
/* Footer Section        */
/* ===================== */
.footer-section {
  background-color: #000;
  color: #ccc;
  padding: 4rem 1rem 2rem;
}

.footer-logo {
  height: 50px; /* maintain logo size */
  width: auto;  /* keep aspect ratio */
  margin-bottom: 1rem;
}

.footer-section a {
  color: #00c6ff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-section a:hover {
  text-decoration: underline;
}

/* Quick Links & Contact Fixes */
.footer-section .quick-links,
.footer-section .contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section .quick-links li,
.footer-section .contact-list li {
  margin-bottom: 0.6rem;
}

.footer-section .quick-links li a,
.footer-section .contact-list li a {
  color: #00c6ff;
  text-decoration: none;
}

.footer-section .quick-links li a:hover,
.footer-section .contact-list li a:hover {
  color: #0dcaff;
  text-decoration: underline;
}

.footer-section .contact-list li {
  display: flex;
  align-items: center;
}

.footer-section .contact-list li i {
  width: 25px;
  text-align: center;
  margin-right: 10px;
  font-size: 1.1rem;
}

.footer-section h5 {
  font-weight: 700;
  color: #00c6ff;
  margin-bottom: 1rem;
}

/* Keep columns stacked naturally, don’t force flex */
.footer-section .row > div {
  margin-bottom: 1.5rem;
}

/* Footer bottom */
footer {
  flex-shrink: 0;
  color: #666;
  text-align: center;
  padding: 1rem 0;
  background-color: #000;
  border-top: 1px solid #222;
}

/* ===================== */
/* Reveal Animations      */
/* ===================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* ===================== */
/* Portfolio Section CSS */
/* ===================== */

/* Ensure portfolio section isn't hidden behind navbar */
body {
  padding-top: 80px; /* matches navbar height */
}

/* Section title */
.portfolio-section .section-title {
  text-align: center;
  color: #00c6ff;
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* Row spacing */
.portfolio-section .row.g-4 {
  gap: 1.5rem;
  justify-content: center;
}

/* Project cards */
.project-preview {
  background-color: #111;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  margin-bottom: 1rem;
  max-width: 320px; /* ensures uniform width */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.project-preview:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,198,255,0.3);
}

/* Media container */
.media-container {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: #0a0a0a;
  margin-bottom: 0.75rem;
  padding: 2px;
}

.media-container img,
.media-container video {
  max-height: 100%;
  width: auto;
  object-fit: cover;
  border-radius: 8px;
}

/* Project title */
.project-preview h6 {
  color: #00c6ff;
  font-weight: 600;
  font-size: 1rem;
  margin: 0.5rem 0;
}

/* Project description */
.project-preview p {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

/* Center project cards in their column */
.row > .col-12.col-md-4 {
  display: flex;
  justify-content: center;
}

/* Buttons */
.btn-neon {
  background: none;
  border: 2px solid #00c6ff;
  color: #00c6ff;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
  transition: 0.3s ease;
  text-decoration: none;
}

.btn-neon:hover {
  background-color: #00c6ff;
  color: #000;
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .media-container {
    height: 150px;
  }
}
/* ===================== */
/* Footer Section Unified */
/* ===================== */
.footer-section {
  background-color: #000;
  color: #ccc;
  padding: 4rem 1rem 2rem;
  flex-shrink: 0;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-section h5 {
  font-weight: 700;
  color: #00c6ff;
  margin-bottom: 1rem;
}

.footer-section a {
  color: #00c6ff;
  text-decoration: none;
  transition: 0.3s;
}

.footer-section a:hover {
  text-decoration: underline;
  color: #0dcaff;
}

.footer-section .quick-links,
.footer-section .contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section .quick-links li,
.footer-section .contact-list li {
  margin-bottom: 0.6rem;
}

.footer-section .contact-list li {
  display: flex;
  align-items: center;
}

.footer-section .contact-list li i {
  width: 25px;
  text-align: center;
  margin-right: 10px;
  font-size: 1.1rem;
}

.footer-bottom {
  text-align: center;
  color: #666;
  padding: 1rem 0;
  border-top: 1px solid #222;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .footer-section .row > div {
    text-align: center;
  }
  .footer-section .contact-list li {
    justify-content: center;
  }
}
