* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: black;
    font-family: 'Courier New', Courier, monospace !important;
    scroll-behavior: smooth;
    overflow-x: hidden;
    letter-spacing: 0.9px;
    
}

/* Navbar */
.navbar {
   background: black;
    color: #fff;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(218, 165, 32, 0.799); /* Added white border */
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color zelo 0.3s;
}

.nav-links a:hover {
    color: #f4a261;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    background: url('images/wapimg.jpg') no-repeat center/cover;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('images/wapimg.jpg') no-repeat center/cover;
    height: 70vh;
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(218, 165, 32, 0.556);
}
@keyframes hero-fade-in-out {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    10% {
        opacity: 1;
        transform: scale(1.03);
    }
    80% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.95);
    }
}

.hero-content h1,
.hero-content p {
    animation: hero-fade-in-out 7s infinite;
}

.spa{
    color: goldenrod;
}
.hero-content {
    display: inline-block;
    animation: hero-dance 8s infinite ease-in-out;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 200;
    
    
}

.hero-content p {
    font-size: 1.7rem;
    color: goldenrod;
}

/* Sections */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(218, 165, 32, 0.556);
}
.sectio{
    padding: 3rem 1rem;
    border-bottom: 1px solid rgba(218, 165, 32, 0.556) !important;
    border-top: 1px solid rgba(218, 165, 32, 0.556) !important;
}
.john-anene-card a{
    /* border-bottom: 5px solid rgba(218, 165, 32, 0.556);
    border-top: 5px solid rgba(218, 165, 32, 0.556);
    border-left: 5px solid rgba(218, 165, 32, 0.556); 
     border-right: 5px solid rgba(218, 165, 32, 0.556); */
     color: goldenrod !important;
     font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.l{
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: white;
}
.clan-section{
    margin-top: 80px;
    
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.section h3 {
    font-size: 1.8rem;
    margin: 1.5rem 0 1rem;
    color: white;
}

.section h4 {
    font-size: 1.4rem;
    margin: 1rem 0 0.5rem;

}

.section p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: whitesmoke;
    text-align:left!important;
    word-break: break-word!important;
    white-space: normal;
    hyphens: auto;
}

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.grid-containers {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.grew{
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    display: grid;
    gap: 1rem;

}
.claz{
    margin-bottom: 80px!important;
}
.q{
    color: rgba(255, 255, 255, 0.514)!important;
    font-size: 15px!important;
}

.grid-item {
    background: rgba(255, 255, 255, 0);
    color: rgb(255, 255, 255);
    padding: 1rem;
    border: 2px solid goldenrod;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(218, 165, 32, 0.673);
    transition: transform 0.3s, box-shadow 0.3s;
    font-size: 17px;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px goldenrod;
}

/* Flex Layout */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.flex-item {
    flex: 1 1 200px;
    background: #f9f9f9;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.flex-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Image Placeholder */
.image-placeholder {
    margin: 2rem 0;
    text-align: center;
}

.image-placeholder img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.caption {
    font-size: 0.9rem;
    color: goldenrod!important;
    margin-top: 0.5rem;
    text-align: center
}
/* ...existing code... */

/* Pop-in and pop-out animation for images */
@keyframes pop-in-out {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    10% {
        opacity: 1;
        transform: scale(1.08);
    }
    20% {
        transform: scale(0.97);
    }
    30% {
        transform: scale(1.03);
    }
    40% {
        transform: scale(0.98);
    }
    50% {
        transform: scale(1.05);
    }
    60% {
        transform: scale(1);
    }
    80% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.7);
    }
}

.image-placeholder img {
    animation: pop-in-out 9s infinite cubic-bezier(.68,-0.55,.27,1.55);
    transition: box-shadow 0.3s;
    border-radius: 16px;
    box-shadow: 0 4px 24px 0 #ffd70055, 0 1.5px 8px #18181c44;
}
.image-placeholderz img {
    animation: pop-in-out 9s infinite cubic-bezier(.68,-0.55,.27,1.55);
    transition: box-shadow 0.3s;
    border-radius: 16px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    
}

.image-placeholders img {
    animation: pop-in-out 9s infinite cubic-bezier(.68,-0.55,.27,1.55);
    transition: box-shadow 0.3s;
    border-radius: 16px;
    
}
.image-placeholders {
    margin: 2rem 0;
    text-align: center;
}
/* .d{
    padding-top: 40px !important;
} */

.image-placeholders img {
    width: 50%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ...existing code... */

/* Read More Button */
#read-more-btn {
    background: rgba(255, 255, 255, 0.126);
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    margin: 1rem 0;
    justify-content: center;
    transition: background 0.3s;
}

#read-more-btn:hover {
    background: rgba(218, 165, 32, 0.716);
}
#read-more-btn a{
    text-decoration: none;
    color: white;
}

