/* ==========================================================================
   Complete Merged CSS - Timeline Interface + Application Styles
   ========================================================================== */

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Reset & Base Styles */
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #ccd6e2;
  color: #03171f;
  transition: background-color 0.3s, color 0.3s;
}

header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #006D77;
  font-family:'Roboto', sans-serif;
  color: #FFFFFF;
  padding: 16px 10px;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.navbar{
  display: flex;
  align-items:center;
  justify-content: flex-end;
  height: 80px;
  width: 100%;
  position: sticky;
  top: 0;
  background-color: #004E64;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.navbar-container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 2rem;
  max-width: 1600px;
}

.navbar-icons{
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo img {
  height: 90px;
  width: auto;
}

.navbar-container .navbar-menu{
  display: flex;
  text-align: center;
  gap: 1.5rem;
  list-style: none;
  transform: all 0.3s ease;
}

/* --- Dropdown Menu Styling --- */
.navbar-menu .dropdown {
  position: relative;
}

.navbar-menu .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 3px 20px;
  border-radius: 20px;
  border: 2px solid transparent;
  transition: all 0.7s ease;
  white-space: nowrap;
}

.navbar-menu .dropdown-toggle:hover {
  color: #28A6C7;
  background: white;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background-color: #00818d;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 10px 0;
  list-style: none;
  z-index: 1001;
  animation: fadeIn 0.3s ease-in-out;
}

.dropdown-menu.active {
  display: block;
}

.dropdown-menu li a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-size: 1rem;
}

.dropdown-menu li a:hover {
  background-color: #006D77;
  color: white;
}

