
.hide {
    display: none;
}




body {
    background-image: url(index-images/enyicorp-web-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    margin: 0;
    scroll-behavior: smooth;
    padding-top: 150px; /* Adjust to your navbar height */
    font-family: 'Times New Roman', Times, serif;

 
}

.message {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}
.message.show {
  opacity: 1;
  transform: translateY(0);
}


/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  left: 0;
  z-index: 9999;              /* Ensures no element can overlap it */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); /* Adds nice depth */
}

/* Buttons in the navbar */
.nav-btn {
  background: rgba(0,0,0,1);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}
.nav-btn:hover {
  color: #ff00fb;

}

/* ✅ Scroll spy active link highlight */
.nav-btn.active {
  color: gold;
  font-weight: bold;
  border-bottom: 2px solid gold;
  background: rgba(255, 255, 255, 0.05);
  
}

/* Sections */
.section {
  padding: 50px 20px;
  margin-top: 0px;
  text-align: center;
  scroll-margin-top: 120px; /* Prevents navbar overlap */
}

/* Responsive navbar spacing */
@media (max-width: 768px) {
  section {
    scroll-margin-top: 70px; /* slightly smaller navbar on mobile */
  }
}


/* Quick Links Popup */
.quick-links-popup {
  display: none;
  position: absolute;
  top: 60px;
  left: 20px;
  background:rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  padding: 10px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.quick-links-popup.active {
  display: grid;
  position: fixed;
  margin-top: 90px;
    z-index: 10000;        /* Ensures it appears above other content */
}
.quick-link {
  padding: 8px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  
}
.quick-link:hover {
  background: #0056b3;
}

 .image-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }

 .section {
    margin-bottom: 60px;
    text-align: center;
  }

  .image-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }

  .toggle-image {
    width: 50%;
    border-radius: 12px;
  }

  .round-toggle-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    border: none;
    border-radius: 50%;
    background: #ff00009e;
    color: white;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
  }

  .round-toggle-btn:hover {
    background: #ff0000d3;
  }

  .arrow-icon {
    transition: transform 0.3s ease;
  }

  .hidden-content {
    display: none;
    margin-top: 20px;
    text-align: left;
    padding: 0 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }

  .hidden-content.active {
    display: block;
  }

  .hidden-content.active {
    display: block;
  }
.display-section {
  text-align: center;
  padding: 0px;
  color: white;
  position: relative;
  overflow: hidden;
}

.gallery-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto 0px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
  animation: floatUpDown 2s ease-in-out infinite;
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.gallery-slider {
  display: flex;
  transition: transform 1s ease-in-out;
  width: 100%;
  cursor: grab;
}

.gallery-slide {
  min-width: 100%;
  box-sizing: border-box;
}

.display-images {
  width: 100%;
  max-height: 700px; /* ✅ keeps it elegant and proportional */
  border-radius: 10px;
  object-fit: cover; /* ✅ fills nicely without tall white gaps */
  animation: gentleZoom 3s ease-in-out infinite;
}

@keyframes gentleZoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* Dots */
.gallery-dots {
  text-align: center;

}

.gallery-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 4px;
  background-color: #777;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.gallery-dots .active {
  background-color: gold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gallery-container {
    max-width: 95%;
  }

  .display-images {
    max-height: 255px; /* ✅ keeps mobile look tight */
    
  }
}
     
@media (min-width: 900px) {
  .display-images {
    max-height: 500px;
    object-fit: cover;
  }
}


        .container {
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color:transparent;
            border: 1px solid transparent;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0,0,0,0);
        }
/* Base chat container */
.chat-container {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    border: none;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

/* Fullscreen chat */
.fullscreen {
    width: 100%;
    height: 100vh;
    max-width: none;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgb(77, 4, 90);
    z-index: 9999;
    
    
}



/* Fullscreen button */
.fullscreen-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 24px;
    color: #ffffff;
    background-color: #4d0a41;
    width: 32px;
    border-radius: 7px;
}

/* Clear button, placed under fullscreen button */
.clear-button {
    position: absolute;
    top: 50px; /* Adjusted position to be below the fullscreen button */
    right: 10px;
    cursor: pointer;
    font-size: 24px;
    background-color: transparent;
    border: none;
    text-align: center;
}

/* Chat messages */
.chat-messages {
    padding: 10px;
    height: 300px;
    overflow-y: auto;
}

