/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f8f9fb;
  color: #222;
}
header {
  background-color: #6dc0d1;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 3%;
  height: 100px;
}

.logo img {
  height: 160px;
  width: 200px;
}

/* ------------------------------
   NAV LINKS
------------------------------ */
.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #0D1B2A;
}

/* Hover underline animation */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ------------------------------
   APPLY NOW BUTTON
------------------------------ */
.nav-links .apply-btn {
  background-color: #FF7F50;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-links .apply-btn:hover {
  background-color: #0047B3;
  color: white;
  transform: scale(1.05);
}

/* ------------------------------
   DROPDOWN MENU
------------------------------ */
.dropdown-menu {
  display: none;
  position: absolute;
  background: #0d1b2a;
  top: 40px;
  left: 0;
  min-width: 180px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transform: translateY(-10px);
  transition: all 0.35s ease;
}

.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: white;
  font-size: 0.95rem;
}

.dropdown-menu a:hover {
  background: #0d1b2a;
  color: #fff;
}

/* Toggle Dropdown Active */
.dropdown.active .dropdown-menu {
  display: block;
  transform: translateY(0);
}

/* ------------------------------
   MOBILE MENU TOGGLE (HAMBURGER)
------------------------------ */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  transition: 0.3s ease;
}

.menu-toggle span {
  background: #fff;
  height: 3px;
  width: 25px;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.4s ease;
}

/* Hamburger to "X" animation */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ------------------------------
   RESPONSIVE DESIGN
------------------------------ */
@media (max-width: 1060px) {
  .navbar {
    padding: 25px 2%;
  }
}

@media (max-width: 990px) {
  .navbar {
    padding: 25px 1%;
  }
}

@media (max-width: 920px) {
  .nav-links {
    position: absolute;
    top:100px;
    left: -100%;
    width: 80%;
    height: 580px;
    flex-direction: column;
    background: #1b263b;
    text-align: center;
    transition: all 0.4s ease;
    color: white;
  }

  .nav-links.open {
    left: 0;
  }

  .nav-links li {
    margin: 13px 0;
  }

  .dropdown-menu {
    position: static;
    background: #2e3a59;
    box-shadow: none;
  }

  .menu-toggle {
    display: flex;
  }
}


.block1 {
  background: url("images/img9.jpg") center center / cover no-repeat;
  height: 300px;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1.2s ease-in-out;
}

.block1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}


.bl {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
  animation: slideUp 1.2s ease-out;
}

.head {
  font-size: 2.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  animation: fadeDown 1.5s ease-out;
}

.bl p {
  font-size: 1rem;
  font-weight: 300;
  color: #f2f2f2;
  margin-bottom: 30px;
  line-height: 1.6;
  animation: fadeIn 1.8s ease-in-out;
}


@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* 🖥️ Large Screens / Monitors */
@media (min-width: 1200px) {
  .block1 {
    height: 400px;
  }

  .head {
    font-size: 3.2rem;
  }

  .bl p {
    font-size: 1.1rem;
  }

}

/* 💻 Laptops & Tablets */
@media (max-width: 1024px) {
  .block1 {
    height: 400px;
  }

  .head {
    font-size: 2.4rem;
  }

  .bl p {
    font-size: 0.95rem;
  }
}

/* 📱 Mobile Devices */
@media (max-width: 600px) {
  .block1 {
    height: 400px;
    background-attachment: scroll;
    padding: 20px;
  }

  .head {
    font-size: 1.8rem;
  }

  .bl p {
    font-size: 0.9rem;
  }
}


/* ---------- Section Styling ---------- */
.education-loan-section {
  padding: 80px 5%;
  background: linear-gradient(135deg, #e6f0ff 0%, #ffffff 100%);
}

.loan-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
  gap: 30px;
}

/* ---------- Card Styling ---------- */
.loan-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.loan-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* ---------- Icon Styling ---------- */
.loan-card .icon {
  font-size: 50px;
  color: #1e90ff;
  margin-bottom: 15px;
  display: inline-block;
  padding: 20px;
  border-radius: 50%;
  background: linear-gradient(145deg, #cce0ff, #99c2ff);
  transition: all 0.5s ease;
}

.loan-card:hover .icon {
  transform: rotate(15deg) scale(1.2);
  background: linear-gradient(145deg, #99c2ff, #1e90ff);
  color: #fff;
}

/* ---------- Card Title ---------- */
.loan-card h3 {
  font-size: 1.5rem;
  color: #0a3d62;
  margin-bottom: 15px;
  transition: color 0.4s ease;
}

.loan-card:hover h3 {
  color: #1e90ff;
}

/* ---------- Loan Details ---------- */
.loan-card .loan-details p {
  font-size: 0.95rem;
  color: #555;
  
  font-weight: 300;
  margin-bottom: 30px;
  line-height: 1.6;
  animation: fadeIn 1.8s ease-in-out;
}

.loan-card .loan-details ul {
  list-style: none;
  margin-bottom: 15px;
}

.loan-card .loan-details ul li {
  font-size: 0.9rem;
  color: #333;
  padding-left: 1.5em;
  position: relative;
  margin-bottom: 5px;
}

.loan-card .loan-details ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #1e90ff;
}

/* ---------- Benefits Styling ---------- */
.loan-card .benefits span {
  display: block;
  margin: 5px 0;
  font-size: 0.9rem;
  color: #0a3d62;
  padding-left: 1.5em;
  position: relative;
  transition: all 0.3s ease;
}

/* .loan-card .benefits span::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #ff7f50;
} */

.loan-card:hover .benefits span {
  color: #1e90ff;
  transform: translateX(5px);
}

/* ---------- Apply Button ---------- */
.app-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 25px;
  background: #FF7F50;
  color: #fff;
  border-radius: 50px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(30, 144, 255, 0.3);
}