/* Ensure dropdown works on mobile view */
@media(max-width: 880px) {
  .navbar-menu .dropdown-menu {
    position: static;
    display: none;
    background-color: transparent;
    box-shadow: none;
    padding: 0 0 0 1rem;
    min-width: auto;
  }

  .navbar-menu .dropdown-menu.active {
    display: block;
  }

  .navbar-menu .dropdown-menu li a {
    padding: 8px 12px;
    font-size: 1.2rem;
  }

  .navbar-menu .dropdown-menu li a:hover {
    background-color: transparent;
    color: #28A6C7;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}


.navbar-container .navbar-menu li a{
  text-decoration: none;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 500;
  padding: 3px 20px;
  border-radius: 20px;
  border: 2px solid transparent;
  transition: all 0.7s ease;
  white-space: nowrap;
}

.navbar-container .navbar-menu li a:hover{
  color: #28A6C7;
  background: white;
}

.navbar-menu li a i{
  margin-right: 8px;
}

.navbar-toggle{
  display: none;
  background: transparent;
  padding: 10px;
  border: none;
  cursor: pointer;
}

.bar{
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background: #fff;
  transition: all 0.3s ease-in-out;
}

#toggle-mode {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: white;
}

@media(max-width:880px){
  .navbar{
    backdrop-filter: none;
  }

  .navbar-container .navbar-menu{
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.7rem !important;
    position: absolute;
    height: 100vh;
    width: 250px;
    top: 0;
    right: 0;
    padding: 5rem 1.5rem;
    box-shadow: 0 10px 10px #219EBC;
    backdrop-filter: blur(10px);
  }

  .navbar-container .navbar-menu.active{
    display: flex;
  }

  .navbar-toggle{
    display: block;
    z-index: 999;
  }

  #toggle-mode{
    display: block;
  }

  .navbar-toggle.active .bar:nth-child(2){
    opacity: 0;
  }

  .navbar-toggle.active .bar:nth-child(1){
    transform: translateY(8px) rotate(45deg);
  }

  .navbar-toggle.active .bar:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media(max-width:480px){
  .navbar-container{
    padding: 0 1rem;
  }

  .navbar-container .navbar-menu li a{
    font-size: 1.2rem;
    padding: 3px 15px;
    filter: brightness(1) invert(0);
  }
}

.github-link{
  display: flex;
  align-items: center;
  gap: 8px;
}

.github-icon{
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* Main Heading */
.main-heading h1 {
  margin-top: 12px;
}

/* Container */
.container {
  margin: 20px auto;
  padding: 20px;
  max-width: 900px;
}

.container h3 {
  text-align: center;
  font-size: 2rem;
  color: #1d4c64;
  font-family: 'Lucida Sans', sans-serif;
}

/* Search Bar */
.search-bar {
  margin: 30px auto;
  max-width: 600px;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.search-bar input {
  flex: 1;
  padding: 14px 16px;
  font-size: 16px;
  width: 500px;
  border: 1px solid #cccccc;
  border-radius: 10px;
  outline: none;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  color: #5ca5cc;
  transition: all 0.3s ease;
}

.search-bar input::placeholder {
  color: #5ca5cc;
}

.search-bar input:focus {
  border: 2px solid #219EBC;
  box-shadow: 0 0 8px rgba(33, 158, 188, 0.3);
  background-color: #f9f9f9;
}

/* Filter Dropdown */
#categoryFilter {
  width: 140px;
  height: 44px;
  padding: 0 10px;
  text-align: center;
  color: #5ca5cc;
  border: 1px solid #ccc;
  border-radius: 12px;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-size: 15px;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
}

#categoryFilter:focus {
  border-color: #219EBC;
  outline: none;
}

/* Dropdown Filter Section */
.filter-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-btn {
  padding: 8px 8px;
  border: none;
  height: 45px;
  width: 132px;
  background-color: #28A6C7;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.dropdown-btn:hover {
  background-color: #006D77;
}

.checkbox-dropdown {
  display: none;
  position: absolute;
  background-color: #ccd6e2;
  border-radius: 8px;
  min-width: 180px;
  z-index: 10;
  max-height: 200px;
  overflow-y: auto;
  padding: 1px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.checkbox-dropdown label {
  display: block;
  margin: 0px 0;
  padding-top: 8px;
  width: 180px;
  font-size: 14px;
  border-top: 1px solid #2b2727;
  border-bottom: 1px solid #2b2727;
  padding-left: 8px;
  border-radius: 0px;
  height: 25px;
}

.checkbox-dropdown input[type="checkbox"] {
  position: static;
  opacity: 1;
  width: auto;
  height: auto;
  margin-left: 0;
  margin-right: 0;
}

.checkbox-dropdown label:hover {
  background-color: #006D77;
  color: #e3e3e3;
}

.filter-dropdown.open .checkbox-dropdown {
  display: block;
}

/* Intro Wrapper & Intro Cards (Original Timeline) */
.intro-wrapper {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  display: flex;
  gap: 20px;
  padding: 40px 20px;
}

.intro {
  flex: 0 0 90%;
  scroll-snap-align: center;
  background: linear-gradient(135deg, #f8ffff, #e0f7fa);
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  color: #333;
  animation: fadeIn 1s ease-in-out;
  transition: transform 0.3s ease;
}

.intro:hover {
  transform: scale(1.02);
}

.intro h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #006D77;
}

.intro p {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Intro Sections (New Layout) */
.intro-sections {
  padding: 4rem 1rem;
  margin: 2rem auto;
  max-width: 1300px;
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f7ff 100%);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.section-title {
  font-size: 2.25rem;
  color: #2c3e50;
  margin: 0 0 0.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4CAF50, #2196F3);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  margin: 1rem auto 0;
  max-width: 600px;
  line-height: 1.6;
}

.intro-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 0 1.5rem;
}

.intro-card h2,
.intro-card h3,
.intro-card h4 {
  text-align: left;
  margin-left: 0;
  padding-left: 0;
}

/* Card Styles (Timeline Cards) */
/* Updated Intro Card Styles - Apply Resource Card Styling */
.intro-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin: 15px 0;
  padding: 1.5rem 1.5rem; /* Reduced from 2.5rem to 1.5rem */
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto; /* Changed from 100% to auto */
  z-index: 1;
  transform: translateZ(0);
  will-change: transform, box-shadow;
  background-clip: padding-box;
  border-left: 4px solid #219EBC; /* Same as resource cards */
}

.journey-card {
  border-left: 4px solid #4CAF50;
  background: rgba(255, 255, 255, 0.98); /* More opaque for better readability */
}

.roadmap-card {
  border-left: 4px solid #2196F3;
  background: rgba(255, 255, 255, 0.98); /* More opaque for better readability */
}

.intro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 12px;
  background: transparent;
  z-index: -1;
  transition: all 0.3s ease;
  opacity: 0;
}

.journey-card:hover::before {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 1;
  animation: borderGlow 2s infinite;
}

.roadmap-card:hover::before {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 1;
  animation: borderGlow 2s infinite;
}

@keyframes borderGlow {
  0% { opacity: 0.8; }
  50% { opacity: 1; }
  100% { opacity: 0.8; }
}

