
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: #f8f8f8;
}

a {
  text-decoration: none;
  color: #0062cc;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header Styles */
header {
  background-color: #fff;
  padding: 1rem 5%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo img {
  width: 50px;
  height: 50px;
  margin-right: 15px;
  border-radius: 8px;
}

.logo h1 {
  font-size: 1.5rem;
  color: #e60023;
  font-weight: 700;
}

nav ul {
  display: flex;
  align-items: center;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: #333;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: #e60023;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #e60023;
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.login-btn {
  background-color: #e60023;
  color: #fff !important;
  padding: 0.5rem 1rem !important;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.login-btn:hover {
  background-color: #c4001d;
}

.login-btn::after {
  display: none;
}

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

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #333;
}

/* Main Section Styles */
main {
  min-height: calc(100vh - 80px);
}

.section {
  padding: 5rem 5%;
  display: none;
}

#home {
  display: block;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: #333;
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 3px;
  background-color: #e60023;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.active-section {
  display: block;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5rem 5%;
  background: linear-gradient(135deg, #0062cc 0%, #0097e6 100%);
  color: #fff;
}

.hero-content {
  flex: 1;
  padding-right: 2rem;
}

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

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

.hero-image {
  flex: 1;
  text-align: right;
}

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

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #e60023;
  color: #fff;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #c4001d;
}

/* Recharge Form */
.recharge-container {
  background-color: #fff;
  max-width: 800px;
  margin: -50px auto 0;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 10;
}

.recharge-container h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #333;
}

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

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

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

.form-group small {
  display: block;
  color: #777;
  margin-top: 0.3rem;
  font-size: 0.8rem;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background-color: #e60023;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #c4001d;
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  padding: 0 5%;
}

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

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

.feature-card i {
  font-size: 2.5rem;
  color: #0062cc;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #666;
}

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

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

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

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

.service-card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.2rem;
}

.service-card p {
  padding: 0 1.5rem 1.5rem;
  color: #666;
}

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

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

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

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

.operator-card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.2rem;
}

.operator-card p {
  padding: 0 1.5rem 1rem;
  color: #666;
}

.operator-link {
  display: inline-block;
  margin: 0 1.5rem 1.5rem;
  padding: 0.5rem 1rem;
  background-color: #0062cc;
  color: #fff;
  border-radius: 5px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.operator-link:hover {
  background-color: #004c9e;
}

/* About Section */
.about-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #e60023;
}

.about-content p {
  margin-bottom: 1.5rem;
  color: #666;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background-color: #f8f8f8;
  border-radius: 10px;
}

.stat h4 {
  font-size: 1.5rem;
  color: #e60023;
  margin-bottom: 0.5rem;
}

.stat p {
  color: #666;
  margin-bottom: 0;
}

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

.blog-post {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.blog-meta {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 1rem;
}

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

.read-more {
  display: inline-block;
  color: #e60023;
  font-weight: 500;
  position: relative;
}

.read-more::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #e60023;
  bottom: -2px;
  left: 0;
  transition: width 0.3s ease;
}

.read-more:hover::after {
  width: 100%;
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  background-color: #f8f8f8;
  padding: 2rem;
  border-radius: 10px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: #e60023;
  margin-right: 1rem;
  margin-top: 0.3rem;
}

.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #666;
}

.social-media h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

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

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 50%;
  color: #0062cc;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: #0062cc;
  color: #fff;
}

.contact-form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-form textarea {
  height: 150px;
  resize: none;
}

/* Login/Signup Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 10px;
  width: 80%;
  max-width: 500px;
  position: relative;
  animation: modalopen 0.4s;
}

@keyframes modalopen {
  from {
    opacity: 0;
    transform: translateY(-60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
}

.modal-content h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-links {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.form-checkbox {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Terms and Privacy Modal */
.terms-content,
.privacy-content {
  max-height: 400px;
  overflow-y: auto;
  padding: 1rem 0;
}

.terms-content h3,
.privacy-content h3 {
  margin: 1.5rem 0 0.5rem;
  color: #0062cc;
}

.terms-content p,
.privacy-content p {
  margin-bottom: 1rem;
  color: #666;
}

.privacy-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-content ul li {
  list-style: disc;
  margin-bottom: 0.5rem;
  color: #666;
}

/* Footer Styles */
footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 4rem 5% 0;
}

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

.footer-logo img {
  width: 70px;
  height: 70px;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.footer-logo h3 {
  margin-bottom: 1rem;
}

.footer-logo p {
  color: #bbb;
}

.footer-links h3,
.footer-contact h3,
.footer-newsletter h3 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

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

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

.footer-links ul li a:hover {
  color: #e60023;
}

.footer-contact p {
  margin-bottom: 0.8rem;
  color: #bbb;
  display: flex;
  align-items: center;
}

.footer-contact p i {
  margin-right: 0.8rem;
  color: #e60023;
}

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

.footer-newsletter form {
  display: flex;
}

.footer-newsletter input {
  flex: 1;
  padding: 0.8rem;
  border: none;
  border-radius: 5px 0 0 5px;
}

.footer-newsletter button {
  padding: 0.8rem 1.5rem;
  background-color: #e60023;
  color: #fff;
  border: none;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.footer-newsletter button:hover {
  background-color: #c4001d;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid #333;
}

.footer-bottom p {
  color: #bbb;
}

.footer-bottom-links a {
  color: #bbb;
  margin-left: 1.5rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #e60023;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 3rem 5%;
  }

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

  .about-container {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: 2;
  }

  .about-content {
    order: 1;
    margin-bottom: 2rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem 5%;
  }

  .hamburger {
    display: block;
  }

  nav ul {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
  }

  nav ul.active {
    left: 0;
  }

  nav ul li {
    margin: 1.5rem 0;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .recharge-container {
    margin-top: 2rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }

  .footer-bottom-links a {
    margin: 0;
  }
}

@media (max-width: 576px) {
  .hero-content h2 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .modal-content {
    width: 95%;
    margin: 10% auto;
  }

  .feature-card,
  .service-card,
  .operator-card,
  .blog-post {
    max-width: 350px;
    margin: 0 auto;
  }
}
