/* Custom CSS for Kalurahan Mulyodadi based on Loopple Online Course Landing Page */

:root {
  --primary-color: #3763EB;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --info-color: #17a2b8;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --white-color: #ffffff;
  --black-color: #000000;
  --gray-color: #6c757d;
  --gray-light-color: #f8f9fa;
  --gray-dark-color: #343a40;
}

/* General Styles */
body {
  font-family: 'Inter', sans-serif;
  color: #525f7f;
  background-color: #f8f9fe;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: #32325d;
  font-weight: 600;
}

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

a:hover {
  color: #2a4db7;
  text-decoration: none;
}

.btn {
  font-size: 0.875rem;
  position: relative;
  transition: all 0.15s ease;
  letter-spacing: 0.025em;
  text-transform: none;
  will-change: transform;
  border-radius: 0.375rem;
  padding: 0.625rem 1.25rem;
}

.btn-primary {
  color: #fff;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

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

.btn-outline-primary {
  color: white;
  border-color: white;
}

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

.btn-lg {
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Navbar Styles */
.navbar {
  padding: 1rem 1rem;
  transition: all 0.3s ease;
}

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

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  color: #525f7f;
}

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

/* Hero Section */
.hero-section {
  padding: 100px 20px;
  background: linear-gradient(150deg, #7795f8 15%, #6772e5 70%, #555abf 94%);
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"%3E%3C/path%3E%3C/svg%3E');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-btns .btn {
  margin-right: 1rem;
  margin-bottom: 1rem;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image img {
  max-width: 100%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Stats Section */
.counter-up-section {
  background-color: #fff;
}

.counter-up-item {
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: all 0.3s ease;
}

.counter-up-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.counter-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.counter-content h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #32325d;
  margin-bottom: 10px;
}

.counter-content p {
  font-size: 1.1rem;
  color: #525f7f;
  margin-bottom: 0;
}

/* Features Section */
.feature-section {
  padding: 100px 0;
  background-color: #f8f9fe;
}

.section-title {
  margin-bottom: 20px;
  text-align: center;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #32325d;
}

.section-title p {
  font-size: 1.1rem;
  color: #525f7f;
  max-width: 700px;
  margin: 0 auto;
}

.feature-box {
  padding: 30px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  margin-bottom: 30px;
  transition: all 0.3s ease;
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #32325d;
  margin-bottom: 15px;
}

.feature-content p {
  font-size: 1rem;
  color: #525f7f;
  margin-bottom: 0;
}

/* Services Section */
.service-section {
  padding: 40px 0;
  background-color: #fff;
}

.service-box {
  padding: 30px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  margin-bottom: 30px;
  transition: all 0.3s ease;
  height: 100%;
}

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.service-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #32325d;
  margin-bottom: 15px;
}

.service-content p {
  font-size: 1rem;
  color: #525f7f;
  margin-bottom: 15px;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(150deg, #7795f8 15%, #6772e5 70%, #555abf 94%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"%3E%3Cpath fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"%3E%3C/path%3E%3C/svg%3E');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

.cta-btn .btn {
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
}

/* Footer */
.footer-area {
  background-color: #172b4d;
  color: #8898aa;
}

.footer-widget {
  padding: 80px 0 50px;
}

.footer-logo a {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  display: inline-block;
}

.footer-social-links ul {
  display: flex;
  padding: 0;
  list-style: none;
  margin-top: 20px;
}

.footer-social-links ul li {
  margin-right: 15px;
}

.footer-social-links ul li a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social-links ul li a:hover {
  background-color: var(--primary-color);
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 25px;
}

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

.footer-link ul li {
  margin-bottom: 10px;
}

.footer-link ul li a {
  color: #8898aa;
  transition: all 0.3s ease;
}

.footer-link ul li a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-link ul li a i {
  margin-right: 5px;
  font-size: 0.75rem;
}

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

.footer-contact ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.footer-contact ul li i {
  margin-right: 10px;
  color: var(--primary-color);
}

.copyright-area {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text p {
  margin-bottom: 0;
}

.copyright-links a {
  color: #8898aa;
  margin-left: 20px;
  transition: all 0.3s ease;
}

.copyright-links a:hover {
  color: #fff;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .hero-content {
    text-align: center;
    margin-bottom: 40px;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .cta-content {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .cta-btn {
    text-align: center !important;
  }
  
  .footer-widget [class*="col-"] {
    margin-bottom: 30px;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding: 80px 0;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .counter-up-item {
    margin-bottom: 30px;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .copyright-text,
  .copyright-links {
    text-align: center !important;
  }
  
  .copyright-links a {
    margin: 0 10px;
  }
}

@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .cta-content h2 {
    font-size: 1.75rem;
  }
}