.card-header {
  position: relative;
  padding-bottom: 0.75rem; /* Reduced from 1rem */
  margin-bottom: 0.75rem; /* Reduced from 1rem */
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.card-title {
  color: #1a3a4a; /* Same as resource card h4 color */
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem; /* Same as resource card h4 */
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.intro-card:hover .card-title {
  color: #1a2530;
}


.card-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #219EBC;
  transition: width 0.3s ease;
}

.journey-card .card-header::after {
  background: linear-gradient(90deg, #4CAF50, #2E7D32);
}

.roadmap-card .card-header::after {
  background: linear-gradient(90deg, #2196F3, #1565C0);
}

.intro-card:hover .card-title::after {
  width: 100%;
}

/* Icon Styles */
.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; /* Reduced from 50px */
  height: 40px; /* Reduced from 50px */
  border-radius: 50%;
  margin-bottom: 0.5rem; /* Reduced from 1rem */
  position: relative;
  transition: all 0.3s ease;
}

.journey-icon {
  background: rgba(76, 175, 80, 0.06); /* Much more subtle */
  color: #2E7D32; /* Darker green for better contrast */
}

.roadmap-icon {
  background: rgba(33, 150, 243, 0.06); /* Much more subtle */
  color: #1565C0; /* Darker blue for better contrast */
}

.intro-icon {
  font-size: 1.5rem; /* Reduced from 1.75rem */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}



.card-title {
  color: #2c3e50;
  margin: 0 0 0.5rem 0;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
}

.card-content {
  flex: 1;
  line-height: 1.6; /* Same as resource cards */
  color: #2c3e50; /* Darker text for better readability */
  font-size: 1rem; /* Slightly increased for better readability */
  margin: 0;
  text-align: left;
  padding-left: 0;
}

.card-content {
  flex: 1;
  line-height: 1.6; /* Same as resource cards */
  color: #2c3e50; /* Darker text for better readability */
  font-size: 1rem; /* Slightly increased for better readability */
  margin: 0;
  text-align: left;
  padding-left: 0;
}
/* Application Card Styling */
.card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin: 25px 0;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border-left: 4px solid #219EBC;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(33, 158, 188, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(33, 158, 188, 0.15);
  background-color: #ffffff;
}

.card:hover::before {
  opacity: 1;
}

.card h4 {
  color: #1a3a4a;
  margin-bottom: 12px;
  font-size: 1.3rem;
  position: relative;
  display: inline-block;
}

.card h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #219EBC;
  transition: width 0.3s ease;
}

.card:hover h4::after {
  width: 100%;
}

.card p {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #219EBC;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: rgba(33, 158, 188, 0.1);
  padding: 10px 18px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.card a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(33, 158, 188, 0.2);
  transition: width 0.3s ease;
  z-index: -1;
}

.card a:hover {
  color: #0c3845;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33, 158, 188, 0.2);
}

.card a:hover::before {
  width: 100%;
}

.card a i {
  transition: transform 0.3s ease;
}

.card a:hover i {
  transform: translateX(3px);
}

/* Category Badge */
.card::after {
  content: attr(data-category);
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(33, 158, 188, 0.1);
  color: #219EBC;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Highlight Styles */
.highlight {
  color: #ff6f61;
  font-weight: bold;
}

.intro-card .highlight {
  color: #2c3e50;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.intro-card .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  opacity: 0.2; /* Much more subtle */
  z-index: -1;
  transition: all 0.3s ease;
}

.journey-card .highlight::after {
  background: #4CAF50;
}

.roadmap-card .highlight::after {
  background: #2196F3;
}

.intro-card:hover .highlight::after {
  height: 12px;
  bottom: 2px;
  opacity: 0.3; /* Slightly more visible on hover */
}

/* List Styles */
ul {
  margin: 10px 0;
  padding-left: 20px;
}

ul li::marker {
  color: #006D77;
}

/* Hover Effects */
.intro-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(33, 158, 188, 0.15);
  background-color: #ffffff;
}


.journey-card:hover {
  background: rgba(255, 255, 255, 1); /* Pure white on hover */
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.12); /* More subtle shadow */
}

.roadmap-card:hover {
  background: rgba(255, 255, 255, 1); /* Pure white on hover */
  box-shadow: 0 8px 20px rgba(33, 150, 243, 0.12); /* More subtle shadow */
}

.intro-card:hover::before {
  opacity: 1;
}

