/* Navbar background and links hover effect */
.custom-navbar {
  background: linear-gradient(45deg, #1f4037, #99f2c8);
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  position: sticky; /* Makes the navbar sticky */
  top: 0; /* Sticks the navbar to the top */
  z-index: 1000; /* Ensures the navbar stays on top of other content */
}

/* Nav link styling */
.custom-navbar .nav-link {
  color: white;
  font-weight: bold;
  padding: 10px 15px;
  transition: all 0.3s ease;
}

/* Hover effect for nav links */
.custom-navbar .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  color: #f2f2f2;
  transform: scale(1.05);
}

/* Active link effect */
.custom-navbar .nav-link.active {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

/* Search button styling */
.custom-btn {
  color: white;
  border-color: #28a745;
  transition: all 0.3s ease;
}

/* Search button hover effect */
.custom-btn:hover {
  background-color: #28a745;
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.7);
  color: white;
}

/* Search input styling */
.form-control {
  border-radius: 20px;
  border: 2px solid #28a745;
  box-shadow: inset 0 0 10px rgba(40, 167, 69, 0.3);
}

.form-control:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(40, 167, 69, 0.7);
}

/* Navbar Brand Logo */
.navbar-brand img {
  border-radius: 50%;
  transition: transform 0.3s ease;
}

/* Logo hover effect */
.navbar-brand img:hover {
  transform: rotate(360deg);
}

/* Navbar background shine effect */
.custom-navbar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s;
  opacity: 0;
}

.custom-navbar:hover::after {
  left: 150%;
  opacity: 1;
}




/* Navbar end */

body {
  font-family: Arial, sans-serif;
  background-color: #12d654;
  margin: 0;
  padding: 0;
}

.hero-section img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.btn {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
}

.btn-primary {
  background-color: #007bff;
  border: none;
}

.btn-primary:hover {
  background-color: #0056b3;
  color: #fff;
}




/* Main Content Section */
.section-title {
  font-size: 1.8rem;
  color: #2980b9;
  font-weight: bold;
  margin-top: 30px;
  text-align: center;
}

.basics-list {
  list-style: none;
  padding: 0;
  font-size: 1.1rem;
}

