/* ===========================
   Global + Layout
   =========================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "Teko", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #020308;
  color: #fdfdfd;
  line-height: 1.4;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}
body.header-visible #main {
  margin-left: 0 !important;
}
/* Main layout: fixed sidebar + content */
/* Fix burger menu positioning */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;          /* sidebar width */
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: radial-gradient(circle at top left, #101326 0%, #05060d 55%, #020308 100%);
  box-shadow: 0 0 40px rgba(0,0,0,0.85);
  z-index: 9000;
}

#header .top {
  padding: 22px 20px 10px;  /* top, right, bottom; left */
}


#main {
  margin-left: 280px;
  min-height: 100vh;
  background: #020308;
}

/* ===========================
   Sidebar: Logo + Text
   =========================== */
.skip-link {
  position: absolute;
  top: 10px;
  left: -999px;
  background: #000;
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  z-index: 10001;
  text-decoration: none;
}

.skip-link:focus {
  left: 12px; /* appears only when using keyboard */
}


#logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

#logo .image {
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(0, 255, 140, 0.7),
    0 10px 25px rgba(0, 0, 0, 0.8);
  object-fit: cover;
}

#logo #title {
  margin: 6px 0 0;
  font-size: 1.9rem;
  letter-spacing: 0.05em;
  color: #a02bff;
  text-shadow: 0 0 15px rgba(160, 43, 255, 0.9);
}

#logo p {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: #3dfd7a;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: #3dfd7a;
}

.educationelementstextcolor h1,
.educationelementstextcolor h2 {
  margin: 0;
  font-size: 2.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: linear-gradient(-45deg, rgb(45, 45, 248), rgb(4, 189, 35),
                              #23a6d5, #23d5ab, #f8d300);
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradient 15s ease infinite;
  background-size: 400% 400%;
}

/* ===========================
   Sidebar Navigation
   =========================== */

#nav {
  margin-top: 32px;
}

#nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#nav li {
  margin: 10px 0;
}

#nav a {
  display: block;
  text-decoration: none;
  color: #b94cff;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  padding: 10px 14px;
  border-radius: 18px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease,
    box-shadow 0.25s ease;
}

#nav a span.icon {
  display: inline-block;
}

#nav a:hover,
#nav a:focus {
  background: radial-gradient(
    circle at 0 0,
    #29ffb3 0%,
    #612bff 35%,
    #e700ff 100%
  );
  color: #fdfdfd;
  transform: translateX(3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
}

/* optional "current" item style */
#nav a.active {
  background: linear-gradient(135deg, #29ffb3, #b94cff);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
}

/* ===========================
   Sidebar bottom socials
   =========================== */

/* Tidy the social icons block */
#header .bottom {
  margin-top: auto;
  padding: 20px 24px 26px;
}

#header .icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

#header .icons li a {
  color: #007bff; /* your electric blue */
  font-size: 0.95rem;
  text-decoration: none;
}

#header .icons li a:hover {
  text-decoration: underline;
}

/* ===========================
   Main Content: global
   =========================== */

#main img {
  max-width: 100%;
  display: block;
}

/* base content wrapper */
.collegecontenttest {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #f6f6ff;
  text-align: center;
}

/* gradient bars / section headers (WELCOME, PORTFOLIO, CONTACT etc.) */
.educationelementstextcolor {
  margin: 26px auto 18px;
  background: linear-gradient(-45deg, rgb(45, 45, 248), rgb(4, 189, 35), #23a6d5, #23d5ab, #f8d300);
  padding: 14px 10px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}



#nav a .fa {
  margin-right: 8px;
}

/* YouTube placeholder container */
.yt-placeholder {
  margin-top: 10px;
  width: 100%;
  height: 315px;
  border-radius: 18px;
  cursor: pointer;
  position: relative;

  /* nice background behind the button */
  background: radial-gradient(circle at top,
    #1b1f3b 0%,
    #050814 55%,
    #020308 100%);
  box-shadow: 0 10px 26px rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-thumb {
  text-align: center;
}

/* the actual play button */
.yt-play-btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;

  color: #fff;
  text-shadow: 0 0 8px rgba(0,0,0,0.9);

  /* COLOURFUL gradient */
  background-image: linear-gradient(135deg,#29ffb3,#b94cff,#fffb00);
  box-shadow:
    0 10px 25px rgba(0,0,0,0.9),
    0 0 14px rgba(0,255,160,0.8);

  border: none;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.yt-placeholder:hover .yt-play-btn {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 16px 35px rgba(0,0,0,0.95),
    0 0 18px rgba(0,255,200,0.9);
}





/* smaller section headings like AR-AI-MRK Apps etc */
.parent-container {
  max-width: 1100px;
  margin: 20px auto 0;
  padding: 0 20px;
  text-align: center;
}

.parent-container h3 {
  margin: 0;
  font-size: 2.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #41ffb6, #b94cff, #ff9100);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* links in main content
   (we'll keep underline for normal text links but NOT buttons) */
#main a {
  color: #ffffff;
  
  text-decoration: none;
  font-weight: 500;
}

#main a:hover:not(.buttoncolor) {
  text-decoration: underline;
}

/* ===========================
   Category buttons (AR Projects, etc.)
   =========================== */

/* Main category buttons: AR Projects / Websites / Games & Apps / Education */
.buttoncolor {
  display: inline-block;
  padding: 18px 46px;
  margin: 10px 8px;
  border-radius: 22px;

  /* Yellow → Pink → Purple/Blue (diagonal right→left) */
  background-image: linear-gradient(45deg, #0752f5 0%, #6200ff 33%, #fa07a9 66%, #fffb00ec 100%);

  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .03em;
  text-align: center;

  border: none;
  box-shadow: 0 14px 35px rgba(0,0,0,.7),
              0 0 12px rgba(0,255,120,.7);

  transition: transform .18s ease, box-shadow .18s ease;
}

.buttoncolor:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(0,0,0,.8),
              0 0 18px rgba(0,255,160,.9);
}


/* On larger screens, let them size to content again */
@media (min-width: 900px) {
  .buttoncolor {
    width: auto;
  }
}

/* ===========================
   Cards (projects)
   =========================== */

.card-container {
  max-width: 1200px;
  margin: 26px auto 10px;
  padding: 0 20px 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  background: #ffffff;
  color: #151515;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.75);
  display: flex;
  flex-direction: column;
}

.card-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.card-content {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-title {
  margin: 0 0 4px;
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  text-align: center;
  color: #383a4d;
}

.card-description {
  margin: 4px 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #35374a;
}

/* embedded videos */
.card-content iframe {
  margin-top: 10px;
  width: 100%;
  min-height: 210px;
  border-radius: 18px;
  border: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}

/* ===========================
   Software Used grid
   =========================== */

/* keep heading + paragraph normal */
#tech {
  text-align: center;
}

#tech > p.collegecontenttest {
  max-width: 700px;
  margin: 0 auto 16px;
}

/* make the software icons wrap in a nice grid */
#tech a {
  display: inline-block;
}

.collegeimg {
  width: 160px;        /* choose size you prefer */
  height: 160px;       /* NEW → forces same height */
  object-fit: cover;   /* crops nicely but evenly */
  border-radius: 22px;
  margin: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.8);
}

