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

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 5%;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  position: fixed;
  width: 100%;
  top: 50;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #004aad;
}

.nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
}

.nav .btn {
  padding: 8px 16px;
  background: #004aad;
  color: #fff;
  border-radius: 6px;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 105vh;
  display: flex;
  align-items: center;
  justify-content: left;
  padding: 20px;
  overflow: hidden;
  color: #fff;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures the image keeps aspect ratio */
  background-size: cover;
  background-position: center center;
  opacity: 0;
  animation: fadeZoom 8s infinite;
  animation-fill-mode: both;
}

.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 3s; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 60, 0.45);
  z-index: 1;
}

@keyframes fadeZoom {
  0% { opacity: 0; transform: scale(1); }
  10% { opacity: 1; transform: scale(1.05); }
  50% { opacity: 1; transform: scale(1.1); }
  90% { opacity: 0; transform: scale(1.15); }
  100% { opacity: 0; transform: scale(1); }
}

.hero-text {
  position: absolute;
  top: 50%;           /* move to vertical middle */
  left: 50%;          /* move to horizontal middle */
  transform: translate(-50%, -50%); /* perfectly center */
  z-index: 2;
  text-align: center; /* center text */
  max-width: 50%;
  margin: 0; /* Reset margin */
  padding: 0;
}

.hero-text h1 {
  font-size: 6rem;
  font-weight: bold;
}

/* Make "Join" white */
.hero-text h1 .hero-join {
  color: #ffffff;
}

/* Make "FinixPro" blue */
.hero-text h1 .hero-brand {
  color: #004aad; /* existing highlight blue */
}

.hero-text p {
  margin: 15px 0;
  font-size: 1.2rem;
  font-weight: 300;
}
.hero-text h1 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700; /* bold */
  font-size: 6rem;
}

.hero-text p {
  font-family: 'Roboto', sans-serif;
  font-weight: 400; /* normal */
  font-size: 4rem;
  margin: 15px 0 30px 0; /* increases bottom margin to 30px */
}

.cta-btn {
  display: inline-block;
  padding: 20px 50px;
  background: #004aad;
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 74, 173, 0.8);
  color: #fff;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
}

.left-arrow {
  left: 20px;
}

.right-arrow {
  right: 20px;
}

.hero-arrow span {
  font-size: 0px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-arrow {
    padding: 8px 12px;
    font-size: 20px;
  }
}

/* Responsive */
@media (min-width: 1024px) {
  .hero { height: 90vh; padding: 20px 40px; }
  .hero-text h1 { font-size: 3.5rem; }
}

@media (max-width: 768px) {
  .hero-text { max-width: 80%; }
  .hero-text h1 { font-size: 4rem; }
  .hero-text p { font-size: 1.5rem; }
}

/* Achievements Section */
.achievements {
  padding: 80px 20px;
  background: #f8f9fa;
  text-align: center;
}

.achievements .section-header h2 {
  font-size: 40px;
  margin-bottom: 10px;
  color: #004aad;
}

.achievements .section-header p {
  font-size: 20px;
  color: #666;
  margin-bottom: 50px;
}

.achievements-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.achievement-item {
  background: #f4f4f4;
  padding: 30px 20px;
  border-radius: 50px;
  border-color: #ff9900;
  width: 220px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.achievement-item:hover {
  transform: translateY(-10px);
}

.achievement-item .icon {
  font-size: 80px;
  margin-bottom: 15px;
}

.achievement-item .number {
  font-size: 32px;
  font-weight: 700;
  color: #004aad;
  margin-bottom: 5px;
}

.achievement-item p {
  font-size: 14px;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .achievements-grid {
    flex-direction: column;
    gap: 20px;
  }

  .achievement-item {
    width: 80%;
    margin: 0 auto;
  }
/* Testimonials Section */
.testimonials {
  padding: 50px 10px;
  background: #f8fbff;
  text-align: center;
}

.testimonials .section-header h2 {
  font-size: 40px;
  margin-bottom: 10px;
  color: #004aad;
}

.testimonials .section-header h2 span {
  color: #ff9900;
}

.testimonials .section-header p {
  font-size: 18px;
  color: #666;
  margin-bottom: 50px;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.testimonial-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 25px;
  width: 220px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s;
  text-align: left;
}

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

.testimonial-card p {
  font-size: 14px;
  color: #444;
  margin-bottom: 15px;
  font-style: italic;
}

.testimonial-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #004aad;
  margin-bottom: 5px;
}

.testimonial-card .designation {
  font-size: 14px;
  color: #888;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonials-grid {
    flex-direction: column;
    gap: 20px;
  }

  .testimonial-card {
    width: 100%;
    margin: 0 auto;
  }
}
.reviews {
  padding: 80px 20px;
  background: #f8fbff;
  text-align: center;
}

.reviews .section-header h2 {
  font-size: 40px;
  color: #004aad;
}

.reviews .section-header h2 span {
  color: #ff9900;
}

.review-form {
  max-width: 600px;
  margin: 0 auto 50px;
}

.review-form textarea {
  width: 100%;
  height: 100px;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.star-rating {
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
  margin-bottom: 20px;
}

.star-rating input {
  display: none;
}

.star-rating label {
  font-size: 30px;
  color: #ccc;
  cursor: pointer;
  padding: 0 5px;
  transition: color 0.2s;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: #ff9900;
}

.review-form button {
  background: #004aad;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.review-form button:hover {
  background: #003580;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto;
}

.review-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-align: left;
}

.review-card .stars {
  color: #ff9900;
  margin-bottom: 10px;
}

.review-card p {
  color: #444;
  font-size: 16px;
}

.footer-finixpro {
  background-color: #f5f6f8; /* Light neutral background */
  color: #333;
  padding: 60px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-inner.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  flex: 1 1 250px;
  min-width: 200px;
}

.footer-logo {
  font-size: 1.8rem;
  color: #004aad; /* FinixPro blue */
  margin-bottom: 15px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.footer-links {
  display: flex;
  flex: 2 1 auto;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-column {
  flex: 1 1 150px;
  min-width: 140px;
}

.footer-column h4 {
  font-size: 1.1rem;
  color: #004aad;
  margin-bottom: 12px;
}

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

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #555;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #004aad;
}

.social-links a {
  margin-right: 12px;
  font-size: 20px;
  color: #555;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #004aad;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: #777;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-inner.container {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  .footer-links {
    flex-direction: column;
    gap: 25px;
  }
  .footer-column {
    min-width: 100%;
  }
}
