/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --primary: #2e61a0;
  --secondary: #59b963;
  --light: #f5f8fd;
  --dark: #2c4964;
  --gray: #6c757d;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #444444;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: var(--secondary);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

section {
  padding: 80px 0;
  overflow: hidden;
}

.section-title {
  text-align: center;
  padding-bottom: 40px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 15px;
  position: relative;
}

.section-title h2::before {
  content: '';
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  bottom: -15px;
  left: calc(50% - 30px);
}

.section-title p {
  font-size: 16px;
  margin-bottom: 0;
  color: var(--gray);
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: var(--secondary);
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  z-index: 997;
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

#header .logo {
  font-size: 28px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

#header .logo img {
  max-height: 40px;
  margin-right: 10px;
}

#header .logo span {
  color: var(--dark);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a, .navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 15px;
  color: var(--dark);
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i, .navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
  color: var(--primary);
}

.navbar .login-btn {
  background: var(--primary);
  color: #fff;
  padding: 8px 20px;
  margin-left: 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.navbar .login-btn:hover {
  background: var(--secondary);
  color: #fff;
}

/* Dropdown Menu */
.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-radius: 4px;
  min-width: 180px;
}

.navbar .dropdown ul li {
  min-width: 180px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  color: var(--dark);
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover, 
.navbar .dropdown ul .active:hover, 
.navbar .dropdown ul li:hover > a {
  color: var(--primary);
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

/* Responsive Dropdown */
@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

.mobile-nav-toggle {
  color: var(--dark);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.fas-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  .navbar ul {
    display: none;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
  width: 100%;
  height: 90vh;
  background-color: #f5f8fd;
  padding-top: 82px;
  display: flex;
  align-items: center;
}

.hero-section h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 20px;
}

.hero-section p {
  color: var(--gray);
  margin-bottom: 30px;
  font-size: 18px;
}

.hero-section .btn-login, 
.hero-section .btn-register {
  font-size: 16px;
  padding: 10px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s;
}

.hero-section .btn-login {
  color: #fff;
  background: var(--primary);
}

.hero-section .btn-register {
  color: var(--primary);
  border: 2px solid var(--primary);
}

.hero-section .btn-login:hover {
  background: var(--secondary);
}

.hero-section .btn-register:hover {
  background: var(--primary);
  color: #fff;
}

/*--------------------------------------------------------------
# Layanan Section
--------------------------------------------------------------*/
.layanan-section {
  background: #fff;
}

.layanan-box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 0 10px 40px 10px;
  background: #fff;
  box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
  transition: all 0.3s ease-in-out;
  text-align: center;
}

.layanan-box:hover {
  transform: translateY(-5px);
}

.layanan-box i {
  font-size: 48px;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 15px;
}

.layanan-box h3 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 22px;
}

.layanan-box p {
  font-size: 15px;
  color: var(--gray);
}

/*--------------------------------------------------------------
# Tentang Section
--------------------------------------------------------------*/
.tentang-section {
  background: #f5f8fd;
}

.tentang-section .content {
  padding: 30px;
}

.tentang-section .content h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}

.tentang-section .content p {
  margin-bottom: 20px;
  color: var(--gray);
}

.tentang-section .content .btn-read-more {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 8px 30px;
  border-radius: 50px;
  transition: 0.3s;
}

.tentang-section .content .btn-read-more:hover {
  background: var(--secondary);
}

/*--------------------------------------------------------------
# Statistik Section
--------------------------------------------------------------*/
.statistik-section {
  padding: 80px 0;
}

.counter-box {
  padding: 30px;
  text-align: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(65, 84, 241, 0.08);
  margin-bottom: 30px;
}

.counter-box i {
  font-size: 42px;
  color: var(--primary);
  margin-bottom: 20px;
}

.counter-box span {
  font-size: 36px;
  display: block;
  font-weight: 700;
  color: var(--dark);
}

.counter-box p {
  padding: 0;
  margin: 0;
  font-size: 15px;
  color: var(--gray);
}

/*--------------------------------------------------------------
# CTA Section
--------------------------------------------------------------*/
.cta-section {
  background: linear-gradient(rgba(46, 97, 160, 0.9), rgba(46, 97, 160, 0.9)), url("../../img/landing/cta-bg.jpg") fixed center center;
  background-size: cover;
  padding: 80px 0;
}

.cta-section h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.cta-section p {
  color: #fff;
}

.cta-btn {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  background: #fff;
  color: var(--primary);
  transition: 0.3s;
}

.cta-btn:hover {
  background: var(--secondary);
  color: #fff;
}

@media (min-width: 1024px) {
  .cta-btn-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #fff;
  padding: 0 0 30px 0;
  color: var(--dark);
  font-size: 14px;
}

#footer .footer-top {
  background: #f5f8fd;
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  font-weight: 700;
  color: var(--primary);
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  margin-bottom: 0;
  color: var(--gray);
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: var(--primary);
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: var(--secondary);
  color: #fff;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  position: relative;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

#footer .footer-top h4::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 30px;
  background-color: var(--primary);
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

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

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: var(--primary);
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul a {
  color: #777777;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: var(--primary);
}

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 50px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.06);
  text-align: left;
}

#footer .footer-top .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
  outline: none;
}

#footer .footer-top .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: var(--primary);
  color: #fff;
  transition: 0.3s;
  border-radius: 50px;
}

#footer .footer-top .footer-newsletter form input[type="submit"]:hover {
  background: var(--secondary);
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: var(--gray);
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .hero-section {
    height: auto;
    padding-top: 120px;
    padding-bottom: 60px;
  }
  
  .hero-section h1 {
    font-size: 36px;
  }
  
  .hero-section img {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  #header .logo span {
    display: none;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  .cta-section h3 {
    font-size: 22px;
  }
  
  .cta-btn-container {
    margin-top: 20px;
  }
}

@media (max-width: 575px) {
  .hero-section h1 {
    font-size: 28px;
  }
  
  .hero-section p {
    font-size: 16px;
  }
} 