
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: #0d1117;
    color: #d0e6ff;
    line-height: 1.6;
}

/* Navbar (full width) */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: #111;
    z-index: 1000;
    padding: 15px 40px;
    height: 64px;
}
.box-link {
  text-decoration: none;   /* removes underline */
  color: inherit;          /* inherits the text color of the parent */
  display: block;          /* makes the <a> behave like a block container */
}

.box-link:visited {
  color: inherit;          /* stops purple text after clicking */
}

.box-link:hover {
  color: inherit;          /* keeps text color the same on hover */
}

.box-link:active {
  color: inherit;          /* prevents red text when clicking */
}


.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
}

/* Logo */
.logo {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 700;
    color: #3da9fc;
    white-space: nowrap;
    overflow: hidden;
    width: 0ch; /* expanded with GSAP */
    border-right: 2px solid #3da9fc;
    z-index: 1100;
}

/* Nav links */
.nav-links {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 20px;
    z-index: 1100;
}
.nav-links a {
    color: #d0e6ff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}
.nav-links a:hover { color: #3da9fc; }

/* Hamburger */
.hamburger {
    display: none;
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1200;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #d0e6ff;
    border-radius: 2px;
}

/* Mobile */
@media (max-width: 768px) {
    .navbar { padding: 12px 20px; height: auto; }

    .logo {
    position: static;
    width: auto !important;
    border-right: none !important;
    display: inline-block;
    transform: none;
    }

    .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: #111;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    width: 220px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    display: none;
    }
    .nav-links.open { display: flex; }

    .hamburger { display: flex; }
}

/* Content */
.home { padding-top: 100px; text-align: center; }
.home h1 { font-size: 36px; margin-bottom: 40px; color: #3da9fc; }
.p_a{ padding: 0 40px; max-width: 1000px; text-align: left; margin: 0 auto; margin-bottom: 20px;}
.h2_p {
    text-align: left;
    margin-left: 40px;
    margin-bottom: 10px;
    color: rgb(61, 137, 252);
}
.p_p {
    text-align: left;
    margin-left: 40px;
    margin-bottom: 25px;
    margin-right: 40px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  max-width: 900px;
  padding: 0 20px;
  margin: 0 auto;
  justify-items: center; /* makes centering easier */
  justify-content: center;
}

.photo-grid figure {
  text-align: center;
}

.photo-grid img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.photo-grid figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: #ddd; /* adjust to match your dark theme */
}

/* Force the last 2 images (row 2) to be centered */
.photo-grid figure:nth-child(4),
.photo-grid figure:nth-child(5) {
  grid-column: span 1;
}


.boxes {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}
.box {
    width: 300px;
    padding: 20px;
    background: rgba(20,20,30,0.9);
    border: 1px solid rgba(61,169,252,0.3);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    transition: transform 0.3s, box-shadow 0.3s;
}
.box:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(61,169,252,0.3);
}
.box_p {
    width: 1000px;
    padding: 20px;
    background: rgba(20,20,30,0.9);
    border: 1px solid rgba(61,169,252,0.3);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    transition: transform 0.3s, box-shadow 0.3s;
}
.box_p:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(61,169,252,0.3);
}

.contact { margin-top: 70px; font-size: 18px; text-align: center; }
.contact-links { margin-top: 15px; margin-bottom: 30px; display: flex; gap: 20px; justify-content: center; }
.contact-links a { text-decoration: none; color: #2d8dfc; font-weight: bold; transition: color 0.3s; }
.contact-links a:hover { color: #5ab4ff; }