/* About Page Custom Styles - Modern & Minimal */

/* Hero Section - White Background */
#hero,
#hero-styles,
#hero-caption {
  background-color: #ffffff !important;
  position: relative;
}

#hero .hero-title,
#hero .hero-subtitle {
  color: #0c0c0c !important;
}

#hero-image-wrapper {
  display: none !important;
}

/* Hero Content - Centered Layout */
.about-hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  min-height: 50vh;
}

/* Hero Featured Text - Bottom Left */
.hero-featured-text {
  position: absolute;
  bottom: 15px;
  left: 40px;
  font-family: "Space Colony", sans-serif;
  font-size: 0.95em;
  font-weight: 400;
  color: #333333;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  z-index: 100;
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: color 0.3s ease;
}

.hero-featured-text a {
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.hero-featured-text a:hover {
  color: #dc5310;
}

.hero-featured-text.animated {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.hero-featured-text:hover {
  color: #dc5310;
  cursor: pointer;
}

/* Responsive adjustments for featured text */
@media screen and (max-width: 1024px) {
  .hero-featured-text {
    font-size: 0.9em;
    bottom: 12px;
    left: 30px;
  }
}

@media screen and (max-width: 768px) {
  .hero-featured-text {
    font-size: 0.85em;
    bottom: 10px;
    left: 25px;
  }
}

@media screen and (max-width: 480px) {
  .hero-featured-text {
    font-size: 0.8em;
    bottom: 10px;
    left: 20px;
  }
}

.about-main-title {
  font-size: 3.5em;
  font-weight: 300;
  color: #0c0c0c;
  margin-bottom: 40px;
  margin-top: 20px;
  text-align: center;
}

.about-brand-name {
  color: #dc5310;
  font-size: 8em;
  font-weight: 600;
  font-family: "Space Colony", sans-serif;
  text-align: center;
  margin-bottom: 30px;
  margin-top: 60px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.about-brand-name:hover {
  transform: scale(1.05);
}

.about-subtitle-wrapper {
  text-align: center;
  max-width: 900px;
  margin: -40px auto 0 auto;
}

.about-subtitle-line {
  font-size: 1.8em;
  line-height: 1.6;
  color: #333333;
  margin: 8px 0;
}

.about-subtitle-line.secondary-font {
  font-size: 1.2em;
}

/* Footer - White Background */
.clapat-footer,
#footer-container {
  background-color: #ffffff !important;
}

.clapat-footer .copyright,
.clapat-footer .copyright a,
.clapat-footer .socials-text,
.clapat-footer .button-text {
  color: #0c0c0c !important;
}

/* Flex Container System */
.flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: flex-start;
}

.flex-col-4 {
  flex: 0 0 calc(33.333% - 40px);
}

.flex-col-6 {
  flex: 0 0 calc(50% - 40px);
  max-width: calc(50% - 40px);
}

/* Mission & Vision specific - no gap */
.flex-container[style*="gap: 0"] .flex-col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

@media screen and (max-width: 1024px) {
  .flex-container {
    gap: 40px;
  }

  .flex-col-4,
  .flex-col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .flex-col-6[style*="border-right"] {
    border-right: none !important;
    padding-right: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    padding-bottom: 40px !important;
  }

  .flex-col-6[style*="padding-left: 40px"] {
    padding-left: 0 !important;
  }
}

@media screen and (max-width: 768px) {
  .flex-container {
    gap: 30px;
  }
}

/* Typography Enhancements */
h2,
h3 {
  font-family: "Space Colony", "Poppins", sans-serif;
}

/* Smooth Animations */
.has-animation {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.has-animation.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Section Spacing */
.content-row {
  position: relative;
  background: #ffffff !important;
}

/* All sections white background */
.light-section,
.dark-section {
  background: #ffffff !important;
}

/* Hover Effects */
.flex-col-6:hover h3 {
  color: #fa821d !important;
  transition: color 0.3s ease;
}

/* Stats hover animation */
.flex-col-4:hover h2 {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Responsive Text Sizes */
@media screen and (max-width: 1024px) {
  .about-brand-name {
    font-size: 4.5em !important;
  }

  .about-subtitle-line {
    font-size: 1.5em !important;
  }

  h2[style*="3.5em"] {
    font-size: 2.5em !important;
  }

  h2[style*="5em"] {
    font-size: 3.5em !important;
  }

  h3[style*="2em"] {
    font-size: 1.6em !important;
  }

  /* Mission & Vision responsive */
  div[style*="grid-template-columns: 1fr 1px 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  div[style*="grid-template-columns: 1fr 1px 1fr"] > div:nth-child(2) {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  .about-brand-name {
    font-size: 3em !important;
  }

  .about-subtitle-line {
    font-size: 1.2em !important;
  }

  h2[style*="3.5em"] {
    font-size: 2em !important;
  }

  h2[style*="5em"] {
    font-size: 2.5em !important;
  }

  h3[style*="2em"] {
    font-size: 1.4em !important;
  }

  p[style*="1.1em"] {
    font-size: 1em !important;
  }
}

/* Clean section transitions */
.content-row + .content-row {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Center alignment helper */
.text-align-center {
  text-align: center;
}

/* Number accent color animation */
@keyframes colorPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

span[style*="color: #fa821d"] {
  animation: colorPulse 2s ease-in-out infinite;
}
