
body, html {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /**Full viewport height */
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}


body::before {
  content: "Welcome to AM Photography KE";
  position: fixed;
  inset: 0;
  background: url('img/Home-page-AM-Photography-Colour.jpg') no-repeat center center fixed;
  background-size: cover;
  z-index: -1;
  filter: blur(20px);
  animation: blurIn 2s ease-out forwards;
  transform: scale(1.05); /* slight zoom for parallax feel */
}

@keyframes blurIn {
  0% {
    opacity: 0;
    filter: blur(30px);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
  }
}


      /* Loader */
      #loader {
      position: fixed;
      width: 100vw;
      height: 100vh;
      background: #000;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1000;
      animation: fadeOut 2s ease 3s forwards;
    }

    @keyframes fadeOut {
      to { opacity: 0; visibility: hidden; }
    }

    .logo {
      font-size: 3rem;
      color: white;
      animation: zoomIn 2s ease-in-out infinite alternate;
    }

    @keyframes zoomIn {
      0% { transform: scale(1); opacity: 0.8; }
      100% { transform: scale(1.1); opacity: 1; }
    }

    /**Animated logo */
.circle-wrapper {
  position: relative;
  width: 150px; /* Adjust size as needed */
  height: 150px;
}

.profile-image {
  width: 100%;
  height: 100%;
  border-radius: 50%; /* Makes the image circular */
  object-fit: cover;
  position: relative;
  z-index: 2;
}

.animated-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-top: 4px solid #00f; /* Color of the animated circle */
  border-radius: 50%;
  animation: spin 2s linear infinite;
  z-index: 1;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/** STICKY BOTTOM MENU NAVIGATION */

.icon {
  width: 24px;
  height: 24px;
  stroke: #bbb;
  transition: all 0.3s ease;
}

.nav-item:hover .icon {
  stroke: #00d4ff;
  transform: scale(1.2);
}

.bottom-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #000000;
  border-radius: 30px;
  display: flex;
  padding: 10px 20px;
  /**box-shadow: 0 8px 10px #FFD700;*/
  z-index: 1000;
}
.bottom-nav {
  box-shadow: none !important;
}


.nav-item {
  color: #bbb;
  text-decoration: none;
  text-align: center;
  margin: 0 15px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-item i {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.nav-item span {
  font-size: 0.75rem;
  margin-top: 5px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.nav-item:hover {
  color: #fff;
  transform: translateY(-5px);
}

.nav-item:hover i {
  transform: scale(1.4);
  color: #00d4ff;
}

.nav-item:hover span {
  opacity: 2;
  color: #FFD700;
}

.nav-item.active {
  color: gold;
}

.nav-item.active .icon {
  stroke: gold;
}

/** Contact form and Social icons styling */
.social-panel {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
}

.social-toggle {
  background: gold;
  color: black;
  border: none;
  padding: 10px 5px;
  cursor: pointer;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.social-toggle:hover {
  box-shadow: 0 0 15px gold, 0 0 25px rgba(255, 215, 0, 0.6);
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-5px); }
  60%  { transform: translateY(2px); }
  100% { transform: translateY(0); }
}


.social-toggle i {
  font-size: 20px;
}

.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-weight: bold;
  font-size: 14px;
  transform: rotate(180deg);
  letter-spacing: 1px;
}



.social-links {
  display: none;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.8);
  padding: 10px;
  gap: 12px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.social-links a,
.social-links button {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  background: transparent;
  border: none;
  font-size: 16px;
  padding: 5px 10px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.social-links i {
  font-size: 24px;
  color: white;
  transition: transform 0.3s ease;
}

.social-links a:hover,
.social-links button:hover {
  color: gold;
}

.social-links a:hover i,
.social-links button:hover i {
  transform: scale(1.2);
  color: gold;
}


/* Contact Modal */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.hidden {
  display: none;
}

.form-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  position: relative;
}

#close-form {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}
form button {
  background: gold;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
}

.services-container {
  position: relative;
  background-image: url('your-background-image.jpg'); /* Use your actual image path */
  background-size: cover;
  background-position: center;
  height: 100vh; /* Adjust based on how large you want the section */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.services-text {
  text-align: center;
  color: white;
  font-family: 'Segoe UI', sans-serif;
  font-weight: bold;
  letter-spacing: 2px;
  opacity: 0;
  animation: fadeInText 2s ease-out forwards;
}

.service-item {
  font-weight: normal;
  font-size: 1rem;
  text-align: center;
  flex-wrap: wrap;
  word-wrap: break-word;
  padding: 0 10px;
}

@media (max-width: 600px) {
  .service-item {
    font-size: 0.9rem; /* smaller on small screens */
  }
}



.service-item:nth-child(1) {
  animation-delay: 0.5s; /* Delay the first service item */
}

.service-item:nth-child(2) {
  animation-delay: 3s; /* Delay the second service item */
}

@keyframes fadeInText {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%; /* Fill the width of the text to simulate typing */
  }
}

@keyframes fadeInItems {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* WHATSAP LIVE CHAT BOX */

body{width:100%}
*{margin:0px;padding:0px;box-sizing:border-box;}
#whats-chat{position:fixed;right:3%;bottom:10%;height:auto;width:auto;background:#25D366;padding:12.5px;border-radius:50px;}
#whats-chat:hover{cursor:pointer;box-shadow:2px 2px 15px #ccc;bottom:11%;}
/*===============================*/
#chat-box{position:fixed;right:-500px;bottom:18%;width:250px;height:200px;transition:all .5s;}
#chat-top{width:100%;line-height:2;background:rgb(18, 140, 126);color:white;text-align:center;border-radius:5px 5px 0 0;padding:0 10px;}
#chat-msg{background:#ece5dd;padding:10px;border-radius:0 0 5px 5px;box-shadow:0 0 25px -10px #999;}
#chat-msg p{font-size:10px;padding:5px;background:white;border-radius:0 50px 50px 50px;margin-bottom:10px;}
#chat-form{display:flex;}
.chat-in{width:80%;}
#chat-form input{border-radius:5px 0 5px 5px;border:none;outline:none;font-size:14px;padding:5px;line-height:2;}
#send-btn{width:20%;padding: 0 5px;}
#chat-top-right{float:right;padding:5px 0;}
#chat-box:after{content:'';
    position: absolute;
    top:58%;
    left: 90%;
    width: 0;
    height: 0;
    border-top: 25px solid transparent;
  border-bottom: 25px solid transparent; 
  
  border-right:25px solid #ece5dd;}
.right{float:right}
.clear{clear:both}