.basics-list li {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

/* Debt Funds Button */
.debt-btn {
  font-weight: bold;
  background: #2980b9;
  border: none;
}

.debt-btn:hover {
  background: #1f6398;
}

/* Article Section */
.article-section {
  margin-top: 20px;
}

.article-card img {
  border-radius: 10px;
  transition: transform 0.3s;
  width: 100%;
  height: auto;
  object-fit: cover; /* Ensures images fill the space without cutting off */
}

.article-card img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.article-card h4 {
  margin-top: 15px;
  font-size: 1.1rem;
  color: #333;
}

/* Shiny Heading Styles */
.styled-heading {
  font-weight: bold;
  background: linear-gradient(to right, #3498db, #2980b9);
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}

.styled-heading:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .header-title {
      font-size: 1.5rem;
  }
  .styled-heading {
      font-size: 1rem;
  }
  .section-title {
      font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .header-title {
      font-size: 1.3rem;
  }
  .banner {
      max-height: 300px;
  }
  .article-card h4 {
      font-size: 1rem;
  }
}



/* General Styling */
        body {
            font-family: 'Arial', sans-serif;
            background: #f4f9fd;
            color: #333;
            padding-bottom: 50px;
            margin: 0;
            overflow-x: hidden;
        }

        .card {
            border: 2px solid #007bff;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 123, 255, 0.1);
            transition: all 0.3s ease;
        }

        .card:hover {
            box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
            transform: translateY(-5px);
        }

        .styled-heading {
            font-size: 1.5rem;
            font-weight: bold;
            color: #e5e9ee;
            text-align: center;
            margin: 20px 0;
            transition: all 0.3s ease;
            text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
            cursor: pointer;
        }

        .styled-heading:hover {
            color: #ff5722;
            transform: translateY(-5px);
            text-shadow: 2px 2px 10px rgba(8, 189, 32, 0.6);
        }

        .styled-heading a {
            text-decoration: none;
            color: inherit;
        }

        /* Mobile Responsiveness */
        @media (max-width: 768px) {
            .styled-heading {
                font-size: 1.5rem; /* Same size for medium screens */
            }
        }

        @media (max-width: 480px) {
            .styled-heading {
                font-size: 1.3rem; /* Same size for smaller screens */
            }
        }

        .container {
            padding: 40px 15px;
        }

        /* Hover Effect for Container */
        .row:hover .col-md-4 {
            transform: scale(1.05);
            transition: all 0.3s ease-in-out;
        }


        /* Enhanced Styling for the Real Estate  google Form Section */
.form-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff, #007bff);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.form-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,123,255,0.2), transparent 70%);
  z-index: 0;
  animation: pulse 6s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.form-container .btn-custom {
  padding: 15px 30px;
  font-size: 1.5rem;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  background: linear-gradient(90deg, #0056b3, #00bfff);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  animation: blink 2s infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.form-container .btn-custom:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.form-container h2 {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  h2 {
    font-size: 1.8rem;
  }

  .form-container {
    padding: 20px;
  }

  .form-container .btn-custom {
    font-size: 1.2rem;
    padding: 12px 25px;
  }
}

@media (max-width: 576px) {
  h2 {
    font-size: 1.4rem;
  }

  .form-container {
    padding: 15px;
  }

  .form-container .btn-custom {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

/* from close google */



/* Footer Styles */
.custom-footer {
  background: linear-gradient(45deg, #333, #555);
  color: white;
  padding: 30px 0;
  margin-top: 50px;
  position: relative;
}

.custom-footer h5 {
  font-size: 1.2rem;
  color: #ffd700;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.custom-footer p {
  font-size: 0.9rem;
  color: #f0f0f0;
}

.custom-footer a {
  color: #ffd700;
  transition: color 0.3s ease;
}

.custom-footer a:hover {
  color: #ffffff;
}

.custom-footer .footer-social {
  margin-top: 10px;
}

.custom-footer .footer-social a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: white;
  transition: background-color 0.3s ease;
  margin: 0 5px;
}

.custom-footer .footer-social a:hover {
  background-color: #ffd700;
}

.custom-footer .footer-bottom {
  padding: 15px 0;
  background: #222;
  text-align: center;
  font-size: 0.8rem;
  color: #ddd;
  border-top: 1px solid #555;
}








/* Center Alignment */
.account-container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Glowing Box with Dynamic Neon Effects */
.account-section {
  text-align: center;
  padding: 50px 40px;
  background: linear-gradient(135deg, #002147, #004b8d);
  border-radius: 20px;
  box-shadow: 0 0 35px rgba(0, 75, 141, 1), 0 0 60px rgba(0, 75, 141, 0.8);
  width: 450px;
  animation: glowBox 2s infinite alternate, slightMove 3s infinite ease-in-out, neonPulse 1.5s infinite alternate;
  border: 4px solid rgba(0, 212, 255, 1);
  position: relative;
}

.account-section::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  background: linear-gradient(45deg, #00d4ff, #007bff, #00d4ff, #007bff);
  border-radius: 25px;
  z-index: -1;
  filter: blur(25px);
  animation: neonBorder 2s infinite alternate;
}

/* Glowing Heading with Wave, Flicker, and Glitch Effects */
.glowing-text {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  text-shadow: 0 0 15px #00d4ff, 0 0 25px #007bff, 0 0 35px #00d4ff;
  animation: glowText 1.5s infinite alternate, waveEffect 2s infinite ease-in-out, flicker 2s infinite alternate, glitchEffect 3s infinite;
}

/* Ultra Enhanced Button with Shimmer Effect */
.btn-custom {
  font-size: 1.6rem;
  padding: 18px 36px;
  background: linear-gradient(45deg, #007bff, #00d4ff);
  color: white;
  border: none;
  border-radius: 15px;
  transition: 0.3s ease-in-out;
  box-shadow: 0 0 20px rgba(0, 123, 255, 1);
  position: relative;
  overflow: hidden;
  display: inline-block;
  margin-top: 25px;
  animation: pulseEffect 1s infinite alternate;
}

.btn-custom::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400%;
  height: 400%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6), transparent);
  transition: 0.4s ease-in-out;
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
}

.btn-custom:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.btn-custom:hover {
  background: linear-gradient(45deg, #0056b3, #0099cc);
  box-shadow: 0 0 30px rgba(0, 153, 204, 1), 0 0 50px rgba(0, 123, 255, 1);
  transform: scale(1.2);
  animation: shimmerEffect 1.5s infinite alternate;
}

/* Advanced Glowing Animations */
@keyframes glowText {
  from {
    text-shadow: 0 0 20px #00d4ff, 0 0 35px #007bff, 0 0 50px #00d4ff;
  }
  to {
    text-shadow: 0 0 25px #00d4ff, 0 0 45px #007bff, 0 0 70px #00d4ff;
  }
}

@keyframes glowBox {
  from {
    box-shadow: 0 0 40px rgba(0, 75, 141, 1), 0 0 80px rgba(0, 75, 141, 0.8);
  }
  to {
    box-shadow: 0 0 50px rgba(0, 75, 141, 1), 0 0 90px rgba(0, 75, 141, 1);
  }
}

@keyframes waveEffect {
  0% { transform: translateX(0); }
  50% { transform: translateX(10px); }
  100% { transform: translateX(0); }
}

@keyframes slightMove {
  0% { transform: translateY(0); }
  50% { transform: translateY(10px); }
  100% { transform: translateY(0); }
}

@keyframes pulseEffect {
  0% { transform: scale(1); }
  100% { transform: scale(1.1); }
}

@keyframes flicker {
  0% { opacity: 1; }
  50% { opacity: 0.8; }
  100% { opacity: 1; }
}

@keyframes glitchEffect {
  0% { transform: skewX(0deg); }
  25% { transform: skewX(5deg); }
  50% { transform: skewX(-5deg); }
  75% { transform: skewX(3deg); }
  100% { transform: skewX(0deg); }
}

@keyframes neonBorder {
  from { filter: blur(20px); }
  to { filter: blur(25px); }
}

@keyframes shimmerEffect {
  0% { background-position: -200px; }
  100% { background-position: 200px; }
}