
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #e91e63;
  --secondary-color: #2196f3;
  --dark-color: #333;
  --light-color: #f4f4f4;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --danger-color: #f44336;
  --max-width: 1200px;
}

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

html {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: #f9f9f9;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

/* Header */
header {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  width: 50px;
  height: 50px;
  margin-right: 1rem;
  border-radius: 50%;
  object-fit: cover;
}

header h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links li {
  margin: 0 1rem;
}

.nav-links a {
  color: white;
  font-weight: 500;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: #f0f0f0;
  transform: translateY(-3px);
}

.nav-links a.active {
  border-bottom: 2px solid white;
}

.login-btn {
  background-color: white;
  color: var(--primary-color) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.login-btn:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger .line {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px;
  border-radius: 3px;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(233, 30, 99, 0.8), rgba(33, 150, 243, 0.8)), url('img/Mobile-Recharge-1741470129663.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 4rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-image {
  flex: 1;
  max-width: 450px;
  margin-left: 2rem;
  display: flex;
  justify-content: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Recharge Form */
.recharge-form-container {
  max-width: var(--max-width);
  margin: -80px auto 0;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

.recharge-form {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.recharge-form h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--secondary-color);
  outline: none;
}

.btn-recharge {
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-recharge:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Features Section */
.features {
  padding: 4rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  color: var(--dark-color);
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

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

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Operators Section */
.operators {
  padding: 4rem 2rem;
  background-color: #f5f7fa;
}

.operators h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  color: var(--dark-color);
}

.operators-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: 0 auto;
}

.operator-card {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  width: 250px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.operator-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.operator-card h3 {
  color: var(--dark-color);
}

/* Testimonials Section */
.testimonials {
  padding: 4rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  color: var(--dark-color);
}

.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.testimonial-author h4 {
  color: var(--dark-color);
}

/* Blog Preview Section */
.blog-preview {
  padding: 4rem 2rem;
  background-color: #f5f7fa;
}

.blog-preview h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  color: var(--dark-color);
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.blog-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.blog-content p {
  margin-bottom: 1rem;
  color: #666;
}

.read-more {
  display: inline-block;
  color: var(--secondary-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.read-more:hover {
  color: var(--primary-color);
}

/* Footer */
footer {
  background-color: #292929;
  color: white;
  padding: 4rem 2rem 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-column h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-column p {
  margin-bottom: 1rem;
  color: #bbb;
}

.footer-column ul li {
  margin-bottom: 0.8rem;
}

.footer-column ul li a {
  color: #bbb;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: white;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  color: white;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #444;
  color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    height: 100vh;
    width: 100%;
    top: 80px;
    left: -100%;
    text-align: center;
    flex-direction: column;
    transition: all 0.5s ease;
    z-index: 2;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 1.5rem 0;
  }

  .hamburger {
    display: block;
  }

  .hero {
    flex-direction: column;
    padding: 2rem 1rem;
  }

  .hero-content {
    margin-bottom: 2rem;
  }

  .hero-image {
    margin-left: 0;
  }

  .recharge-form-container {
    margin-top: -50px;
  }

  .operators-container {
    flex-direction: column;
    align-items: center;
  }

  .operator-card {
    width: 100%;
    max-width: 350px;
  }

  .testimonials-container,
  .blog-cards {
    grid-template-columns: 1fr;
  }
}