.collegeimg:hover {
  transform: translateY(-4px);
  filter: brightness(1.08);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.9);
}

/* More columns on big screens, fewer on smaller */
@media (min-width: 1200px) {
  .collegeimg {
    width: 200px;
  }
}

/* ===========================
   Contact form
   =========================== */

#contact form {
  max-width: 650px;
  margin: 0 auto;
  padding: 10px 20px 24px;
  text-align: left;
}

#contact label.contactcolor {
  display: block;
  margin: 10px 0 4px;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2affff;
}

.educationelements input[type="text"],
.educationelements input[type="email"],
.educationelements textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid #3b4a68;
  padding: 10px 12px;
  font-size: 1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #050814;
  color: #fdfdfd;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.7);
}

.educationelements textarea {
  resize: vertical;
  min-height: 120px;
}

.educationelements input:focus,
.educationelements textarea:focus {
  border-color: #29ffb3;
  box-shadow: 0 0 0 1px #29ffb3, 0 0 12px rgba(41, 255, 179, 0.8);
}

/* ===========================
   Footer
   =========================== */

#footer {
  padding: 24px 10px 32px;
  text-align: center;
  font-size: 0.95rem;
  color: #8d9ac0;
}

#footer .copyright {
  list-style: none;
  margin: 0;
  padding: 0;
}

#footer .copyright li {
  margin: 2px 0;
}

/* ===========================
   Burger / Mobile Nav
   =========================== */

/* Toggle (created in HTML or via JS) */
.navPanelToggle {
  display: none; /* default hidden on desktop */
  position: fixed;
  right: 1.2em;
  top: 1.2em;
  height: 2.75em;
  width: 3.25em;
  z-index: 10001;
  border-radius: 999px;
  background: linear-gradient(135deg, #29ffb3, #b94cff);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
  text-align: center;
  line-height: 2.75em;
}

.navPanelToggle .fa {
  color: #ffffff;
  font-size: 1.4rem;
}

/* basic off-canvas panel styles if main.js creates #navPanel */
#navPanel {
  display: none;
  position: fixed;
  right: 0;
  top: 0;
  width: 80%;
  max-width: 280px;
  height: 100vh;
  background: #050814;
  box-shadow: -12px 0 30px rgba(0, 0, 0, 0.85);
  z-index: 10000;
  padding: 60px 20px 20px;
}

/* ===========================
   Responsive
   =========================== */

/* Large tablets / smaller laptops */
@media (max-width: 1200px) {
  .educationelementstextcolor h1 {
    font-size: 2.3rem;
    letter-spacing: 0.22em;
  }
}

/* Desktop: hide the burger icon because sidebar is always visible */
@media (min-width: 981px) {
  .navPanelToggle {
    display: none;
  }
}

/* Tablets + Mobiles: header becomes slide-in drawer controlled by header-visible */
@media (max-width: 980px) {

  /* Our burger */
  .navPanelToggle {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 10000;
    display: block;
    font-size: 24px;
    color: #ffffff;
    text-decoration: none;
  }

  /* You can hide the static sidebar toggle that HTML5UP creates if needed */
  #headerToggle {
    display: none;
  }

  /* Header as left slide-in panel */
  #header {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    width: 260px;          /* slightly narrower if you want */
    height: 100vh;
  }

  #header .bottom {
    padding-bottom: 20px;
  }

  /* When body gets header-visible (your click), slide panel in */
  body.header-visible #header {
    transform: translateX(0);
  }

  /* Main content fills full width on mobile */
  #main {
    margin-left: 0;
  }

  /* Slightly tighter content padding */
  .collegecontenttest {
    padding: 20px 14px;
  }

  /* Cards stack one per row on mobile */
  .card-container {
    padding: 0 14px 26px;
    grid-template-columns: minmax(0, 1fr);
  }

  /* Optional: hide social icons inside the drawer if you want less height */
  /* #header .bottom { display: none; } */
}

/* Small phones */
@media (max-width: 600px) {
  .educationelementstextcolor h1 {
    font-size: 2rem;
    letter-spacing: 0.16em;
  }

  .card-content iframe {
    min-height: 190px;
  }
}

#headerToggle {
  display: none;
}
