html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  min-width: 100vw;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
  overflow-x: hidden;
  background: linear-gradient(70deg,  #ffd600, #ff31db, #aad6ff);
  background-size: 300% 300%;
  background-attachment: fixed;
  animation: gradientMove 16s ease-in-out infinite;
  position: relative;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 768px) {
  body {
    background-size: 200% 200%;
  }
  
  html, body {
    height: -webkit-fill-available;
  }
}


/* Reduce section padding for tighter layout */
.section {
  padding: 36px 0;
}

/* Reduce hero bottom padding */
.hero {
  min-height: unset;
  padding-top: 48px;
  padding-bottom: 24px;
}

/* Hero Logo Styles */
.hero-logo {
  width: 150px;
  height: auto; /* Let it scale naturally */
  max-width: 100%;
  transition: transform 0.2s;
}

.hero-logo:hover {
    transform: scale(1.05);
}


/* Hero Text Styles */
.hero h1.display-4 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2),
                 0 0 15px rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
    animation: heroGlow 3s ease-in-out infinite;
    transition: transform 0.2s;
}

.hero h1.display-4:hover {
    transform: scale(1.05);
}

.hero .lead {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
    font-weight: 500;
    transition: transform 0.2s;
}

.hero .lead:hover {
    transform: scale(1.05);
}


@keyframes heroGlow {
    0% { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 255, 255, 0.5); }
    50% { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2), 0 0 25px rgba(255, 255, 255, 0.7); }
    100% { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 255, 255, 0.5); }
}

/* Reduce margin below headings */
.section h1, .section h2, .hero h1 {
  margin-bottom: 0.75rem;
}
/* General Styles */
.card-title {
  font-weight: bold;
}

footer {
  font-size: 0.875rem;
}

/* Search Bar Page Styles */
.search-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .search-container:hover {
            transform: translateY(-8px) scale(1.03);
            box-shadow: 0 16px 48px rgba(0,0,0,0.12);
        }       
        
        .search-container {
            background: rgba(255, 255, 255, 0.95);
            color: #000000;
            backdrop-filter: blur(10px);
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            padding: 2rem;
            width: 90%;
            max-width: 800px;
            /* box-shadow: 0 8px 32px rgba(0,0,0,0.08); */
            transition: transform 0.2s;
        }

        .search-input {
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            padding: 1rem 1.5rem;
            font-size: 1.1rem;
            transition: all 0.3s ease;
        }

        .search-input:focus {
            border-color: #6366f1;
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
        }

        .search-tags {
            gap: 0.5rem;
        }

        .tag {
            background: #f3f4f6;
            border-radius: 20px;
            padding: 0.5rem 1rem;
            font-size: 0.875rem;
            color: #4b5563;
            transition: all 0.2s ease;
        }

        .tag:hover {
            background: #6366f1;
            color: white;
            cursor: pointer;
        }

        .recent-searches {
            border-top: 2px solid #f3f4f6;
        }

        .recent-item {
            padding: 0.75rem 1rem;
            border-radius: 10px;
            transition: all 0.2s ease;
        }

        .recent-item:hover {
            background: #f3f4f6;
            cursor: pointer;
        }

/* Navbar  Bootstrapstyles */
.navbar-brand-logo {
    width: 40px; /* Adjust size as needed */
    height: auto;
}

.navbar-brand {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: rgb(255, 255, 255);
}

/* Navbar button styles */
.navbar .btn-primary {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar .btn-primary:hover {
    background: linear-gradient(135deg, #ffd600 0%, #ff31db 50%, #aad6ff 100%);
    border-color: transparent;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navbar .btn-primary.active {
    background: linear-gradient(135deg, #ffd600 0%, #ff31db 50%, #aad6ff 100%);
    border-color: transparent;
    color: black;
}

/* Add gap between navbar buttons */
.navbar .navbar-nav {
    gap: 0.5rem;
}

/* BUTTON BOOTSTRAP EDITOR!*/
.btn {
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    letter-spacing: 1px;
}
.btn-primary {
    background-color: #d4d4d4; /* Light gray background */
    border-color: #ffffff;
    color: #000000;  /* White text */
    transition: all 0.3s ease;  /* Smooth hover effect */
    
}

.btn-primary:hover {
    /* Gradient On hover */
    background: linear-gradient(135deg, #ffd600 0%, #ff31db 50%, #aad6ff 100%);
 
    border-color: #ffffff;
   
    transform: translateY(-2px);  /* Subtle lift effect */
}

.btn-primary.active {
    background: linear-gradient(135deg, #ffd600 0%, #ff31db 50%, #aad6ff 100%);
    border-color: rgb(0, 0, 0);
    color: black;
    position: relative;
    z-index: 2;
}


/* For disabled state */
.btn-primary:disabled {
    background-color: #95a5a6;
    border-color: #95a5a6;
}


#projects {
    background: #000000;
    color: #ffffff;
}

/* Floating Card Animation */
/* Rounder project feed cards */
.card {
    border-radius: 2rem !important; /* Makes corners very round */
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}
.card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

/* @keyframes float-side {
    0% { transform: translateX(0); }
    50% { transform: translateX(10px); }
    100% { transform: translateX(0); }
}
.card {
    animation: float-side 4s ease-in-out infinite;
} */

.card-img-top {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.card-img-top:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Create Now / Submit Project Form Styles */
#create-now-form, #submit form {
  background: rgba(255,255,255,0.92);
  border-radius: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  padding: 2.5rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

#submit h1, #submit h2 {
  margin-bottom: 1.5rem;
}

#submit .form-label {
  font-weight: 600;
  color: #222;
}

#submit .btn-dark {
  background: linear-gradient(90deg, #ffd600 0%, #ff31db 60%, #aad6ff 100%);
  color: #000;
  border: none;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 1.5rem;
  padding: 0.75rem 2.5rem;
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto;  /* This centers the button */
  font-size: 0.95rem;
}

#submit .btn-dark:hover {
  background: linear-gradient(90deg, #aad6ff 0%, #ff31db 60%, #ffd600 100%);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* RADIO SECTION STYLES */

.radio-player-wrapper {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
}

/* Style the radio button */
#radio .btn-outline-light {
  background: rgba(255, 255, 255, 0.92);
  color: #000;
  border-radius: 1.5rem;
  padding: 0.75rem 2.5rem;
  border: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

#radio .btn-outline-light:hover {
  background: linear-gradient(90deg, #ffd600 0%, #ff31db 60%, #aad6ff 100%);
  color: #000;
  transform: translateY(-2px);
}