/* Base Styles */
:root {
  --primary: #00a9a7;
  --secondary: #ffb800;
  --accent: #4caf50;
  --dark: #333333;
  --secondary-color: #f8f9fa;
  --accent-color: #e63946;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --cream-color: #fdf0d5;
  --white: #fff;
  --gray-100: #f8f9fc;
  --gray-200: #eaecf4;
  --gray-300: #dddfeb;
  --gray-400: #d1d3e2;
  --gray-500: #b7b9cc;
  --gray-600: #858796;
  --gray-700: #6e707e;
  --gray-800: #5a5c69;
  --gray-900: #3a3b45;
  --black: #000;
  --transition-speed: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    "Poppins",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  color: var(--gray-800);
  background-color: var(--light-color);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: all var(--transition-speed) ease;
}

a:hover {
  color: var(--primary-dark);
}

.text-primary {
  color: var(--primary) !important;
}

.btn {
  font-weight: 500;
  border-radius: 30px;
  padding: 10px 25px;
  transition: all var(--transition-speed) ease;
}

/* Override Bootstrap primary color */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: #008785;
  border-color: #008785;
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

.section-header {
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--gray-600);
  font-size: 1.1rem;
}

/* ATiDar Branding */
.ati-text {
  color: var(--primary-color);
  font-weight: 700;
}

.dar-text {
  color: var(--accent-color);
  font-weight: 700;
}

/* Navbar */
.navbar {
  transition: background-color 0.3s ease;
  background-color: transparent;
}

.navbar.scrolled {
  background-color: rgba(248, 249, 250, 0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
}

@media (max-width: 991.98px) {
  .navbar {
    background-color: rgba(248, 249, 250, 0.95) !important;
    padding: 10px 0;
  }

  .navbar-collapse {
    background-color: rgba(248, 249, 250, 0.98);
    padding: 20px;
    border-radius: 8px;
    margin-top: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-item {
    margin: 8px 0;
  }

  .nav-link {
    padding: 8px 15px;
  }

  .hero-section {
    padding-top: 100px;
    text-align: center;
  }

  .hero-image {
    margin-top: 40px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .service-card {
    margin-bottom: 30px;
  }

  .contact-info {
    margin-bottom: 40px;
  }

  .footer {
    text-align: center;
  }

  .footer-links,
  .social-icons {
    margin-bottom: 30px;
  }

  .social-icons {
    justify-content: center;
  }

  .newsletter-form {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .service-img {
    height: 200px;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
  }

  .contact-item i {
    margin-bottom: 10px;
    margin-right: 0;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand img {
    width: 140px !important;
  }

  .hero-section {
    padding-top: 80px;
  }

  .hero-image {
    max-width: 100%;
  }

  .service-card {
    margin: 15px;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .footer h3 {
    font-size: 1.3rem;
  }
}

.nav-link {
  font-weight: 500;
  color: var(--gray-700);
  margin: 0 10px;
  position: relative;
  transition: all var(--transition-speed) ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 0;
  transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.login-btn,
.daftar-btn {
  padding: 8px 20px;
  font-weight: 500;
}

/* Hero Section */
.hero-section {
  background-color: #ffffff;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-text {
  font-size: 1.2rem;
  color: var(--gray-600);
  margin-bottom: 30px;
}

.hero-btns {
  margin-top: 30px;
}

.hero-image {
  animation: float 6s ease-in-out infinite;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Service Section */
.service-section {
  padding: 100px 0;
  background-color: var(--white);
}

.service-card {
  background-color: var(--white);
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-speed) ease;
  height: 100%;
  margin-bottom: 30px;
}

.service-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-img {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  height: 180px;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all var(--transition-speed) ease;
}

.service-card:hover .service-img img {
  transform: scale(1.05);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.service-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  background-color: var(--secondary-color);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

.faq-item {
  background-color: var(--white);
  border-radius: 12px;
  margin-bottom: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-question {
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.faq-question h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  color: var(--dark-color);
  padding-right: 20px;
}

.faq-toggle {
  color: var(--primary);
  font-size: 18px;
  min-width: 24px;
  text-align: center;
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-out;
}

.faq-answer p {
  padding: 0 0 24px;
  color: var(--gray-600);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

@media (max-width: 767.98px) {
  .faq-question {
    padding: 20px;
  }

  .faq-answer {
    padding: 0 20px;
  }

  .faq-question h3 {
    font-size: 16px;
    padding-right: 15px;
  }
}

/* Contact Section */
.contact-section {
  padding: 100px 0;
  background-color: var(--white);
}

.contact-info {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 20px;
  margin-top: 5px;
}

.contact-item h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.contact-item p {
  color: var(--gray-600);
  margin-bottom: 5px;
}

/* Mobile Responsive for Contact */
@media (max-width: 767.98px) {
  .contact-section {
    padding: 60px 0;
  }

  .contact-info {
    margin-bottom: 40px;
  }

  .contact-item {
    margin-bottom: 25px;
  }

  .contact-item h4 {
    font-size: 1.1rem;
  }

  .contact-item p {
    font-size: 0.95rem;
  }
}

@media (max-width: 575.98px) {
  .contact-section {
    padding: 40px 0;
  }

  .contact-info {
    padding: 0 15px;
  }

  .contact-item {
    align-items: center;
  }

  .contact-item i {
    font-size: 1.3rem;
    margin-right: 15px;
  }
}

.contact-form .form-control {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid var(--gray-300);
  font-family: "Poppins", sans-serif;
  transition: all var(--transition-speed) ease;
}

.contact-form .form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
  border-color: var(--primary-color);
}

.contact-form textarea.form-control {
  resize: none;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--gray-300);
  padding: 80px 0 20px;
}

.footer h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 25px;
}

.footer p {
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  margin-bottom: 30px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-right: 10px;
  transition: all var(--transition-speed) ease;
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

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

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--gray-300);
  transition: all var(--transition-speed) ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.newsletter-form .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--white);
  padding: 12px 15px;
  border-radius: 30px 0 0 30px;
}

.newsletter-form .form-control::placeholder {
  color: var(--gray-500);
}

.newsletter-form .form-control:focus {
  box-shadow: none;
  background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-form .btn {
  border-radius: 0 30px 30px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 50px;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 140px 0 80px;
    text-align: center;
  }

  .hero-section h1 {
    font-size: 2.8rem;
  }

  .hero-image {
    margin-top: 50px;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 767.98px) {
  .navbar {
    padding: 15px;
  }

  .login-btn,
  .daftar-btn {
    margin: 5px 0;
    display: block;
    width: 100%;
  }

  .hero-section h1 {
    font-size: 2.3rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-btns .btn {
    display: block;
    width: 100%;
    margin-bottom: 15px;
  }

  .hero-btns .btn:last-child {
    margin-left: 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .service-card {
    margin-bottom: 30px;
  }

  .faq-question h3 {
    font-size: 16px;
  }
}

@media (max-width: 575.98px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .service-img {
    height: 160px;
  }
}