.app-btn:hover {
  background: linear-gradient(90deg, #00c6ff, #1e90ff);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 20px rgba(30, 144, 255, 0.4);
}

/* ---------- Responsive Styling ---------- */
@media (max-width: 992px) {
  .loan-container {
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .education-loan-section {
    padding: 60px 3%;
  }
}

@media (max-width: 480px) {
  .loan-card .icon {
    font-size: 40px;
    padding: 15px;
  }

  .loan-card h3 {
    font-size: 1.3rem;
  }

  .app-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}




/* Section Styling */
.loan-help {
  background: #4AA6AD;
  color: #fff;
  display: flex;
  text-align: center;
  justify-content: center;
  padding: 50px 20px;
  border-radius: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1.2s ease-out;
}

/* Text Styles */
.loan-con h2 {
  font-size: 2rem;
  color: white;
  font-weight: bold;
  margin-bottom: 15px;
  animation: slideDown 1s ease-in-out;
}

.loan-con p {
  font-size: 1rem;
  color: #dfe4f7;
  margin-bottom: 30px;
  animation: fadeIn 1.5s ease-in-out;
}

/* Buttons */
.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.4s ease;
}

.primary-btn {
  background: #fff;
  color: #1e5cff;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.primary-btn:hover {
  background: #dfe6ff;
  transform: translateY(-5px);
}

.outline-btn {
  border: 2px solid #fff;
  color: #fff;
}

.outline-btn:hover {
  background: #fff;
  color: #1e5cff;
  transform: translateY(-5px);
}

/* ✨ Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 🌐 Responsive Design */

/* Large screens (Monitors) */
@media (min-width: 1200px) {
  .loan-con h2 {
    font-size: 2.4rem;
  }

  .loan-con p {
    font-size: 1.1rem;
  }

  .btn {
    font-size: 1.1rem;
    padding: 14px 34px;
  }
}

/* Laptops and tablets */
@media (max-width: 1024px) {
  .loan-help {
    width: 90%;
    padding: 60px 20px;
  }

  .loan-con h2 {
    font-size: 1.8rem;
  }

  .loan-con p {
    font-size: 0.95rem;
  }
}

/* Mobile phones */
@media (max-width: 600px) {
  .loan-help {
    padding: 45px 15px;
    border-radius: 15px;
  }

  .loan-con h2 {
    font-size: 1.4rem;
  }

  .loan-con p {
    font-size: 0.9rem;
  }

  .buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn {
    width: 80%;
    margin: 0 auto;
  }
}

.footer {
  background-color: #111b31;
  color: #d3d3d3;
  padding: 60px 10%;
  animation: fadeInUp 1.2s ease-in-out;
}

.footer-con {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

/* ===============================
   BRAND SECTION
=============================== */
.footer-section.brand p {
  max-width: 300px;
  line-height: 1.7;
  font-size: 0.95rem;
  color: #b5b5b5;
  transition: color 0.3s ease;
}

.footer-section.brand p:hover {
  color: #fff;
}

/* ===============================
   HEADINGS
=============================== */
.footer-section h2,
.footer-section h3 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-section h2 {
  font-size: 1.6rem;
  display: flex;
  gap: 10px;
  transition: color 0.3s ease;
}

.footer-section h3 {
  font-size: 1.2rem;
}

/* ===============================
   QUICK LINKS
=============================== */
.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  text-decoration: none;
  color: #b5b5b5;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-section ul li a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* ===============================
   CONTACT INFO
=============================== */
.footer-section.contact ul li {
  margin-bottom: 12px;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #b5b5b5;
}

.footer-section.contact i {
  color: #3a7bff;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.footer-section.contact i:hover {
  transform: scale(1.2);
}

/* ===============================
   SOCIAL ICONS
=============================== */
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-icons a {
  color: #b5b5b5;
  font-size: 1.1rem;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  color: white;
  background-color: #3a7bff;
  transform: translateY(-5px);
}

/* ===============================
   FOOTER BOTTOM
=============================== */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  text-align: center;
  padding-top: 20px;
  font-size: 0.9rem;
  color: #999;
}

.footer-bottom p {
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: white;
}

/* ===============================
   ANIMATIONS
=============================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   RESPONSIVE DESIGN
=============================== */
@media (max-width: 1024px) {
  .footer-con {
    justify-content: center;
  }

  .footer-section {
    flex: 1 1 45%;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 50px 6%;
  }

  .footer-section {
    flex: 1 1 100%;
    text-align: center;
  }

  .footer-section h2 {
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }

  .footer-section.brand p {
    margin: 0 auto;
  }

  .footer-section.contact ul li {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 40px 5%;
  }

  .footer-section h2 {
    font-size: 1.4rem;
  }

  .footer-section h3 {
    font-size: 1rem;
  }

  .social-icons a {
    font-size: 1rem;
    padding: 8px;
  }
}





/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  animation: floatPulse 2s infinite ease-in-out;
}

/* Icon Hover Effects */
.whatsapp-float:hover {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7);
  background-color: #20b358;
}

/* WhatsApp Pulse Animation */
@keyframes floatPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  }
  50% {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  }
}

/* Optional glow ring animation */
.whatsapp-float::before {
  content: "";
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.25);
  z-index: -1;
  animation: ringGlow 2.5s infinite;
}

@keyframes ringGlow {
  0% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Adjust position for mobile */
@media (max-width: 480px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 26px;
    bottom: 20px;
    right: 20px;
  }
}
