@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;500;600&display=swap");
@import "root.css";

/* --- Global Styles --- */
body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  color: var(--primary-color);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

/* --- Navbar --- */
.navbar {
  background-color: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  color: var(--primary-color) !important;
  font-weight: bold;
}

.nav-link {
  color: var(--primary-color) !important;
  font-weight: 500;
  margin: 0 10px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color) !important;
}

/* --- Buttons --- */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 10px 25px;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/* --- Sections --- */
.section-padding {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 15px auto 0;
}

/* --- Footer --- */
footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 50px 0 20px;
}
/* FIX HERO SLIDER UI */
.hero-img {
  width: 100%;
  height: 100vh; /* Full screen height */
  object-fit: cover;
  display: block;
}

#heroCarousel .carousel-item {
  height: 100vh;
}

#heroCarousel {
  overflow: hidden;
}

.carousel-caption {
  bottom: 20%;
  z-index: 10;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1); /* Make arrows visible on light images */
}

footer h5 {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

footer a {
  color: var(--text-light);
}

footer a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
}

/* --- Notice Cards --- */
.notice-card {
  background: #fff;
  border-left: 4px solid var(--secondary-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 0 8px 8px 0;
  position: relative;
  overflow: hidden;
}

.notice-card:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.notice-date {
  background-color: var(--bg-light);
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  min-width: 80px;
  border: 1px solid #eee;
}

.notice-date .day {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.notice-date .month {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.notice-content h5 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

.notice-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.notice-icon {
  color: var(--secondary-color);
  opacity: 0.5;
  transition: opacity 0.3s;
}

.notice-card:hover .notice-icon {
  opacity: 1;
}

/* --- About Page Styles --- */

/* Parallax Page Header */
.page-header-parallax {
  background-image: linear-gradient(
      rgba(10, 35, 66, 0.8),
      rgba(10, 35, 66, 0.8)
    ),
    url("../images/slider1.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 150px 0 100px;
  color: #fff;
  text-align: center;
  margin-bottom: 0;
}

.page-header-parallax h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

/* About Split Layout */
.about-img-container {
  position: relative;
  padding: 20px;
}

.about-img-main {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-img-overlap {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 50%;
  border: 5px solid #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: none;
  /* Hidden on mobile, shown on md+ */
}

@media (min-width: 768px) {
  .about-img-overlap {
    display: block;
  }
}

/* Stats Section */
.stats-section {
  background-color: var(--primary-color);
  color: #fff;
  padding: 80px 0;
  position: relative;
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-family: var(--font-secondary);
}

.stat-label {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Team Card */
.team-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-img-wrapper {
  padding: 30px 0;
  background-color: var(--bg-light);
  margin-bottom: 20px;
}

.team-card h5 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

.team-card .role {
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 0.9rem;
}

/* --- Redevelopment Page Styles --- */

/* Feature Cards */
.feature-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  border-bottom: 3px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-bottom-color: var(--secondary-color);
}

.feature-icon-wrapper {
  width: 70px;
  height: 70px;
  background-color: rgba(197, 160, 89, 0.1);
  /* Secondary color with opacity */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--secondary-color);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--secondary-color);
  color: #fff;
}

.feature-card h5 {
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Styled Timeline */
.timeline-section {
  position: relative;
}

.main-timeline {
  position: relative;
}

.main-timeline::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 2px;
  background-color: #e9ecef;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 50px;
  position: relative;
  width: 100%;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-content {
  position: relative;
  width: 45%;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: auto;
}

.timeline-content:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transform: scale(1.02);
}

.timeline-icon {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border: 4px solid #fff;
  border-radius: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(10, 35, 66, 0.1);
}

.timeline-year {
  position: absolute;
  top: -30px;
  background: var(--secondary-color);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
}

.timeline-item:nth-child(odd) .timeline-year {
  right: 0;
}

.timeline-item:nth-child(even) .timeline-year {
  left: 0;
}

/* Timeline Mobile Responsiveness */
@media (max-width: 767px) {
  .main-timeline::before {
    left: 20px;
  }

  .timeline-item {
    margin-bottom: 40px;
  }

  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px !important;
  }

  font-family: var(--font-secondary);
}

.stat-label {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Team Card */
.team-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 20px;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-img-wrapper {
  padding: 30px 0;
  background-color: var(--bg-light);
  margin-bottom: 20px;
}

.team-card h5 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

.team-card .role {
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 0.9rem;
}

/* --- Redevelopment Page Styles --- */

/* Feature Cards */
.feature-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  border-bottom: 3px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-bottom-color: var(--secondary-color);
}

.feature-icon-wrapper {
  width: 70px;
  height: 70px;
  background-color: rgba(197, 160, 89, 0.1);
  /* Secondary color with opacity */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--secondary-color);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--secondary-color);
  color: #fff;
}

.feature-card h5 {
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Styled Timeline */
.timeline-section {
  position: relative;
}

.main-timeline {
  position: relative;
}

.main-timeline::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 2px;
  background-color: #e9ecef;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 50px;
  position: relative;
  width: 100%;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-content {
  position: relative;
  width: 45%;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: auto;
}

.timeline-content:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transform: scale(1.02);
}

.timeline-icon {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border: 4px solid #fff;
  border-radius: 50%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(10, 35, 66, 0.1);
}

.timeline-year {
  position: absolute;
  top: -30px;
  background: var(--secondary-color);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
}

.timeline-item:nth-child(odd) .timeline-year {
  right: 0;
}

.timeline-item:nth-child(even) .timeline-year {
  left: 0;
}

/* Timeline Mobile Responsiveness */
@media (max-width: 767px) {
  .main-timeline::before {
    left: 20px;
  }

  .timeline-item {
    margin-bottom: 40px;
  }

  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px !important;
  }

  .timeline-icon {
    left: 20px;
  }

  .timeline-year {
    position: relative;
    top: 0;
    display: inline-block;
    margin-bottom: 10px;
    left: 0 !important;
    right: auto !important;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    width: 100%;
    margin-bottom: 0;
  }

  .carousel-caption h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
  }

  .carousel-caption p {
    font-size: 0.9rem;
    margin-bottom: 0;
  }
}

/* Desktop Caption Styling */
@media (min-width: 769px) {
  .carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    bottom: 20%;
    max-width: 600px;
    margin: 0 auto;
    left: 0;
    right: 0;
  }
}

/* New About Section Styles */
.about-home-img {
  border-radius: 20px 0 20px 0;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  border: 5px solid #fff;
}

.about-feature {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.about-feature:hover {
  transform: translateX(10px);
}

.about-feature-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(10, 35, 66, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.2rem;
}

.floating {
  position: fixed;

  width: 60px;

  height: 60px;

  bottom: 30px;

  left: 25px;

  background-color: #25d366;

  color: #fff;

  border-radius: 50px;

  text-align: center;

  font-size: 30px;

  box-shadow: 2px 2px 3px #999;

  z-index: 100;
}

.float-button {
  margin-top: 16px;
}
