/*==============================
  Uthingo Additions - Utility Colors & Text
==============================*/
.bg-primary { background-color: #4b0082; }
.bg-uthingo-orange { background-color: #f79e1b; }
.bg-uthingo-light-grey {
  background-color: #f1f1f6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.text-center { text-align: center; }
.text-primary { color: #4b0082; }
.text-uthingo-orange { color: #f79e1b; }
.text-gray-600 { color: #6b7280; }
.text-gray-700 { color: #374151; }
.ml-2 { margin-left: 0.5rem; }
.mb-12 {margin-bottom: 0rem;}

/*==============================
  Buttons
==============================*/
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  font-family: 'AntartidaMedium', sans-serif;
  transition: background-color 0.3s ease;
}
.button-primary { background-color: #4b0082; color: white; }
.button-primary:hover { background-color: #370062; }

.button-orange { background-color: #f79e1b; color: white; }
.button-orange:hover { background-color: #e68e0f; }

.button-outline-white {
  background: #4b0082;
  border: 2px solid white;
  color: white;
  width: 100%;
}
.button-outline-white:hover {
  background-color: white;
  color: #4b0082;
}

/*==============================
  Cards & Grids
==============================*/
.card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease-in-out;
}
.card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.card-header { margin-bottom: 1rem; }
.card-title {
  font-size: 1.25rem;
  font-family: 'AntartidaBold';
  color: #4b0082;
}
.card-description { color: #6b7280; font-size: 1rem; }

.about-grid,
.value-grid,
.social-grid,
.services-grid {
  display: grid;
  gap: 2rem;
  margin: 0 auto;
  padding: 1em 1em;
}
.about-grid,
.value-grid,
.social-grid { grid-template-columns: 1fr; }
.services-grid {
  grid-template-columns: 1fr;
  padding: 3em 0em;
}

/*==============================
  Hero Section with Zoom Effect (Mobile-first)
==============================*/
.hero-slider {
  position: relative;
  overflow: hidden;
  height: auto; /* allow natural content height */
}

.hero {
  position: relative;
  min-height: 32em; /* reduce height for phones */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1s ease-in-out;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem 1rem;
  font-family: 'AntartidaMedium', sans-serif;
  overflow: hidden;
  background-color: #8a2be2;
  text-align: center;
  flex-direction: column;
}

/* Background image zoom effect */
.hero-image-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  animation: zoomIn 10s ease-in-out infinite;
}

/* Make sure content in .hero appears above .hero-image-layer */
.hero > * {
  position: absolute;
  z-index: 2;
}

/* Zoom-in Keyframe Animation */
@keyframes zoomIn {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

@media (min-width: 768px) {
  .hero {
    min-height: 36em;
    padding: 3rem 2rem;
    justify-content: flex-end;
    text-align: right;
    align-items: flex-end;
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 40em;
    padding: 4rem 3rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: row;
  }
}
/*==============================
  Founders quotations
===============================*/
.founders-quote {
    font-size: 1.5rem;
    font-family: 'AntartidaBold';
    color: #4b0082;
    font-weight: 400;
}
/*==============================
  Quote Section
==============================*/
.quote-options {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem;
  /* background-color: rgba(255, 255, 255, 0.95); */
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
  z-index: 10;
  position: absolute;
  left: 1rem; /* Default for small screens */
  right: 1rem;
}

.quote-options .container {
  background: #ffffffd9;
  padding: 1em;
  border-radius: 0.5em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.quote-intro h1 { font-size: 2rem; color: #4b0082; margin-bottom: 0.5rem; }
.quote-intro p {font-size: 1.2rem;color: #4b0082;margin-bottom: 1rem;}

.product-description {font-size: 1.1rem;color: #4b0082;margin-top: 1.5rem;}

.btn-group {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: space-between;
  flex-direction: row;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  box-shadow: black;
}
  
  
.card {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease-in-out;
}
.product-card {
  background: #f1f1f6;
  padding: 0.5em 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background 0.3s;
  /* border: 2px solid #4b0082; */
  box-shadow: 0 2px 8px rgb(0 0 0 / 38%);
  gap: 1em;
}
.product-card:hover { background: #e0d6f2; }
.product-card span {
  color: #4b0082;
  font-weight: 600;
  text-align: left;
}
.product-card i {
  color: #4b0082;
  font-size: 0.9rem;
}
/* Medium and up: center it better with more spacing */
@media (min-width: 768px) {
  .quote-options {
    left: 3em;
    right: auto;
    max-width: 50%;
    position: absolute;
    padding: 4rem 2rem;
    /* background-color: #ffffffd9; */
  }
  .hero-message-button-div {
    right: 0em;
  } 
}

/* Large screens: push it slightly more into the frame */
@media (min-width: 1024px) {
  .quote-options {
    left: 6em;
    width: 500px;
  }
    .hero-message-button-div {
    right: 180px;
  } 
}

/* For tablets and phones (under 768px) */
@media (max-width: 767px) {
  .quote-options {
    position: static;
    padding: 2rem 1rem;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    /* background-color: rgb(255 255 255 / 84%); */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
  }
    .hero-message-button-div {
    right: 0em;
    margin-bottom: 0em;
  } 

  .quote-options .container {
    padding: 1rem;
    background: none;
    box-shadow: none;
  }

  .quote-intro h1 {
    font-size: 1.5rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .btn-group {
    flex-direction: column;
  }
}
/*==============================
  Call to Action
==============================*/
.call-to-action {
  background-color: #4b0082;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}
.call-to-action h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}
.call-to-action p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.call-to-action .btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .call-to-action .btn-group {
    flex-direction: row;
    justify-content: center;
    width: 500px;
  }
}

.hero-message {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  font-size: 2rem;
  color: white;
  margin-bottom: 1rem;
}

.hero-message.visible {
  opacity: 1;
  position: relative;
  z-index: 23;
  font-size: 2.5rem;
  /* margin-bottom: 0rem; */
  /* right: 5em; */
}
.hero-message-button-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    bottom: 0em;
    /* right: 180px; */
  } 
  .text-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  z-index: 200;
}

.text-controls button {
  background: rgba(255, 255, 255, 0.3);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 4px;
  padding: 0.4rem 1rem;
}

/*==============================
  Icon Features
==============================*/
.icon-feature {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-feature svg {
  width: 1.5rem;
  height: 3rem;
  color: #f79e1b;
}
.icon-feature span { color: #333; }

/*==============================
  Misc Layout
==============================*/
.max-w-7xl {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.px-container {
  padding-left: 1rem;
  padding-right: 1rem;
}
.bg-gray-50 { background: #e4e4e78f; }

.section-subtext {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

/*==============================
  Community Features
==============================*/
.csi-icon-feature {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.csi-icon-feature i {
  font-size: 3rem;
  color: #f79e1b;
}
.csi-icon-feature h3 {
  font-size: 1.25rem;
  font-family: 'AntartidaBold';
  color: #000;
}

/*==============================
  Call Me Back Modal Features
==============================*/
.callback-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.callback-content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;
}

.callback-close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}

.callback-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: green;
}

#callbackForm {
  max-width: 400px;
  margin: auto;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  font-family: 'Arial', sans-serif;
}

#callbackForm label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
}

#callbackForm input[type="text"],
#callbackForm input[type="tel"],
#callbackForm input[type="email"],
#callbackForm input[type="hidden"],
#callbackForm textarea,
#callbackForm select {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

#callbackForm input:focus,
#callbackForm textarea:focus {
  border-color: #660099;
  outline: none;
}

.button-orange {
  /* background-color: #ff9900; */
  /* color: white; */
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

.button-orange:hover {
  background-color: #e68a00;
}

.callback-status {
  margin-top: 12px;
  font-size: 14px;
  color: #333;
}
.services-nav {
    display: inline-block;
}

/*==============================
  Responsive Layouts
==============================*/
@media (min-width: 768px) {
  .about-grid {grid-template-columns: repeat(2, 1fr);align-items: center;padding: 5em;}
  .value-grid,
  .social-grid {grid-template-columns: repeat(3, 1fr);display: grid;gap: 2rem;margin: 0 auto;padding: 3em 6em;}
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.section-heading {
    font-size: 2rem;
    color: #4b0082;
    font-family: 'AntartidaBold', sans-serif;
    margin-bottom: 1rem;
}
/*==============================
  Mobile Navigation
==============================*/
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #4b0082;
  cursor: pointer;
  margin-left: auto;
}

@media (max-width: 768px) {
  .main-nav .nav-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 999;
    padding: 1rem;
    border-top: 1px solid #ddd;
  }

  .main-nav .nav-links a {
    padding: 0.5rem 0;
    color: #4b0082;
    font-weight: bold;
  }

  .main-nav.open .nav-links {
    display: flex;
    position: relative;
  }

  .mobile-nav-toggle {
    display: block;
  }
    .quote-intro p {font-size: 1.2rem;color: #ffffff;margin-bottom: 1rem;}
    .product-description {font-size: 1.1rem;color: #ffffff;margin-top: 1.5rem;}
    .p-8 {
    padding: 0rem;
    }   
    .founders-quote {
    font-size: 1.5rem;
    font-family: 'AntartidaBold';
    color: #4b0082;
    font-weight: 400;
    width: max-content;
    margin: 20px auto;
    }
    
    .hidden {
    display: none;
    }
    .services-nav {
    display: none;
    }
}