.hidden {
    display: none;
}

/* Footer */
footer {
    background: black;
    color: #fff;
    text-align: center;
    padding: 1rem;
}
.image-placeholder video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#ok{
    font-size: 18px;
}

.john-anene-card {
  max-width: 400px;
  margin: 20px auto;
  padding: 16px;
  background: rgba(255, 255, 255, 0.081) !important;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(204, 148, 8, 0.799);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.john-anene-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.john-anene-card img {
  width: 100%;
  height: 50VH;
  border-radius: 12px;
  margin-top: 12px;
  transition: transform 0.3s ease;
}

.john-anene-card:hover img {
  transform: scale(1.03);
}

.john-anene-card a {
  display: block;
  font-size: 1.3rem;
  font-weight: bold;
  text-decoration: none;
  color: white;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.john-anene-card a:hover {
  color: rgba(218, 165, 32, 0.752);
}

/* ✅ Responsive adjustments */
@media (max-width: 768px) {
  .john-anene-card {
    max-width: 90%;
    padding: 12px;
  }

  .john-anene-card a {
    font-size: 1.1rem;
  }
 
  .image-placeholders img {
    width: 70%;
  }
}
@media (max-width: 480px) {
  .john-anene-card {
    padding: 10px;
    border-radius: 12px;
  }

  .john-anene-card a {
    font-size: 1rem;
  }
}

/* Responsive Design */
@media (max-width: 500px){
    
    .image-placeholders img {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: black;
        padding: 1rem;
        border-top: 1px solid rgba(218, 165, 32, 0.556);
        border-bottom: 1px solid rgba(218, 165, 32, 0.556);
        

    }

    .nav-links.active {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 3.6rem;
    }

    .hero-content p {
        font-size: 1.5rem;
    }

    .section {
        padding: 2rem 1rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .section h3 {
        font-size: 1.5rem;
    }

    .grid-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .flex-item {
        flex: 1 1 150px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 80vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.4rem;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .flex-item {
        flex: 1 1 100%;
    }
}









.bio-section {
    padding: 50px 30px;

    
}
.w{
    color: rgba(218, 165, 32, 0.837);
}
.bio-container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}
.bio-image img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;

    
}
.bio-details {
    flex: 1 1 320px;
    min-width: 260px;
}
.bio-details h2 {
    margin-top: 0;
    
    font-size: 2rem;
}
.bio-details ul {
    margin: 0 0 0 20px;
    padding: 0;
}
.bio-gallery {
    margin-top: 40px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 12px;
}
.gallery-grid img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
@media (max-width: 800px) {
    .bio-container {
    flex-direction: column;
    align-items: center;
    }
    .bio-image img {
    width: 100%;
    height: 60vh;
    }
    .children-section .child-card img {
    width: 100% !important;
}
}



.bio-container{
    border-bottom: 1px solid goldenrod !important;
    
}


.carousel {
  
  max-width: 600px;   /* adjust as needed */
  overflow: hidden;
  position: relative;
  border-radius: 12px;
}

.carousel .bio-image {
  display: flex;

  transition: transform 0.8s ease-in-out;
}

.carousel .bio-image img {
  
  flex: 1 0 100%;
  object-fit: cover;
}

.wife-details p{
    color: white !important;
    
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
}
.wife-section {
    
    align-items: center;
    gap: 24px;
    margin: 32px 0;
    
    padding: 24px;
    border-radius: 12px;
}

.wife-details h1 {
    margin-top: 0;
    color: white;

}
.wife-details h4{
    font-size: 17px;
}
@media (max-width: 700px) {
    .wife-section {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
    }
    
}

.children-section{
    border-top: 1px solid goldenrod !important;
    padding-top: 25px;
    
}

.child-card h4{
    font-size: 23px;
    color: white;

}







/* Admin edit form styles */
.child-card form {
    background-color: rgba(218, 165, 32, 0.197);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    text-align: left;
}
.child-card form label {
    font-size: 0.95em;
    color: white;
    display: block;
    margin-bottom: 6px;
}
.child-card form input[type="text"] {
    width: 100%;
    padding: 5px;
    margin-bottom: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.child-card form input[type="file"] {
    margin-bottom: 8px;
}
.child-card form button {
    background: goldenrod;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 16px;
    cursor: pointer;
    font-size: 0.95em;
    transition: background 0.2s;
}
.child-card form button:hover {
    background: rgba(218, 165, 32, 0.627);
}

@media (max-width: 800px) {
    .children-list {
        flex-direction: column;
        align-items: center;
    }
    .child-card {
        width: 95%;
        margin-bottom: 16px;
    }
}

/* Make children section images responsive */
.children-section .child-card img {
    width: 50%;
    height: auto;
    display: block;
    border-radius: 8px;
}
.children-section .children-list .child-card {
    margin: 25px;
}