/* Dispersed light effect */
.intro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(33, 158, 188, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.journey-card::before {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
}

.roadmap-card::before {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
}

/* Border glow effect */
.intro-card::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 18px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.journey-card:hover::after {
  background: linear-gradient(45deg, rgba(76, 175, 80, 0.08), rgba(46, 125, 50, 0.04), rgba(76, 175, 80, 0.08));
  opacity: 1;
  animation: borderPulse 3s infinite;
}

.roadmap-card:hover::after {
  background: linear-gradient(45deg, rgba(33, 150, 243, 0.08), rgba(21, 101, 192, 0.04), rgba(33, 150, 243, 0.08));
  opacity: 1;
  animation: borderPulse 3s infinite;
}

@keyframes borderPulse {
  0% { opacity: 0.7; }
  50% { opacity: 1; }
  100% { opacity: 0.7; }
}

.intro-card:hover .card-title {
  transform: translateX(5px);
}

.intro-card:hover .icon-wrapper {
  transform: scale(1.1);
}

.journey-card:hover {
  box-shadow: 0 20px 40px rgba(76, 175, 80, 0.10); /* Reduced opacity */
}

.roadmap-card:hover {
  box-shadow: 0 20px 40px rgba(33, 150, 243, 0.10); /* Reduced opacity */
}

/* Skeleton Loading */
@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite linear;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.skeleton-text {
  height: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 4px;
}

.skeleton-text:last-child {
  width: 70%;
  margin-bottom: 1rem;
}

.skeleton-button {
  width: 120px;
  height: 40px;
  border-radius: 8px;
  margin-top: 1rem;
}

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 100;
  display: none;
  background-color: #219EBC;
  color: white;
  border: none;
  border-radius: 50%;
  height: 50px;
  width: 50px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

#backToTop:hover {
  background-color: #037b86;
  transform: scale(1.2);
}


/* Toggle Mode Button */
#toggle-mode {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #037b86;
  border: 1px solid #037b86;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

#toggle-mode:hover {
  transform: scale(1.1) rotate(180deg);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Continuation of the CSS code */

#toggle-mode:hover {
  transform: scale(1.1) rotate(180deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border-color: aqua;
  border-width: 2px;
}

/* Footer */
footer {
  background-color: #28A6C7;
  color: white;
  font-family: Arial, sans-serif;
  padding: 50px 20px 30px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-section {
  flex: 1 1 220px;
  text-align: center;
}

.footer-section h2 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-section h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-section p {
  font-size: 15px;
  line-height: 1.5;
  color: #f0f0f0;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  color: #e5e5ff;
  text-decoration: none;
  font-size: 15px;
}

.footer-section a:hover {
  color: white;
}

.social-icons {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons a {
  font-size: 20px;
  color: white;
  transition: 0.3s ease;
}

.social-icons a:hover {
  color: #000000;
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
  font-size: 15px;
  color: #e3e3e3;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding-top: 15px;
}

.hidden {
  display: none;
}

#noResultsMessage {
  padding: 16px;
  margin: 16px 0;
  border-radius: 8px;
  text-align: left;
  font-size: 1.1rem;
  font-family: 'Roboto', sans-serif;
  animation: fadeIn 0.3s ease-out;
  background-color: #FFF5F5;
  color: #5E2B2B;
  border-left: 4px solid #FF6B6B;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.1);
}

/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Mobile First Adjustments */
@media (max-width: 767px) {
  #toggle-mode {
    position: static;
  }
  
  .intro-card:active {
    transform: scale(0.98);
  }
  
  .icon-wrapper:active {
    transform: scale(0.95);
  }
}

/* Tablet Styles */
@media (min-width: 768px) {
  .intro-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    padding: 2.5rem 1rem 3rem;
  }
  
  .intro-sections {
    padding: 3rem 1rem 5rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .intro-container {
    gap: 3.5rem;
    padding: 2rem 2rem;
  }
  
  .intro-card {
    padding: 1.4rem;
  }
  
  .card-title {
    font-size: 1.85rem;
  }
  
  .intro-card p {
    max-width: 90%;
  }
}

.autocomplete {
  position: relative;
  display: inline-block;
  width: 100%;
}
.autocomplete-items {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  border-radius: 10px;
  margin-top: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border: 1px solid #cccccc;
  max-height: 200px;
  overflow-y: auto;
}

#autocomplete-list div{
  border: 1px solid black;
 
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
}

.autocomplete-items div {
   padding: 12px 16px;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #f0f0f0;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #333;
  transition: background-color 0.2s ease;
}

.autocomplete-items div:hover {
  background-color: #f5f5f5;
}
.autocomplete-items div:last-child {
  border-bottom: none;
}


.autocomplete-items strong {
  font-weight: 600;
  color: #219EBC;
}

/* Large Desktop Styles */
@media (min-width: 1400px) {
  .intro-card p {
    max-width: 85%;
  }
}
