:root {
  --primary-color: #0072ff;
  --secondary-color: #00c6ff;
}

body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
#section {
  padding-top: 15rem;
  overflow: hidden;
}

.custom-navbar {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary-color) !important;
  font-size: 1.5rem;
}

.nav-link {
  color: #333 !important;
  font-weight: 500;
  margin: 0 1rem;
  transition: color 0.3s ease;
}
.nav-link.active {
  font-weight: bold;
  color: #004998; /* Ganti dengan warna yang Anda inginkan */
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.hero-container {
  background-image: linear-gradient(to bottom, #3498db, #2ecc71);
  padding: 100px 50px;
  color: #000000;
}

.hero-section {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.hero-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 40px;
}

.search-box {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.custom-input {
  padding: 10px;
  border: none;
  border-radius: 10px;
  width: 100%;
}

.search-btn {
  padding: 10px;
  border: none;
  border-radius: 10px;
  width: 100%;
  background-color: #2ecc71;
  color: #fff;
}

.weather-card {
  height: 425px;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.weather-card h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.weather-card p {
  font-size: 18px;
  margin-bottom: 20px;
}

/* Map Container */
#map {
  height: 400px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

/* Features Section */
.features-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.3s ease-in-out;
}

.feature-card:hover {
  transform: translateY(-5px);
  background-color: #2386ff;
  color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-container {
    background-image: linear-gradient(to bottom, #3498db, #2ecc71);
    padding: 100px 50px;
    color: #000000;
  }

  .hero-section {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }
  #map {
    height: 300px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
  }
  .weather-card {
    height: 300px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }
}

.faq-section {
  padding: 4rem 0;
  background: white;
}

.faq-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 10px !important;
  overflow: hidden;
}

.accordion-button {
  background-color: white;
  font-weight: 500;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-color);
  color: white;
}

.accordion-body {
  padding: 1.5rem;
  background-color: #f8f9fa;
}

/* Footer Styles */
.footer {
  background: #2d3436;
  color: white;
  padding: 4rem 0 2rem 0;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #dfe6e9;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #b2bec3;
}

.social-links {
  margin-bottom: 1.5rem;
}

.social-links a {
  color: white;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--secondary-color);
}
.about-section {
  padding: 6rem 0;
  background: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.about-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  opacity: 0.1;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 0 0 0 100%;
}

.about-image {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.about-content {
  padding: 2rem;
}

.about-title {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2d3436;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

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

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Contact Section Styles */
.contact-section {
  padding: 6rem 0;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
}

.contact-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

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

.contact-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.contact-form input,
.contact-form textarea {
  background: #f8f9fa;
  border: none;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-btn {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
}

.temp-very-cold {
  background: linear-gradient(135deg, #00c6fb 0%, #005bea 100%);
}

.temp-cold {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.temp-mild {
  background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
}

.temp-warm {
  background: linear-gradient(135deg, #fad961 0%, #f76b1c 100%);
}

.temp-hot {
  background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
}

/* Ensure smooth transitions */
.hero-section {
  transition: background 0.5s ease;
}

.weather-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.about-text-expandable {
  max-height: 100px;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  position: relative;
}
.about-text-expandable.expanded {
  max-height: 1000px; /* Adjust as needed */
}
.read-more-btn {
  color: #007bff;
  cursor: pointer;
  text-decoration: underline;

  display: inline-block;
}
.read-more-btn:hover {
  color: #0056b3;
}
