/* General animation styles */
	@keyframes fadeInUp {
	  0% {
		opacity: 0;
		transform: translateY(20px);
	  }
	  100% {
		opacity: 1;
		transform: translateY(0);
	  }
	}

	/* Initially hide the elements to make them appear when in view */
	.animated-text, .animated-title {
	  opacity: 0;
	  transform: translateY(20px);
	  transition: opacity 0.5s ease, transform 0.5s ease;
	}

	/* Once the element is visible, apply the animation */
	.animated-visible {
	  opacity: 1;
	  transform: translateY(0);
	  animation: fadeInUp 1s ease-out forwards;
	}

	/* Add delays to create cascading effect */
	.animated-text:nth-child(1) {
	  animation-delay: 0.2s;
	}

	.animated-text:nth-child(2) {
	  animation-delay: 0.4s;
	}

	.animated-text:nth-child(3) {
	  animation-delay: 0.6s;
	}

	.animated-text:nth-child(4) {
	  animation-delay: 0.8s;
	}

	.animated-text:nth-child(5) {
	  animation-delay: 1s;
	}

	.animated-text:nth-child(6) {
	  animation-delay: 1.2s;
	}

	.animated-title:nth-child(1) {
	  animation-delay: 0.2s;
	}

	.animated-title:nth-child(2) {
	  animation-delay: 1.4s;
	}
@keyframes fadeZoomIn {
  0% {
	opacity: 0;
	transform: scale(0.8);
  }
  100% {
	opacity: 1;
	transform: scale(1);
  }
}

/* Text slide-in from the left animation */
@keyframes slideInLeft {
  0% {
	opacity: 0;
	transform: translateX(-50px);
  }
  100% {
	opacity: 1;
	transform: translateX(0);
  }
}
.main-banner-content h1,
.main-banner-content .sub-title {
    opacity: 0; /* Initially hidden */
    transform: translateY(30px); /* Start below the original position */
    animation: slideInLeft 1.5s ease-out forwards; /* Apply the animation */
}

.main-banner-content h1 {
    animation-delay: 0.3s; /* Delay for the h1 */
}

.main-banner-content .sub-title {
    animation-delay: 0.6s; /* Delay for the sub-title */
}
            
.about-style-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

img {
  animation: fadeZoomIn 2s ease-in-out forwards;
}

.quote-content {
  margin-top: 20px;
  opacity: 0; /* Initially hidden */
  animation: slideInLeft 1.5s ease-out 0.5s forwards; /* Delay for text */
}

.quote-content p {
  font-weight: 600;
  text-transform: capitalize;
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  line-height: 1.4;
}

.quote-content span {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 24px;
}

/*********dollar icon********/
.input-with-icon {
	position: relative;
}

.input-with-icon i {
	position: absolute;
	left: 10px;  /* Adjust this value to move the icon left/right */
	top: 50%;
	transform: translateY(-50%);
	font-size: 18px;  /* Adjust the size of the icon */
	pointer-events: none; /* Prevents the icon from blocking the input */
}

.input-with-icon input {
	padding-left: 38px;  /* Adjust padding to prevent text from overlapping with the icon */
}
input::placeholder {
    font-size: 14px;  /* Adjust this value to change the placeholder font size */
    color: #0d1820;  /* Optional: change placeholder color */
}
.ptb-4 {
    padding-top: 1px;  /* 30px padding on the top */
    padding-bottom: 1px;  /* 30px padding on the bottom */
}
/*******************************Table spiner******************************************/
		/*#loading-spinner {
			display: none;
			position: absolute;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
			z-index: 99;
			background: #cccccc63;
			padding: 31% 54% 47% 40%;
			border-radius: 1%;
		}*/
		#loading-spinner {
			display: none;
			position: absolute;
			top: 75%;
			left: 50%;
			transform: translate(-50%, -50%);
			z-index: 99;
			background: #cccccc63;
			padding: 14% 28% 22% 25%;
			border-radius: 1%;
		}
		.spinner {
		  border: 4px solid rgba(255, 255, 255, 0.3);
		  border-top: 4px solid #3498db;
		  border-radius: 50%;
		  width: 50px;
		  height: 50px;
		  animation: spin 1s linear infinite;
		}

		@keyframes spin {
		  0% { transform: rotate(0deg); }
		  100% { transform: rotate(360deg); }
		}
		.color-violet {
			color: #483FCD;
			font-family: sans-serif;
			font-weight: 600;
			font-size: 18px;
		}
		
		/* General Table Styling */
		#mortgageScheduleTable {
			width: 100%;
			border-collapse: collapse;
			margin-top: 20px;
		}

		/* Table Header Styling */
		#mortgageScheduleTable th {
			background-color: #0056a2!important;
			color: white;
			text-align: left;
			padding: 12px 15px;
			border:1px solid #ddd
		}

		/* Table Row Styling */
		#mortgageScheduleTable td {
			border: 1px solid #ddd;
			padding: 8px 15px;
			text-align: right;
		}

		/* Table Row Hover Effect */
		#mortgageScheduleTable tr:hover {
			background-color: #f2f2f2;
		}

		/* Even Rows Background */
		#mortgageScheduleTable tr:nth-child(even) {
			background-color: #f9f9f9;
		}

		/* First Column Styling */
		#mortgageScheduleTable td:first-child {
			font-weight: bold;
		}

		/* Responsiveness */
		@media (max-width: 768px) {
			#mortgageScheduleTable th, #mortgageScheduleTable td {
				padding: 10px;
			}

			#mortgageScheduleTable th {
				font-size: 14px;
			}

			#mortgageScheduleTable td {
				font-size: 12px;
			}
		}
	
		/**********************************************/
	
	/* Basic popup styling */
    .popup {
        display: none; /* Hidden by default */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
        display: none; /* Use flexbox to center the popup */
        justify-content: center; /* Horizontally center */
        align-items: center; /* Vertically center */
        z-index: 9999; /* Ensure it appears on top of other content */
    }
    
    .popup-message {
        background-color: #fff;
        padding: 0px;
        border-radius: 10px;
        text-align: center;
        max-width: 300px;
        width: 80%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    .online {
        background-color: green;
        color: white;
    }
    
    .offline {
        background-color: red;
        color: white;
    }
    
    @media (min-width: 768px) and (max-width: 1024px)  {
        .sub-titlecolor {
            color: #0157a2 !important; /* smaller font size for mobile */
        }
    }
    
    /* Media query for screens smaller than 480px (e.g., mobile phones) */
    @media (min-width: 480px) and (max-width: 767px){
        .sub-titlecolor {
            color: #0157a2 !important; /* smaller font size for mobile */
        }
    }
    
    @media (max-width: 479px) {
        .sub-titlecolor {
            color: #0157a2 !important; /* smaller font size for mobile */
        }
    }