/* Responsive layout for tablets */
@media (max-width: 768px) {
    .chat-container {
        max-width: 90%; /* Adjust width for smaller screens */
    }

    .chat-messages {
        height: 400px; /* Adjust height */
    }

    .fullscreen-button, .clear-button {
        font-size: 22px;
    }

    .clear-button {
        top: 45px; /* Keep the distance below fullscreen button */
    }
}

/* For mobile devices */
@media (max-width: 480px) {
    .chat-container {
        max-width: 100%;
    }

    .chat-messages {
        height: 200px;
    }

    .fullscreen-button, .clear-button {
        font-size: 20px;
    }

    .clear-button {
        top: 40px; /* Adjust further for smaller screens */
    }
}

/* Responsive chat messages */
.chat-messages {
    padding: 10px;
    height: 300px;
    overflow-y: auto;
}

/* Responsive for tablets and smaller devices */
@media (max-width: 768px) {
    .chat-container {
        max-width: 90%; /* Adjust width for smaller screens */
    }

    .chat-messages {
        height: 250px; /* Reduce height to fit smaller screens */
    }

    .fullscreen-button {
        font-size: 22px; /* Slightly smaller button for smaller screens */
    }
}

/* For mobile devices */
@media (max-width: 180px) {
    .chat-container {
        max-width: 100%; /* Full width on mobile */
        
        
    }

    .chat-messages {
        height: 200px; /* proper height for mobile */
    }

    .fullscreen-button {
        font-size: 20px; /* Smaller fullscreen icon on mobile */
        color: white;
        background-color: #4d0a41;
        width: 32px;
        border-radius: 5px;
        
    }
    .clear-button{
        font-size: 20px; /* Smaller fullscreen icon on mobile */
        color: white;
        background-color: transparent;
        height: 26.67px;
        border-radius: 5px;
        border: none;
    
    }
}

.chat-input {
    width: calc(100% - 20px);
    padding: 10px;
    border: none;
    border-top: 1px solid #ccc;
    outline: none;
    font-size: 16px;
}
.chat-submit {
    width: 100%;
    padding: 10px;
    background-color: #d3137de4;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    
}
/* Customize the focus outline */

.chat-submit:focus {
outline: none;
}
.chat-submit:focus {

box-shadow: 0 0 0 5px rgb(29, 2, 2); /* Change the color and size of the shadow */
; 
}

.chat-submit::-moz-focus-inner {
border: 0;
}



/* Customize the focus outline */

.clear-button:focus {
    outline: none;
    }
    .clear-button:focus {
    
    box-shadow: 0 0 0 5px transparent; /* Change the color and size of the shadow */
    ; 
    }
    
    .clear-button::-moz-focus-inner {
    border: 0;
    }

.all-buttons {
    background-color: transparent;
}

.logo {
    height: 300px;
    margin-bottom: 30px;
    border-radius: 100px;
    border: solid;
}

.display-images {
    height: 370px;
    margin-bottom: 30px;
    border-radius: 20px;
    border: none;
}




div {
    color: white;
    text-align: center;
}

p {
    color: white;
    text-align: center;
    margin-top: 0px;
}


.contact-section {
    margin-top: 4px;
    height: fit-content;
    background-color: transparent;
    padding: 20px;
    border-radius: 10px;
    margin: 4px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.5)
}

.display-section {
    background-color: transparent;
    padding-top: 3px;
    margin-top: 0px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
   
}





/* Business Section Layout */
.business-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap; /* allows stacking on small screens */
  margin: 0 auto;
  text-align: center;
  max-width: 1200px;
}

/* Each business card */
.business-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  width: 45%;
  min-width: 280px;
  color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Images */
.business-card .logo {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .business-card {
    width: 90%;
  }
}


.about-section {
    background-color: rgba(0, 0, 0, 0.2);
    padding-top: 20px;
    margin-top: 0px;
    border-radius: 40px;
    padding: 20px;
}

.chukwudi-enyi {
    height: 100px;
    margin-bottom: 20px;
    border-radius: 20px;
}

.about-text {
    font-size: 16px;
}

/* Animation for button hover effect */
.btn-animation {
    transition: transform 0.3s ease-in-out;
}

.btn-animation:hover {
    transform: scale(1.1);
}

/* Animation for button click effect */
.btn-click-animation {
    transition: transform 0.1s ease-in-out;
}

.btn-click-animation:active {
    transform: scale(0.9);
}

/* Customize the focus outline */

button:focus {
outline: none;
}
/*button:focus {

box-shadow: 0 0 0 5px rgba(241, 17, 170, 0); 
}*/

