* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
}

/* Header */
header {
  background-color: #1e3c72;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #ffd700;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  position: relative;
}

nav a:hover {
  color: #ffd700;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -6px;
  background-color: #ffd700;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}


/* Hamburger Menu */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  padding: 90px 20px 100px;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 15px;
}

.hero h1 span {
  color: #ffd700;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.btn {
  display: inline-block;
  background-color: #ffd700;
  color: #111;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #ffcc00;
}

/* How Credwix Works Section */
.how-it-works {
  padding: 80px 20px;
  background: linear-gradient(to right, #f0f0f0, #ffffff);
  text-align: center;
}

.how-it-works h2 {
  font-size: 32px;
  color: #1e3c72;
  font-weight: bold;
  margin-bottom: 40px;
}

.steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.step {
  background-color: white;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  max-width: 280px;
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-10px);
}

.step img {
  width: 60px;
  margin-bottom: 15px;
}

.step h3 {
  font-size: 20px;
  color: #ffd700;
  margin-bottom: 10px;
}

.step p {
  font-size: 16px;
  color: #333;
}

/* Why Choose Credwix Section */
.why-credwix {
  padding: 80px 20px;
  background: #f8f9fa;
  text-align: center;
}

.why-credwix h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #1e3c72;
  font-weight: bold;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.feature-card {
  background-color: white;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  flex: 1;
  min-width: 280px;
  max-width: 340px;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-card img {
  width: 60px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  color: #1e3c72;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: #555;
}

/* Story Highlight Section */
.story-highlight {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  padding: 80px 20px;
  color: white;
}

.story-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.story-left {
  flex: 1;
  min-width: 280px;
}

.story-left h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: bold;
}

.story-left p {
  font-size: 16px;
  margin-bottom: 20px;
}

.story-left ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.story-left ul li {
  margin-bottom: 10px;
  font-size: 15px;
}

.story-btn {
  background-color: #ffd700;
  color: #111;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.story-btn:hover {
  background-color: #ffcc00;
}

.story-right {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.story-right img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* 1 Rupee Offers Section */
.one-rupee-offers {
  background: linear-gradient(to right, #ffffff, #f0f0f0);
  padding: 60px 20px;
  text-align: center;
}

.one-rupee-offers h2 {
  font-size: 32px;
  color: #1e3c72;
  margin-bottom: 10px;
}

.offer-intro {
  font-size: 16px;
  color: #333;
  margin-bottom: 40px;
}

.offer-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.flip-card {
  background: transparent;
  width: 220px;
  height: 280px;
  perspective: 1000px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card-front {
  background-color: #1e3c72;
  color: white;
  gap: 15px;
}

.card-front img {
  width: 60px;
  height: 60px;
  filter: invert(1);
}

.card-front span {
  font-size: 16px;
  font-weight: bold;
}

.card-back {
  background-color: #ffd700;
  transform: rotateY(180deg);
  color: #111;
}

.card-back h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.card-back p {
  font-size: 14px;
}

/* Wallet Section */
.wallet-section {
  padding: 80px 20px;
  background-color: #f8f9fa;
  text-align: center;
}

.wallet-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: auto;
}

.wallet-left {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.wallet-right {
  flex: 1;
  min-width: 280px;
  text-align: left;
}

.wallet-right h2 {
  font-size: 32px;
  color: #1e3c72;
  margin-bottom: 20px;
}

.wallet-right ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.wallet-right li {
  font-size: 16px;
  margin-bottom: 10px;
}

.wallet-btn {
  background-color: #1e3c72;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}

.wallet-btn:hover {
  background-color: #163261;
}

/* Testimonials Section */
.testimonials {
  background: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.testimonial-container {
  max-width: 1100px;
  margin: auto;
}

.testimonials h2 {
  font-size: 32px;
  color: #1e3c72;
  font-weight: bold;
  margin-bottom: 50px;
}

.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.testimonial-card {
  background-color: #f8f9fa;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.testimonial-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card h3 {
  font-size: 18px;
  color: #1e3c72;
  margin-bottom: 10px;
}

.testimonial-card p {
  font-size: 14px;
  color: #444;
  font-style: italic;
}

/* Trusted By Section */
.trusted-by {
  padding: 40px 20px;
  background-color: #f0f0f0;
}

.trusted-container {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.trusted-by p {
  font-size: 18px;
  color: #1e3c72;
  font-weight: 600;
  margin-bottom: 20px;
}

.logo-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.logo-row img {
  height: 40px;
  max-width: 100px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.logo-row img:hover {
  filter: grayscale(0%);
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial-cards {
    flex-direction: column;
    align-items: center;
  }
}

/* Footer Section */
.footer {
  background-color: #1e3c72;
  color: white;
  padding: 60px 20px 20px;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-info {
  flex: 1;
  min-width: 260px;
}

.footer-info h3, .footer-info h4 {
  margin-bottom: 15px;
  color: #ffd700;
}

.footer-info p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-social {
  flex: 1;
  min-width: 260px;
}

.footer-social h3 {
  margin-bottom: 15px;
  color: #ffd700;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.social-icons a img:hover {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  font-size: 14px;
  color: #ccc;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

.footer-services {
  flex: 1;
  min-width: 260px;
}

.footer-services h3 {
  color: #ffd700;
  margin-bottom: 15px;
}

.footer-services ul {
  list-style: none;
}

.footer-services li {
  font-size: 14px;
  margin-bottom: 8px;
  color: #ddd;
}

.ceo-profile-box {
  margin-top: 20px;
  border: 2px solid #ffd700;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #2b4a85;
  max-width: 340px;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
  flex-wrap: wrap;
}

.ceo-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid white;
  object-fit: cover;
}

.ceo-info h4 {
  margin: 0;
  color: #ffd700;
  font-size: 17px;
}

.ceo-info p {
  margin: 4px 0;
  font-size: 13px;
  color: #fff;
}

.ceo-social {
  margin-top: 6px;
  display: flex;
  gap: 8px;
}

.ceo-social img {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
}

.ceo-social a:hover img {
  transform: scale(1.2);
}

.ceo-info h4 {
  margin: 0;
  color: #ffd700;
  font-size: 17px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ceo-tag {
  background-color: #ffd700;
  color: #1e3c72;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
}


/* Responsive */
@media (max-width: 768px) {
  .offer-cards,
  .story-container,
  .steps,
  .feature-grid,
  .wallet-container {
    flex-direction: column;
    align-items: center;
  }

  .story-left, .story-right {
    text-align: center;
  }

  .story-left ul {
    padding-left: 0;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #1e3c72;
    flex-direction: column;
    width: 200px;
    display: none;
    padding: 10px;
    border-radius: 8px;
  }

  nav.active {
    display: flex;
  }

 nav a {
  margin-bottom: 10px;
}


  .wallet-right {
    text-align: center;
  }
}

