/* General layout */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Georgia', serif;
    background-color: #0b0f1a;
    color: #f0f0f0;
    scroll-behavior: smooth;
    min-height: 100%;
    height: auto;
}

/* Header */
header {
    text-align: center;
    padding: 20px;
    background-color: #111827;
    box-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

header img {
    width: 200px;
    animation: glow 2s ease-in-out infinite alternate;
}

/* Navigation */
nav {
    background-color: #1f2937;
    padding: 10px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

nav a {
    margin: 0 15px;
    color: #f9fafb;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #38bdf8;
}
/* Center section titles */
section > h2 {
  text-align: center;
  font-size: 2.4rem;   /* optional: bump the size */
  margin: 0 0 1.2rem;  /* tighten spacing if you like */
}

/* ---------- Section formatting ---------- */
section {
  padding: 40px;
  border-bottom: 1px solid #444;
  scroll-margin-top: 100px;
  text-align: center;          /* centre headings & paragraphs */
}

section p {
  max-width: 900px;
  margin: 20px auto;
  line-height: 1.6;
}

/* ---------- Image gallery ---------- */
section img {
  width: 30%;                  /* three cols on desktop */
  max-width: 400px;
  height: auto;
  margin: 0.5rem;
  display: inline-block;
  vertical-align: top;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(255,255,255,.15);
}

/* Wide hero override (keep only if you need it) */
.ai-island-img {
  width: 90%;
  max-width: none;
  display: block;
  margin: 20px auto;
  box-shadow: 0 0 20px rgba(0,255,255,.2);
}

/* ---------- Mobile tweaks ---------- */
@media (max-width: 900px) {
  section img { width: 48%; }  /* two per row */
}
@media (max-width: 600px) {
  section img { width: 100%; } /* single column on phones */
}

/* ---------- Generic image defaults ---------- */
img {
  max-width: 100%;
  height: auto;
}

/* ---------- Glowing logo animation ---------- */
@keyframes glow {
  from { filter: drop-shadow(0 0 10px #38bdf8); }
  to   { filter: drop-shadow(0 0 20px #60a5fa); }
}


/* Glowing logo animation */
@keyframes glow {
    from { filter: drop-shadow(0 0 10px #38bdf8); }
    to   { filter: drop-shadow(0 0 20px #60a5fa); }
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #111827;
    font-size: 0.9em;
    color: #888;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;  
  margin: 0.5rem;        
}