
.custom-login-btn {
    background-color:#794786 ; /* Example: Blue */
    color: white;
    border: none;
    
  }
  
  .custom-register-btn {
    background-color: #4E9295; /* Example: Orange */
    color: white;
    border: none;
  }
  
  .custom-login-btn:hover, .custom-register-btn:hover {
    opacity: 0.9;
  }
  
  @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


    

/* =============== ANIMATIONS =============== */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

.pulse-animation {
    animation: pulse 3s ease-in-out infinite;
}

.bounce-animation {
    animation: bounce 4s ease-in-out infinite;
}

.spin-animation {
    animation: spin 10s linear infinite;
}

/* =============== FOOTER =============== */
footer {
    background-color:black;
    color:white;
    padding: 2rem 0 2rem;
}

footer h5 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 2px;
}

footer h5:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background:rgb(13, 13, 151);
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links li a {
    color: #adb5bd;
    transition: var(--transition-fast);
    text-decoration: none;

}

.footer-links li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links li i {
    margin-right: 8px;
    color: rgb(46, 13, 109);
}

.footer-newsletter {
    margin-top: 2rem;
}

.footer-newsletter h5 {
    margin-bottom: 1rem;
}

.footer-newsletter p {
    color: #adb5bd;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-newsletter form {
    margin-bottom: 0;
}

.footer-newsletter .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 0.8rem;
}

.footer-newsletter .form-control::placeholder {
    color: #adb5bd;
}

.footer-newsletter .btn {
    padding: 0.8rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0;
    color: #adb5bd;
}

.footer-logo {
    height: 40px;
}

/* Media queries */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Modify Bootstrap grid for tablet view to show 2 columns per row */
    .col-md-3 {
        width: 50%;
        float: left;
    }
    
    /* Clear the float after every second column */
    .col-md-3:nth-child(2n+1) {
        clear: left;
    }
    
    .mb-4 {
        margin-bottom: 1rem !important;
    }
}

@media (max-width: 767.98px) {
    /* For mobile, make it 2 columns per row */
    .col-md-3 {
        width: 50%;
        float: left;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Clear the float after every second column */
    .col-md-3:nth-child(2n+1) {
        clear: left;
    }
    
    .mb-4 {
        margin-bottom: 1rem !important;
    }
    
    footer h5 {
        font-size: 0.95rem;
    }
    
    .footer-links li {
        font-size: 0.85rem;
    }
    
    /* Stack the newsletter form elements */
    .footer-newsletter form.d-flex {
        display: block !important;
    }
    
    .footer-newsletter .form-control {
        margin-bottom: 0.5rem;
    }
    
    /* Center align the copyright and logo */
    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 0.5rem;
    }
    
    .col-md-6 {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    /* For extra small screens, stack to single column */
    .col-md-3 {
        width: 100%;
        float: none;
    }
    
    footer h5:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    footer h5, .footer-links, .footer-newsletter {
        text-align: center;
    }
    
    .footer-links li a:hover {
        padding-left: 0;
    }
    
    .footer-newsletter form {
        max-width: 280px;
        margin: 0 auto;
    }
}

/* =============== RESPONSIVE STYLES =============== */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    .hero-image-container {
        margin-top: 3rem;
    }
    
    .floating-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .hero-section {
        padding: 4rem 0 3rem;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .search-container {
        margin: 2rem auto;
    }
    
    .leads-banner {
        text-align: center;
    }
    
    .leads-banner img {
        margin-top: 2rem;
    }
    
    .cta-section {
        text-align: center;
    }
    
    .cta-section img {
        margin-top: 2rem;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .category-card {
        padding: 1.5rem 1rem;
    }
    
    .category-card .icon-container {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .trending-item {
        min-width: 220px;
    }
    
    .social-icons {
        gap: 1rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}
/* Base styles (if not already included) */
.custom-login-btn {
    background-color: #71298D;
    border: 1px solid #71298D;
    color: white;
    transition: all 0.3s;
}

.custom-login-btn:hover {
    background-color: #71298D;
    color: white;
}

.custom-register-btn {
    background-color: #147275;
    color: white;
    transition: all 0.3s;
}

.custom-register-btn:hover {
    background-color: #147275;
    color: white;
}

/* Modal styles */
.modal-gif {
    position: absolute;
    right: 65px;
    top: 15px;
}

#authTab .nav-link {
    color: #6c757d;
    border: none;
    position: relative;
}

#authTab .nav-link.active {
    color: #71298D;
    background: none;
    border: none;
}

#authTab .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #71298D;
}
/* Make sure these aren't being overridden */

/* Media queries */
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .navbar-nav .nav-link {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .navbar-nav .nav-link {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }
    
    .custom-register-btn, .custom-login-btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.95rem;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .navbar-nav {
        padding-top: 1rem;
    }
    
    .navbar-nav .nav-item {
        margin-bottom: 0.5rem;
    }
    
    .custom-register-btn, .custom-login-btn {
        display: block;
        width: 100%;
        margin-right: 0 !important;
        margin-bottom: 0.5rem;
    }
    
    .navbar-nav .position-relative {
        display:block;
     

    }
    
    /* Modal adjustments */
    .modal-dialog {
        max-width: 90%;
        margin: 1rem auto;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .modal-dialog {
        max-width: 95%;
    }
    
    .modal-gif {
        width: 40px;
        height: 40px;
        right: 55px;
    }
    
    #authModalLabel {
        font-size: 1.1rem;
    }
    
    .nav-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 35px;
    }
    
    .modal-header {
        padding: 1rem 1rem 0.5rem;
    }
    
    .modal-body {
        padding: 0.5rem 1rem 1rem;
    }
    
    .modal-gif {
        width: 35px;
        height: 35px;
        right: 45px;
        top: 12px;
    }
    
    #authModalLabel {
        font-size: 1rem;
    }
    
    .nav-tabs .nav-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .form-control {
        padding: 0.375rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.375rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .w-60 {
        width: 100% !important;
    }
}

/* Very small devices */
@media (max-width: 359.98px) {
    .navbar-brand img {
        height: 30px;
    }
    
    .modal-gif {
        display: none; /* Hide on very small screens */
    }
    
    #authModalLabel {
        font-size: 0.95rem;
    }
    
    .form-label {
        font-size: 0.85rem;
    }
    
    .form-control {
        font-size: 0.85rem;
    }
    
    .btn {
        font-size: 0.85rem;
    }
    
    .nav-tabs .nav-link {
        padding: 0.3rem 0.6rem;
        font-size: 0.85rem;
    }
}