/* =============================
   IFECHIMOG MAIN STYLE.CSS
   ============================= */

/* ROOT COLORS */
:root {
  --purple: #6a0dad;
  --yellow: #ffcc00;
  --white: #ffffff;
  --dark: #1f1f1f;
}

/* GLOBAL LAYOUT FIXES */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content-wrap {
  flex: 1;
}

/* NAVBAR */
.navbar {
  background-color: var(--purple);
}

.navbar-brand, .nav-link {
  color: var(--white) !important;
  transition: color 0.3s ease;
}

.navbar-brand:hover, .nav-link:hover {
  color: var(--yellow) !important;
}

/* Navbar */
.navbar {
  background-color: var(--purple);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar-brand svg {
  max-width: 160px;
  height: auto;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* Mobile logo alignment */
/* @media (max-width: 768px) {
  .navbar .container {
    flex-wrap: nowrap;
  }
  .navbar-brand svg {
    width: 140px;
  }
} */


/* BUTTONS */
.btn-primary {
  background-color: var(--yellow);
  color: var(--purple);
  border: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--purple);
  color: var(--white);
}

/* HERO SECTION / CAROUSEL */
.carousel-item img {
  height: 400px;
  width: 100%;
  object-fit: cover;
}

.carousel-caption {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 2rem;
  border-radius: 12px;
  color: var(--white);
  text-align: left;
  left: 5%;
  right: 5%;
  bottom: 20%;
  position: absolute;
  animation: fadeInDown 1s ease-in-out;
}

.carousel-caption h1 {
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
}

.carousel-caption p {
  font-size: 1.2rem;
}

/* CARDS AND CONTENT SECTIONS */
.card-shadow {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.card-shadow:hover {
  transform: translateY(-5px);
}

/* FOOTER */
.footer {
  background: linear-gradient(135deg, #121212, #1f1f1f 50%, #2b2b2b);
  color: var(--white);
  padding: 3rem 1rem;
  margin-top: auto;
}

.footer a {
  display: block;
  color: var(--yellow);
  text-decoration: none;
  margin: 5px 0;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--white);
}

.footer .footer-links h5,
.footer .social-icons h5 {
  color: var(--yellow);
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .social-icons a {
  display: inline-block;
  color: var(--white);
  margin: 0 8px;
  font-size: 1.4rem;
  transition: color 0.3s ease, transform 0.2s;
}

.footer .social-icons a:hover {
  color: var(--yellow);
  transform: translateY(-2px);
}

.footer-logo svg {
  width: 120px;
  height: auto;
  margin-bottom: 1rem;
}

/* Footer separator line */
.footer hr {
  border-color: rgba(255, 255, 255, 0.15);
  margin: 1.5rem 0;
}

/* Footer text */
.footer p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer {
    text-align: center;
  }
  .footer-logo svg {
    margin: 0 auto 1rem auto;
  }
  .footer .footer-links, 
  .footer .social-icons {
    margin-top: 1.5rem;
  }
}


/* FORM STYLES */
form label {
  font-weight: 600;
}

input.form-control, select.form-select, textarea.form-control {
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: border-color 0.3s ease;
}

input.form-control:focus, select.form-select:focus, textarea.form-control:focus {
  border-color: var(--purple);
  box-shadow: 0 0 5px rgba(106,13,173,0.3);
}

/* ANIMATIONS */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 1.6rem;
  }
  .carousel-caption p {
    font-size: 1rem;
  }
  .footer {
    padding: 1.5rem;
  }
  .footer .social-icons a {
    font-size: 1.1rem;
  }
}

/* .hero {
  background-color: var(--yellow);
  color: var(--purple);
  padding: 4rem 1rem;
  text-align: center;
  animation: fadeInDown 1s ease-in-out;
} */

.services-section {
  padding: 4rem 1rem;
}

.service-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: 8px;
}


/* About  */

.page-hero {
  position: relative;
}

.page-hero img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  filter: brightness(0.75);
}

.page-hero .caption {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: var(--white);
  max-width: 600px;
}

.page-hero .caption h1 {
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.section {
  padding: 3rem 1rem;
}

@media (max-width: 768px) {
  .page-hero img {
    height: 220px;
  }

  .page-hero .caption h1 {
    font-size: 1.8rem;
  }
}

/* End About  */


/* Support-widget */
#support-chat-btn {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background-color: var(--purple);
      color: white;
      border: none;
      border-radius: 50%;
      width: 55px;
      height: 55px;
      font-size: 22px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      z-index: 9999;
    }
    #support-chat-window {
      position: fixed;
      bottom: 80px;
      right: 20px;
      width: 300px;
      max-height: 400px;
      background: white;
      border-radius: 12px;
      box-shadow: 0 8px 24px rgba(0,0,0,0.15);
      padding: 1rem;
      display: none;
      flex-direction: column;
      justify-content: space-between;
      z-index: 9998;
    }
    #support-chat-window textarea {
      resize: none;
    }
/* Support-widget-end */