:root {
  /* Color Scheme */
  --primary-color: #4e54c8;
  --secondary-color: #8f94fb;
  --text-dark: #333333;
  --text-light: #f8f9fa;
  --bg-main: #ffffff;
  --bg-alt: #f8f9fa;
  --accent-color: #ff6b6b;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --info-color: #17a2b8;
}

/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-main);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--text-light);
}

.btn-accent:hover {
  background-color: #ff5252;
  border-color: #ff5252;
  color: var(--text-light);
}

.section-padding {
  padding: 80px 0;
}

.section-title {
  margin-bottom: 50px;
  text-align: center;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.bg-gradient {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-light);
}

.bg-light {
  background-color: var(--bg-alt) !important;
}

/* Navbar Styles */
.navbar {
  background-color: var(--bg-main);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Hero Section */
.hero-section {
  background-size: cover;
  background-position: center;
  padding: 150px 0;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--text-light);
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-light);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Card Styles */
.card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 25px;
}

.card-title {
  font-weight: 700;
  margin-bottom: 15px;
}

.card-text {
  color: #6c757d;
  margin-bottom: 20px;
}

/* Service Cards */
.service-card {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  background-color: var(--bg-main);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 50%;
  margin: 0 auto 20px;
  color: var(--text-light);
  font-size: 28px;
}

/* Testimonial Styles */
.testimonial-card {
  background-color: var(--bg-main);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.testimonial-card .quote {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-card .quote::before {
  content: '\201C';
  font-size: 4rem;
  position: absolute;
  left: -20px;
  top: -20px;
  color: var(--secondary-color);
  opacity: 0.2;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
}

.testimonial-card .author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.testimonial-card .author-info h5 {
  margin-bottom: 5px;
  font-weight: 600;
}

.testimonial-card .author-info p {
  color: #6c757d;
  margin: 0;
}

/* Footer Styles */
.footer {
  background-color: #2d3436;
  color: var(--text-light);
  padding: 70px 0 20px;
}

.footer h5 {
  color: var(--text-light);
  margin-bottom: 25px;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: #b2bec3;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-light);
  padding-left: 5px;
}

.footer-social a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-light);
  margin-right: 10px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 50px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #b2bec3;
}

/* Form Styles */
.form-control {
  height: 50px;
  border-radius: 5px;
  border: 1px solid #ced4da;
  padding: 10px 15px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: none;
}

textarea.form-control {
  height: auto;
  min-height: 150px;
}

.form-label {
  font-weight: 500;
  margin-bottom: 10px;
}

/* Login/Register Forms */
.auth-form {
  max-width: 450px;
  margin: 0 auto;
  padding: 40px;
  background-color: var(--bg-main);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.auth-form .form-title {
  text-align: center;
  margin-bottom: 30px;
}

.auth-form .form-control {
  margin-bottom: 20px;
}

.auth-form .btn {
  width: 100%;
  padding: 12px;
  font-weight: 500;
}

.auth-form .social-login {
  margin-top: 30px;
  text-align: center;
}

.auth-form .social-btn {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  margin: 0 5px;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.auth-form .facebook {
  background-color: #3b5998;
}

.auth-form .google {
  background-color: #dd4b39;
}

.auth-form .twitter {
  background-color: #1da1f2;
}

.auth-form .divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.auth-form .divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #e9ecef;
}

.auth-form .divider span {
  position: relative;
  background-color: var(--bg-main);
  padding: 0 15px;
  color: #6c757d;
}

/* FAQ Styles */
.accordion-item {
  margin-bottom: 15px;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
  padding: 20px;
  font-weight: 600;
  color: var(--text-dark);
  background-color: var(--bg-main);
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: var(--bg-main);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.125);
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234e54c8'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 20px;
  background-color: var(--bg-main);
}

/* Blog Styles */
.blog-post {
  margin-bottom: 40px;
}

.blog-post .post-img {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

.blog-post .post-img img {
  width: 100%;
  transition: all 0.5s ease;
}

.blog-post:hover .post-img img {
  transform: scale(1.05);
}

.blog-post .post-meta {
  margin-bottom: 10px;
  color: #6c757d;
  font-size: 14px;
}

.blog-post .post-meta span {
  margin-right: 15px;
}

.blog-post .post-meta i {
  margin-right: 5px;
  color: var(--primary-color);
}

.blog-post .post-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.blog-post .post-excerpt {
  margin-bottom: 20px;
}

.blog-sidebar {
  background-color: var(--bg-main);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.blog-sidebar h4 {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
}

.blog-sidebar .sidebar-posts .post {
  display: flex;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
}

.blog-sidebar .sidebar-posts .post:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.blog-sidebar .sidebar-posts .post-thumb {
  flex: 0 0 80px;
  margin-right: 15px;
}

.blog-sidebar .sidebar-posts .post-thumb img {
  width: 100%;
  border-radius: 5px;
}

.blog-sidebar .sidebar-posts .post-info h6 {
  margin-bottom: 5px;
  font-size: 16px;
}

.blog-sidebar .sidebar-posts .post-info .post-date {
  color: #6c757d;
  font-size: 12px;
}

/* Contact Styles */
.contact-info-item {
  display: flex;
  margin-bottom: 30px;
}

.contact-info-icon {
  flex: 0 0 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 50%;
  margin-right: 20px;
  color: var(--text-light);
  font-size: 20px;
}

.contact-info-content h5 {
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-info-content p {
  margin: 0;
  color: #6c757d;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

/* Recharge Form Styles */
.recharge-form {
  background-color: var(--bg-main);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.recharge-form .form-title {
  text-align: center;
  margin-bottom: 30px;
}

.recharge-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.recharge-step {
  text-align: center;
  position: relative;
  flex: 1;
}

.recharge-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  right: -50%;
  width: 100%;
  height: 2px;
  background-color: #e9ecef;
  z-index: 1;
}

.recharge-step.active:not(:last-child)::after {
  background-color: var(--primary-color);
}

.step-number {
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: #e9ecef;
  border-radius: 50%;
  margin: 0 auto 10px;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.recharge-step.active .step-number {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.step-title {
  font-size: 14px;
  font-weight: 500;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.payment-method {
  flex: 0 0 calc(33.333% - 10px);
  text-align: center;
  padding: 15px;
  border: 1px solid #e9ecef;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-method:hover,
.payment-method.active {
  border-color: var(--primary-color);
  background-color: rgba(78, 84, 200, 0.05);
}

.payment-method img {
  height: 40px;
  margin-bottom: 10px;
}

.payment-method p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-fadeIn {
  animation: fadeIn 1s ease;
}

.animate-slideInUp {
  animation: slideInUp 0.5s ease;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .payment-method {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-padding {
    padding: 50px 0;
  }
  
  .recharge-steps {
    flex-direction: column;
    gap: 20px;
  }
  
  .recharge-step:not(:last-child)::after {
    display: none;
  }
  
  .payment-method {
    flex: 0 0 100%;
  }
}

@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .section-padding {
    padding: 40px 0;
  }
  
  .card-img-top {
    height: 180px;
  }
}