button::-moz-focus-inner {
border: 0;
}

a:link {
    
    text-decoration: none;
  }
  
  a:visited {
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  a:active {
    text-decoration: underline;
  }

  


  /* Center body content */


/* Container for the bot and the particles */
.meta-bot-container {
    position: relative;
    width: 30px; /* Small, button-like size */
    height: 30px;
}

/* Bot face (central circular element) */
.meta-bot-icon {
    position: relative;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -30%);
    width: 24px; /* Small bot face */
    height: 24px;
    background-color: #d26c6c39; /* Meta blue color */
    border-radius: 50%;
    box-shadow:  0 0 7px rgb(255, 255, 255);
}

/* AI face inner element (for a 3D effect) */
.meta-face {
    width: 12px;
    height: 12px;
    background-color: rgb(172, 72, 72);
    border-radius: 50%;
    margin: auto;
    position: relative;
    top: 6px;
}

/* Orbiting particles (small circles) */
.meta-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background-color: #fdfdfd;
    border-radius: 50%;
    opacity: 0.7;
}

/* Position particles at key points around the circle */
.meta-particle1 {
    top: 0;
    left: 0;
    transform: translateY(-50%);
}

.meta-particle2 {
    top: 0;
    right: 0;
    transform: translateY(-50%);
}

.meta-particle3 {
    bottom: 0;
    left: 0;
    transform: translateY(-50%);
}
.meta-particle4 {
    bottom: 0;
    right: 0;
    transform: translateY(-50%);
        background-color: #ffffff47;
}



/* Keyframe animation for orbiting */
@keyframes orbit {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Apply animation to the entire container */
.meta-bot-container {
    animation: orbit 4s linear infinite;
}

/* Animation for fade-in effect for news*/
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px); /* Start slightly below */
    }
    to {
        opacity: 1;
        transform: translateY(0); /* End in place */
    }
}

/* Class that triggers the fade-in animation */
.fade-in {
    animation: fadeIn 0.8s ease-out; /* 0.8s for smooth appearance */
}




/* Initial hidden state */
.hide {
    display: none;
}

/* Animation for fading in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px); /* Slight slide-up effect */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation for fading out */
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px); /* Slide down slightly */
    }
}

/* Apply the fade-in animation */
.fade-inshowHide {
    display: block;
    animation: fadeIn 0.5s ease-out forwards;
}

/* Apply the fade-out animation */
.fade-outshowHide {
    animation: fadeOut 0.5s ease-out forwards;
}











/* Flash message style */
.flash-message {
    position: absolute;
    top: 0px; /* Adjust to position the message above the meta bot icon */
    right: 0;
    background-color: #0000003e;
    color: #ffffff;
    padding: 2px 2px;
    border-radius: 30px;
    font-size: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    opacity: 1;
    z-index: 100;
}

/* Fade-out animation for the flash message */
@keyframes fadeOutFlash {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.fade-out {
    animation: fadeOutFlash 0.5s ease forwards;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}







/* Mission & Vision Section */
.mission-vision {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 50px 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  border-radius: 15px;
  color: white;
}

.mv-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.6);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.mv-text {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.mv-block {
  background-color: rgba(255,255,255,0.08);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.mv-block h3 {
  color: gold;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mv-block p {
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  font-size: 16px;
}

/* Responsive layout */
@media (max-width: 768px) {
  .mv-container {
    grid-template-columns: 1fr;
  }

  .mv-video, .mv-text {
    width: 100%;
  }
}




/* Core Values Section */
.core-values {
  background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(25,25,25,0.8));
  padding: 60px 20px;
  border-radius: 15px;
  color: white;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  background: rgba(255,255,255,0.07);
  padding: 25px 20px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
}

.value-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.12);
}

.value-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.value-card h3 {
  color: gold;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.value-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .core-values {
    padding: 40px 15px;
  }
  .value-card {
    padding: 20px;
  }
}



.founder-figure{
    text-align:center;
    margin:0;
}



.founder-figure figcaption{
    margin-top:10px;
    font-size:1.1rem;
    font-weight:600;
}

.founder-link{
    color:#0056b3;
    text-decoration:none;
    transition:.3s;
      display: inline-flex;
  align-items: center;
  gap: 0.4rem; /* Adds a small space between the text and icon */
}



.icon-out {
  display: inline-block;
  vertical-align: middle;
}

.founder-link:hover{
    color:#003d82;
    text-decoration:underline;
}