/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === Peer Community New Structure Styles === */
header {
  width: 100%;
  margin:0;
  /* background: #2e7d32; */
}

nav {
  max-width: 100vw;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  color: white;
  background: none;
}

.logo {
  font-size: 1.7rem;
  font-weight: bold;
  letter-spacing: 2px;
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-text {
  font-family: 'Dancing Script', cursive;
  font-size: 1.8rem;
  font-weight: 600;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.brand-text:hover {
  color: #e2e8f0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: #c8e6c9;
}

.banner {
  background-color: #66bb6a;
  width:100%;
  margin:0;
  text-align: center;
  padding-left:0;
  padding: 3rem 1rem 2rem 1rem;
  color: white;
  letter-spacing: 1px;
}

.story-section {
  display: flex;
  justify-content: space-around;
  padding: 2rem 1rem;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.view-story, .post-story {
  background: white;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(46,125,50,0.08);
  flex: 1 1 400px;
  min-width: 320px;
  max-width: 500px;
}
select, input, textarea, button {
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
}

button {
  background-color: #2e7d32;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}
button:hover {
  background-color: #388e3c;
}

.footer-links, .social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  color: black;
}

.footer-links a, .social-icons a {
  color: black;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}
.footer-links a:hover, .social-icons a:hover {
  color: #c8e6c9;
}

.social-icons img {
  width: 28px;
  height: 28px;
  /* filter: brightness(0) invert(1); */
  transition: filter 0.2s;
}
.social-icons a:hover img {
  filter: brightness(0.8) invert(0.8) sepia(1) hue-rotate(80deg) saturate(2);
}
.action-buttons {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  justify-content: center;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #4c6ef5;
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cta-btn:hover {
  background-color: white;
  color: #4c6ef5;
  border: 2px solid #4c6ef5;
}

.cta-icon {
  font-size: 18px;
}

.cta-label {
  font-size: 16px;
}
.card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  background-color: #e0e0e0;
}
.counsellor-img {
  width: 100%;
  max-width: 120px;
  height: auto;
  border-radius: 50%;
  margin-bottom: 12px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
/* Video Call Enhancements */
.video-call-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.video-call-header {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px 20px;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-call-main {
  background: #000;
  border-radius: 0 0 12px 12px;
  position: relative;
  overflow: hidden;
}

.video-responsive {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: cover;
  display: block;
}

.video-controls-panel {
  background: rgba(0, 0, 0, 0.9);
  padding: 15px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Mobile optimizations for video calls */
@media (max-width: 768px) {
  .video-call-container {
    padding: 10px;
  }
  
  .video-responsive {
    max-height: 50vh;
  }
  
  .video-controls-panel {
    gap: 10px;
    padding: 10px;
  }
}

/* Enhanced responsive design */
@media (max-width: 480px) {
  .controls {
    padding: 10px 5px;
    gap: 8px;
  }
  
  .control-btn {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  
  .end-call-btn {
    width: 55px;
    height: 55px;
  }
}

@media (max-width: 900px) {
  .story-section {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }
  .view-story, .post-story {
    max-width: 100%;
    min-width: unset;
  }
  nav {
    /* flex-direction: column; */
    gap: 1rem;
    padding: 1rem;
  }
}
@media (max-width: 768px) {
  .navbar-logo {
    max-width: 100px;
  }
}


@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Professional Dark Navbar Styling */
.navbar {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f172a 100%);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 4px 32px rgba(0, 0, 0, 0.3),
    0 2px 16px rgba(0, 0, 0, 0.2);
  color: white;
  padding: 18px 40px;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  min-height: 75px;
}

.navbar.scrolled {
  background: rgba(26, 26, 46, 0.98);
  backdrop-filter: blur(25px);
  box-shadow: 
    0 8px 40px rgba(0, 0, 0, 0.4),
    0 4px 20px rgba(0, 0, 0, 0.3);
  padding: 14px 40px;
}

/* Simplified Professional Logo Container */
.logo-container {
  display: flex;
  align-items: center;
  position: relative;
  height: 60px;
}

/* Enhanced Professional Logo */
.navbar-logo {
  width: 55px !important;
  height: 55px !important;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: #ffffff;
  padding: 0;
  border: 3px solid #ffffff;
  box-shadow: 
    0 0 0 2px rgba(99, 102, 241, 0.4),
    0 6px 25px rgba(0, 0, 0, 0.3),
    0 3px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  display: block;
}

.navbar-logo:hover {
  transform: scale(1.05);
  border-color: #f8fafc;
  box-shadow: 
    0 0 0 3px rgba(99, 102, 241, 0.6),
    0 8px 35px rgba(0, 0, 0, 0.4),
    0 4px 16px rgba(0, 0, 0, 0.3);
}

.navbar .logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  text-decoration: none;
  background: linear-gradient(45deg, #fff, #e0e0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.navbar ul li {
  position: relative;
}

.navbar ul li a {
  text-decoration: none;
  color: #e2e8f0;
  font-weight: 500;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  border: 1px solid transparent;
}

.navbar ul li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s;
}

.navbar ul li a:hover::before {
  left: 100%;
}

.navbar ul li a:hover {
  background: rgba(99, 102, 241, 0.2);
  color: #ffffff;
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.navbar ul li a.active {
  background: rgba(99, 102, 241, 0.3);
  color: #ffffff;
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.2);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
@media screen and (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }
  
  .navbar ul {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    padding-top: 50px;
    transition: left 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  }

  .navbar ul.active {
    left: 0;
  }

  .navbar ul li {
    width: 80%;
    text-align: center;
    margin: 10px 0;
  }

  .navbar ul li a {
    width: 100%;
    padding: 15px 25px;
    font-size: 18px;
    border-radius: 15px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
  }

  .navbar ul li a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.02);
  }

  .menu-toggle {
    display: flex;
  }

  .navbar-logo {
    width: 45px;
    height: 45px;
  }
  
  .logo-container {
    gap: 10px;
  }
}

@media screen and (max-width: 480px) {
  .navbar {
    padding: 12px 15px;
  }
  
  .navbar-logo {
    width: 40px;
    height: 40px;
  }
  
  .navbar .logo {
    font-size: 1.4rem;
  }
}
 html, body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

 
 body { font-family: 'Poppins', sans-serif; margin: 0; background: #4c6ef5; color: #212529; background: #4c6ef5;
  margin: 0; }
  /*  header { background: linear-gradient(135deg, #4c6ef5, #364fc7); color: white; padding: 15px 40px; position: sticky; top: 0; z-index: 1000; }*/
    nav { display: flex; justify-content: space-between; align-items: center; }
    nav ul { list-style: none; display: flex; gap: 25px; }
    nav a { color: white; text-decoration: none; font-weight: 600; }
    nav a:hover { color: #ffda6a; }
 

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }
    body { font-family: 'Poppins', sans-serif; background: #f8f9fa; color: #212529; }

    /* Navbar */
   /* header { background: linear-gradient(135deg, #4c6ef5, #364fc7); color: white; padding: 15px 40px; position: sticky; top: 0; z-index: 1000; }*/
    nav { display: flex; justify-content: space-between; align-items: center; }
    nav ul { list-style: none; display: flex; gap: 25px; }
    nav a { color: white; text-decoration: none; font-weight: 600; position: relative; }
    nav a::after {
      content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background: #ffda6a;
      transition: width 0.3s;
    }
    nav a:hover::after { width: 100%; }

    /* Enhanced Hero Section with Better Contrast */
    .hero { 
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center; 
      padding: 120px 40px 80px 40px; 
      background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.9) 0%,
        rgba(168, 85, 247, 0.8) 30%,
        rgba(236, 72, 153, 0.7) 60%,
        rgba(251, 146, 60, 0.6) 100%
      );
      width: 100%;
      min-height: 70vh;
      margin: 0;
      color: white; 
      animation: fadeIn 1.2s ease-in-out;
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(
        45deg,
        rgba(15, 23, 42, 0.3) 0%,
        rgba(30, 41, 59, 0.2) 25%,
        rgba(51, 65, 85, 0.1) 50%,
        rgba(71, 85, 105, 0.15) 75%,
        rgba(100, 116, 139, 0.1) 100%
      );
      backdrop-filter: blur(1px);
      pointer-events: none;
    }

    .hero-container {
      max-width: 1200px;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 30px;
      z-index: 2;
      position: relative;
    }

    .hero h1 { 
      font-size: clamp(2.5rem, 5vw, 4rem);
      margin-bottom: 20px; 
      font-weight: 700; 
      line-height: 1.2;
      text-shadow: 0 4px 20px rgba(0,0,0,0.3);
      max-width: 900px;
    }
    
    .hero p { 
      font-size: clamp(1.1rem, 2.5vw, 1.3rem);
      margin-bottom: 40px; 
      max-width: 700px; 
      line-height: 1.6;
      text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }

    .hero .btn-container {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
      align-items: center;
    }
    
    .hero button,
    .hero .btn {
      background: linear-gradient(45deg, #ff6b6b, #ff8e8e); 
      color: white; 
      border: none; 
      padding: 16px 32px; 
      margin: 8px; 
      border-radius: 50px; 
      font-size: 16px; 
      font-weight: 600; 
      cursor: pointer; 
      box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
      transition: all 0.3s ease;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      position: relative;
      overflow: hidden;
    }

    .hero button::before,
    .hero .btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
      transition: left 0.5s;
    }

    .hero button:hover::before,
    .hero .btn:hover::before {
      left: 100%;
    }
    
    .hero button:hover,
    .hero .btn:hover { 
      background: linear-gradient(45deg, #ff5252, #ff7979); 
      transform: translateY(-3px) scale(1.05); 
      box-shadow: 0 12px 35px rgba(255, 82, 82, 0.4); 
    }

    .hero-features {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 40px;
      margin-top: 30px;
      flex-wrap: wrap;
    }

    .hero-feature {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      padding: 20px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 15px;
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      transition: all 0.3s ease;
    }

    .hero-feature:hover {
      background: rgba(255, 255, 255, 0.15);
      transform: translateY(-5px);
    }

    .hero-feature i {
      font-size: 2rem;
      color: #ffffff;
    }

    .hero-feature span {
      font-weight: 500;
      color: #ffffff;
    }

    /* Mobile responsiveness for hero */
    @media (max-width: 768px) {
      .hero {
        padding: 100px 20px 60px 20px;
        min-height: 60vh;
      }
      
      .hero .btn-container {
        flex-direction: column;
        width: 100%;
      }
      
      .hero button,
      .hero .btn {
        width: 100%;
        max-width: 300px;
        margin: 5px 0;
      }

      .hero-features {
        gap: 20px;
      }

      .hero-feature {
        padding: 15px;
        min-width: 120px;
      }
    }

    @media (max-width: 480px) {
      .hero {
        padding: 80px 15px 50px 15px;
      }
      
      .hero-features {
        flex-direction: column;
        gap: 15px;
      }
    }

    .btn {
  display:inline-block;
  background:#ff922b;
  color:white;
  padding:12px 20px;
  border-radius:8px;
  text-decoration:none;
  font-weight:600;
  box-shadow:0 3px 6px rgba(0,0,0,0.1);
  transition:background .3s;
}
.btn:hover {background:#f76707;}
.btn i {margin-right:6px;}

    /* Enhanced Features Section with About Page Consistency */
    .features { 
      display: grid; 
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
      gap: 35px; 
      padding: 80px 40px;
      background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
      position: relative;
      margin: 0;
    }

    .features::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: 
        radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 20%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
      pointer-events: none;
    }

    .features .card { 
      background: rgba(255, 255, 255, 0.95); 
      padding: 35px 25px; 
      border-radius: 20px; 
      text-align: center; 
      box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.05); 
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.8);
      transform: translateY(40px); 
      opacity: 0;
      transition: all 0.4s ease;
      position: relative;
      z-index: 2;
      overflow: hidden;
    }

    .features .card::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.08), transparent);
      transition: left 0.6s ease;
    }

    .features .card:hover::before {
      left: 100%;
    }

    .features .card.show { 
      transform: translateY(0); 
      opacity: 1; 
    }

    .features .card:hover {
      transform: translateY(-12px);
      box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(99, 102, 241, 0.2);
      border-color: rgba(99, 102, 241, 0.3);
    }

    .features .card i { 
      font-size: 3rem; 
      color: #6366f1; 
      margin-bottom: 20px; 
      transition: all 0.3s ease;
      background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .features .card:hover i { 
      transform: scale(1.1) rotate(5deg);
    }

    .features .card h3 { 
      margin-bottom: 15px; 
      font-size: 1.4rem; 
      color: #1e293b; 
      font-weight: 600;
    }

    .features .card p { 
      font-size: 1rem; 
      color: #64748b; 
      line-height: 1.6;
    }

    .testimonials {
  padding: 60px 20px;
  background: var(--card);
  color: var(--text);
  text-align: center;
}
.testimonials h2 {
  font-size: 28px;
  color: var(--text);
  margin-bottom: 40px;
}
.testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.testimonial {
  background: var(--bg);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(30px);
  transition: all .6s ease;
}
.testimonial.show {
  opacity: 1;
  transform: translateY(0);
}
.testimonial p {
  font-style: italic;
  font-size: 15px;
  margin-bottom: 10px;
}
.testimonial h4 {
  font-size: 14px;
  color: var(--text);
}

/*PEER COMMUNITY*/
 /* Post Feed */
    .feed { max-width: 800px; margin: 40px auto; padding: 0 20px; }
    .post {
      background: white; padding: 20px; margin: 20px 0; border-radius: 15px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      transform: translateY(40px); opacity: 0;
      transition: transform 0.6s ease, opacity 0.6s ease;
    }
    .post.show { transform: translateY(0); opacity: 1; }
    .post h3 { margin: 0 0 10px; font-size: 16px; color: #364fc7; }
    .post p { font-size: 15px; color: #333; margin-bottom: 10px; }
    .post .actions { display: flex; gap: 20px; font-size: 16px; color: #555; }
    .post .actions i { cursor: pointer; transition: color 0.3s; }
    .post .actions i:hover { color: #4c6ef5; }

    /* Floating Button */
    .floating-btn {
      position: fixed; bottom: 25px; right: 25px; 
      background: #4c6ef5; color: white;
      width: 60px; height: 60px;
      border-radius: 50%; font-size: 28px;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 5px 15px rgba(0,0,0,0.2);
      cursor: pointer; transition: 0.3s;
    }
    .floating-btn:hover { background: #364fc7; transform: scale(1.1); }

    footer { text-align: center; padding: 20px; background: #f1f3f5; margin-top: 40px; font-size: 14px; }

    /* Emergency Button */
    .floating-btn { 
      position: fixed; bottom: 20px; right: 20px; 
      background: #e03131; color: white; 
      border-radius: 50%; width: 60px; height: 60px; 
      display: flex; justify-content: center; align-items: center; 
      font-size: 24px; cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.2); 
      transition: 0.3s; z-index: 1000;
    }
    .floating-btn:hover { background: #c92a2a; transform: scale(1.1); }

/*COUNSELLOR ENHANCED STYLING*/
/* Professional Counsellor Login Section */
.counsellor-login-section {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  color: white;
}

.counsellor-login-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.login-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.login-content {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 50px 40px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-content:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.login-content i {
  font-size: 3.5rem;
  color: #6366f1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.login-content h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #ffffff;
}

.login-content p {
  font-size: 1.2rem;
  color: #e2e8f0;
  margin-bottom: 32px;
  line-height: 1.6;
}

.professional-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  text-decoration: none;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  min-width: 200px;
}

.professional-login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.professional-login-btn:hover::before {
  left: 100%;
}

.professional-login-btn:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.5);
}

.professional-login-btn:active {
  transform: translateY(-1px);
  transition: all 0.15s ease;
}

.professional-login-btn span {
  position: relative;
  z-index: 2;
}

/* Enhanced Community Section */
.community-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 80px 20px;
  position: relative;
}

.community-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.community-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.community-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.1),
    0 4px 12px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.community-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.15),
    0 8px 25px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.2);
}

.card-icon {
  font-size: 3rem;
  color: #6366f1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.community-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 16px;
}

.community-card p {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 24px;
}

.community-btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.community-btn.primary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.community-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

.community-btn.secondary {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  border: 2px solid rgba(99, 102, 241, 0.2);
}

.community-btn.secondary:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

.groups-showcase {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.groups-showcase h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 30px;
  text-align: center;
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.group-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(248, 250, 252, 0.8);
  border-radius: 16px;
  transition: all 0.3s ease;
  border: 1px solid rgba(226, 232, 240, 0.5);
}

.group-item:hover {
  background: rgba(241, 245, 249, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.group-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 12px;
}

.group-info {
  flex: 1;
}

.group-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
}

.group-members {
  font-size: 0.9rem;
  color: #64748b;
}

.join-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.join-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

/* Enhanced Counsellors Section Header */
.counsellors-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.counsellors-header h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.counsellors-header p {
  font-size: 1.2rem;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

 /* Enhanced Counsellors Grid with Professional Design */
    .counsellors { 
      padding: 80px 40px;
      background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
      position: relative;
    }

    .counsellors::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
      pointer-events: none;
    }

    .counsellors-grid {
      display: grid; 
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 40px; 
      max-width: 1200px; 
      margin: 0 auto;
      position: relative;
      z-index: 2;
    }

    .counsellors .card {
      background: rgba(255, 255, 255, 0.95); 
      border-radius: 24px; 
      padding: 35px 30px;
      text-align: center; 
      box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.04);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.8);
      transform: translateY(0); 
      opacity: 1;
      transition: none;
      position: relative;
    }

    .counsellors .card img {
      width: 110px; 
      height: 110px; 
      border-radius: 50%;
      margin-bottom: 24px; 
      border: 4px solid #6366f1;
      box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
      transition: all 0.3s ease;
      object-fit: cover;
    }

    .counsellors .card:hover img {
      transform: scale(1.05);
      border-color: #8b5cf6;
      box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
    }

    .counsellors .card h3 { 
      margin: 0 0 12px 0; 
      color: #1e293b; 
      font-size: 1.5rem;
      font-weight: 600;
    }

    .counsellors .card .department { 
      font-size: 1rem; 
      color: #6366f1; 
      margin: 0 0 8px 0; 
      font-weight: 500;
    }

    .counsellors .card .specializations { 
      font-size: 0.95rem; 
      color: #64748b; 
      margin: 0 0 24px 0; 
      line-height: 1.5;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }

    .counsellors .card .specializations i {
      color: #f59f00;
      font-size: 1rem;
    }

    .counsellors .card .action-buttons {
      display: flex;
      gap: 12px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .counsellors .card .cta-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
      color: white;
      text-decoration: none;
      padding: 12px 20px;
      font-size: 0.9rem;
      font-weight: 600;
      border-radius: 25px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
      border: none;
      cursor: pointer;
      min-width: 120px;
      justify-content: center;
    }

    .counsellors .card .cta-btn:hover {
      background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    }

    .counsellors .card .cta-btn i {
      font-size: 1rem;
    }

    .counsellors .card .cta-btn span {
      font-size: 0.9rem;
    }

/* Responsive Design for Counsellor Page */
@media (max-width: 768px) {
  .counsellors {
    padding: 60px 20px;
  }
  
  .counsellors-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .counsellors .card {
    padding: 30px 25px;
  }
  
  .counsellors .card .action-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .counsellors .card .cta-btn {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }
  
  .counsellors-header h2 {
    font-size: 2.2rem;
  }
  
  .login-content {
    padding: 40px 25px;
  }
  
  .login-content h3 {
    font-size: 1.6rem;
  }
  
  .login-content p {
    font-size: 1rem;
  }
}
 .card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  padding: 20px;
}

.counsellor-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 16px;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  flex-shrink: 0;
}

/*About Section*/
 /* About Section */
    .about { max-width: 900px; margin: 50px auto; padding: 0 20px; text-align: center; }
    .about h2 { font-size: 28px; margin-bottom: 15px; color: #364fc7; }
    .about p { font-size: 16px; color: #555; line-height: 1.6; margin-bottom: 30px; }

    /* Team */
    .team { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 25px; margin-top: 30px; }
    .member {
      background: white; padding: 20px; border-radius: 15px; box-shadow: 0 6px 18px rgba(0,0,0,0.1);
      text-align: center; transform: translateY(40px); opacity: 0; transition: 0.6s;
    }
    .member.show { transform: translateY(0); opacity: 1; }
    .member img { width: 80px; height: 80px; border-radius: 50%; margin-bottom: 10px; border: 3px solid #4c6ef5; }
    .member h3 { margin: 5px 0; font-size: 18px; color: #364fc7; }
    .member p { font-size: 14px; color: #555; }

    /* Contact Section */
    .contact { background: #f1f3f5; padding: 60px 20px; text-align: center; }
    .contact h2 { font-size: 28px; margin-bottom: 20px; color: #364fc7; }
    .contact-info { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; font-size: 16px; }
    .contact-info i { margin-right: 8px; color: #4c6ef5; }
    form { max-width: 500px; margin: auto; display: flex; flex-direction: column; gap: 15px; }
    input, textarea {
      padding: 12px; border: 1px solid #ccc; border-radius: 8px; font-family: inherit; font-size: 15px;
    }
    button {
      background: #4c6ef5; color: white; border: none; padding: 12px; border-radius: 8px; font-weight: 600;
      cursor: pointer; transition: 0.3s;
    }
    button:hover { background: #364fc7; }

/*PROFILE SECTION*/
 /* Profile Card */
    .profile { max-width: 900px; margin: 40px auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
    .profile-card {
      background: white; padding: 30px; border-radius: 15px; box-shadow: 0 6px 18px rgba(0,0,0,0.1);
      text-align: center; width: 100%; max-width: 400px; animation: fadeIn 1s ease-in-out;
    }
    .profile-card img {
      width: 100px; height: 100px; border-radius: 50%; margin-bottom: 15px; border: 3px solid #4c6ef5;
    }
    .profile-card h2 { margin-bottom: 5px; color: #364fc7; }
    .profile-card p { margin: 3px 0; color: #555; }

    /* Toggle */
    .toggle { margin-top: 15px; }
    .toggle button {
      background: #4c6ef5; color: white; border: none; padding: 10px 18px; border-radius: 8px;
      cursor: pointer; font-weight: 600; transition: 0.3s;
    }
    .toggle button:hover { background: #364fc7; }

    /* Settings */
    .settings, .activity { 
      background: white; padding: 25px; border-radius: 15px; 
      box-shadow: 0 6px 18px rgba(0,0,0,0.1); margin: 20px auto; 
      max-width: 900px; 
    }
    .settings h3, .activity h3 { color: #364fc7; margin-bottom: 15px; }
    .settings button {
      display: block; width: 100%; margin: 10px 0; padding: 12px;
      border: none; border-radius: 8px; font-weight: 600;
      cursor: pointer; transition: 0.3s;
      background: #4c6ef5; color: white;
    }
    .settings button:hover { background: #364fc7; }

    /* Activity */
    .activity .item {
      background: #f8f9fa; padding: 12px; border-radius: 10px; margin: 10px 0;
      box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
    }

/* Chatbot Floating Button */
#chatbot-container {
  position: fixed;
  bottom: 20px;
  
  right: 100px; 

  z-index: 9999;
}

#chatbot-icon {
  width: 60px;
  height: 60px;
  background: #4c6ef5;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: 0.3s;
}

#chatbot-icon:hover {
  background: #364fc7;
  transform: scale(1.1);
}

/* Chatbot Popup */
#chatbot-popup {
  display: none;
  position: absolute;
  bottom: 70px;
  right: 0;
  animation: fadeIn 0.4s ease-in-out;
}

#chatbot-popup iframe {
  background: white;
}

section { background:#fff; padding:20px; margin-bottom:20px; box-shadow:0 2px 6px rgba(0,0,0,0.05) }

/* Specific sections that need border-radius */
section:not(.hero):not(.features):not(.counsellors):not(.vision):not(.impact):not(.cta):not(.counsellor-login-section):not(.booking-section):not(.resources-section):not(.testimonials) { 
  border-radius:10px; 
}
h2 { margin-top:0 }
input, textarea, select { width:100%; padding:10px; margin:6px 0 12px; border:1px solid #ccc; border-radius:6px; font-size:14px }
button { padding:10px 16px; border:none; border-radius:6px; background:#4f46e5; color:#fff; font-weight:600; cursor:pointer }
button:hover { background:#3730a3 }

table { width:100%; border-collapse:collapse; margin-top:10px }
table th, table td { padding:8px; border:1px solid #ddd; font-size:13px; text-align:left }
table th { background:#f3f4f6 }

/* Additional responsive improvements */
@media screen and (max-width: 1024px) {
  .navbar {
    padding: 12px 25px;
  }
  
  .navbar ul {
    gap: 2rem;
  }
  
  .hero {
    padding: 100px 30px 70px 30px;
  }
}

@media screen and (max-width: 768px) {
  .navbar {
    padding: 15px 20px !important;
  }
  
  .navbar ul {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    padding-top: 50px;
    transition: left 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 999;
  }

  .navbar ul.active {
    left: 0;
  }

  .navbar ul li {
    width: 80%;
    text-align: center;
    margin: 10px 0;
  }

  .navbar ul li a {
    width: 100%;
    padding: 15px 25px;
    font-size: 18px;
    border-radius: 15px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    margin: 8px 0;
  }

  .navbar ul li a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.02);
  }

  .menu-toggle {
    display: flex;
  }

  /* Professional mobile logo sizing - CONSISTENT */
  .logo-container {
    height: 50px !important;
  }
  
  .navbar-logo {
    width: 45px !important;
    height: 45px !important;
    border-width: 3px !important;
  }
  
  .logo-text {
    font-size: 8px !important;
    letter-spacing: 1.2px !important;
    top: 6px !important;
    right: -30px !important;
  }

  /* Fix hero section for mobile */
  .hero {
    padding: 100px 20px 60px 20px;
    min-height: 60vh;
  }
  
  .hero .btn-container {
    flex-direction: column;
    width: 100%;
  }
  
  .hero button,
  .hero .btn {
    width: 100%;
    max-width: 300px;
    margin: 5px 0;
  }

  .hero-features {
    gap: 20px;
  }

  .hero-feature {
    padding: 15px;
    min-width: 120px;
  }
}

@media screen and (max-width: 480px) {
  .navbar {
    padding: 12px 15px !important;
  }
  
  /* Ultra-consistent small mobile logo */
  .logo-container {
    height: 45px !important;
  }
  
  .navbar-logo {
    width: 40px !important;
    height: 40px !important;
    border-width: 3px !important;
  }
  
  .logo-text {
    font-size: 7px !important;
    letter-spacing: 1px !important;
    top: 5px !important;
    right: -25px !important;
  }

  .hero {
    padding: 80px 15px 50px 15px;
  }
  
  .hero-features {
    flex-direction: column;
    gap: 15px;
  }

  .navbar ul {
    top: 70px;
    height: calc(100vh - 70px);
    padding-top: 30px;
  }

  .navbar ul li a {
    font-size: 16px;
    padding: 12px 20px;
  }
}

/* Ensure smooth transitions and interactions */
* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

/* Fix for any layout issues */
.container, .hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Improve button accessibility */
.btn, button {
  min-height: 44px; /* Touch target size */
  min-width: 44px;
}

/* Improve form controls */
input, textarea, select {
  min-height: 44px;
}

/* Override any conflicting peer page styles */
.header {
  display: none !important;
}

/* ULTRA-SPECIFIC overrides to ensure absolute consistency */
nav.navbar .logo-container {
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  height: 60px !important;
}

nav.navbar .navbar-logo {
  width: 55px !important;
  height: 55px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center !important;
  background: #ffffff !important;
  padding: 0 !important;
  border: 4px solid #ffffff !important;
  box-shadow: 
    0 0 0 2px rgba(102, 126, 234, 0.3),
    0 4px 20px rgba(0, 0, 0, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
  position: relative !important;
  z-index: 2 !important;
  display: block !important;
}

nav.navbar .logo-text {
  font-family: 'Poppins', sans-serif !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  line-height: 1 !important;
  position: absolute !important;
  top: 8px !important;
  right: -35px !important;
  z-index: 3 !important;
  text-shadow: 
    0 1px 3px rgba(0, 0, 0, 0.4),
    0 0 8px rgba(0, 0, 0, 0.2) !important;
  background: linear-gradient(45deg, #ffffff, #e8e8ff) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  opacity: 0.95 !important;
  white-space: nowrap !important;
  transform: rotate(-8deg) !important;
  transition: all 0.3s ease !important;
}

/* Ensure navbar consistency across all pages */
.navbar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  backdrop-filter: blur(15px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
  color: white !important;
  padding: 16px 40px !important;
  margin: 0 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  transition: all 0.3s ease !important;
  min-height: 70px !important;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px);}
  to { opacity: 1; transform: translateY(0);}
}

@keyframes slideInFromLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInFromRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Apply animations */
.hero h1 {
  animation: slideInFromLeft 1s ease-out;
}

.hero p {
  animation: slideInFromRight 1s ease-out 0.2s backwards;
}

.hero .btn-container {
  animation: fadeIn 1s ease-out 0.4s backwards;
}

.hero-features {
  animation: fadeIn 1s ease-out 0.6s backwards;
}



    /* Professional Footer */
    footer {
      background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
      padding: 60px 20px 30px;
      margin-top: 0;
      position: relative;
    }

    footer::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
      pointer-events: none;
    }

    .footer-links {
      display: flex;
      justify-content: center;
      gap: 30px;
      margin-bottom: 30px;
      position: relative;
      z-index: 2;
    }

    .footer-links a {
      color: #e2e8f0;
      text-decoration: none;
      font-weight: 500;
      padding: 10px 15px;
      border-radius: 20px;
      transition: all 0.3s ease;
      position: relative;
    }

    .footer-links a:hover {
      color: white;
      background: rgba(99, 102, 241, 0.2);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
    }

    footer p {
      text-align: center;
      color: #94a3b8;
      font-size: 0.9rem;
      margin: 0;
      position: relative;
      z-index: 2;
      padding-top: 20px;
      border-top: 1px solid rgba(148, 163, 184, 0.2);
    }

/* ==== ABOUT PAGE STYLING ==== */
/* Vision Section */
.vision {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 100px 20px;
  position: relative;
}

.vision::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
  position: relative;
  z-index: 2;
}

.section-header h2 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.25rem;
  color: #64748b;
  line-height: 1.8;
  font-weight: 400;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.feature-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 
    0 4px 6px rgba(0, 0, 0, 0.05),
    0 10px 25px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
  transition: left 0.6s ease;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.15),
    0 20px 40px rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.3);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
}

.feature-icon i {
  font-size: 2rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 16px;
}

.feature-card p {
  color: #64748b;
  line-height: 1.7;
  font-size: 1rem;
}

/* Impact Section */
.impact {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  padding: 100px 20px;
  color: white;
  position: relative;
}

.impact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.impact h2 {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 80px;
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.stat {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: #6366f1;
  margin-bottom: 12px;
  text-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.stat-label {
  font-size: 1.1rem;
  color: #e2e8f0;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* CTA Section */
.cta {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 100px 20px;
  text-align: center;
  position: relative;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.cta p {
  font-size: 1.25rem;
  color: #64748b;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.cta-buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.btn-secondary {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  border: none;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-outline {
  background: transparent;
  color: #6366f1;
  border: 2px solid #6366f1;
}

.btn-outline:hover {
  background: #6366f1;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .feature-card {
    padding: 30px 24px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .cta h2 {
    font-size: 2.2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

    /* Animations */
    @keyframes fadeIn { from { opacity: 0; transform: translateY(20px);} to { opacity: 1; transform: translateY(0);} }

/* ==== ENHANCED PEER COMMUNITY STYLES ==== */

/* Professional Footer for Peer Page */
.peer-footer {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  padding: 80px 20px 40px;
  margin-top: 0;
  position: relative;
  color: white;
}

.peer-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 2;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 400;
  padding: 8px 0;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a:hover {
  color: #f8fafc;
  transform: translateX(8px);
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1 0%, #8b5cf6 100%);
  transition: width 0.3s ease;
}

.footer-links a:hover::before {
  width: 10px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(248, 250, 252, 0.1);
  border-radius: 50%;
  color: #e2e8f0;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-icons a:hover {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(248, 250, 252, 0.2);
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0;
}

/* Enhanced Story Section */
.story-section {
  background: linear-gradient(135deg, #fefefe 0%, #f8fafc 100%);
  padding: 80px 20px;
  position: relative;
}

.story-container {
  max-width: 1200px;
  margin: 0 auto;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.story-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 35px;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.12),
    0 8px 25px rgba(99, 102, 241, 0.1);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.1);
}

.card-header i {
  font-size: 1.8rem;
  color: #6366f1;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.story-content {
  line-height: 1.7;
  margin-bottom: 30px;
}

.story-content p {
  color: #64748b;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.story-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(226, 232, 240, 0.5);
  font-size: 0.9rem;
  color: #94a3b8;
}

.story-actions {
  display: flex;
  gap: 20px;
}

.story-actions button {
  background: transparent;
  border: none;
  color: #6366f1;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.story-actions button:hover {
  color: #4c6ef5;
}

/* Feed Section */
.feed-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 80px 20px;
  position: relative;
}

.feed-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.feed-container {
  max-width: 800px;
  margin: 0 auto;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feed-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feed-post {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.feed-post:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.12),
    0 8px 25px rgba(99, 102, 241, 0.1);
}

.post-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
}

.user-info {
  flex: 1;
}

.user-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.post-time {
  font-size: 0.9rem;
  color: #94a3b8;
  margin: 0;
}

.post-content {
  line-height: 1.7;
  margin-bottom: 25px;
}

.post-content p {
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 12px;
}

.post-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(226, 232, 240, 0.5);
}

.action-buttons {
  display: flex;
  gap: 20px;
}

.action-buttons button {
  background: transparent;
  border: none;
  color: #6366f1;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.action-buttons button:hover {
  color: #4c6ef5;
}

.share-count {
  font-size: 0.9rem;
  color: #94a3b8;
}

/* Enhanced Create Group Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: rgba(255, 255, 255, 0.98);
  margin: 5% auto;
  padding: 40px;
  border-radius: 24px;
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.2),
    0 10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: slideUp 0.4s ease;
  position: relative;
  scrollbar-width:none;
}

.close,
.modal-close {
  color: #94a3b8;
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(148, 163, 184, 0.1);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: none;
  padding: 0;
  z-index: 10;
}

.close:hover,
.modal-close:hover {
  color: #6366f1;
  background: rgba(99, 102, 241, 0.15);
  transform: scale(1.1);
}

/* Modal Header */
.modal-header {
  position: relative;
  margin-bottom: 20px;
}

.modal-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  padding-right: 50px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
  font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  background: rgba(248, 250, 252, 0.8);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #6366f1;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.modal-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
}

.submit-btn {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.submit-btn:hover {
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.cancel-btn {
  background: transparent;
  color: #64748b;
  border: 2px solid rgba(100, 116, 139, 0.3);
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Privacy Toggle Checkbox Styling */
.privacy-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #64748b;
  cursor: pointer;
  user-select: none;
}

.privacy-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  accent-color: #6366f1;
}

.privacy-toggle span {
  font-weight: 500;
}

/* Form Actions Layout */
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 25px;
  gap: 20px;
}

.form-actions .submit-btn {
  margin: 0;
  min-width: 140px;
}

/* Animations for modals and interactions */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.community-btn:hover {
  animation: pulse 0.6s ease-in-out;
}

/* Enhanced Button Interactions */
.community-btn.primary:hover {
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.4);
}

.community-btn.secondary:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.2);
}

/* Enhanced Browse Stories Section */
.view-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 35px;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.view-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.12),
    0 8px 25px rgba(99, 102, 241, 0.1);
}

.filter-section {
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(248, 250, 252, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.5);
}

.filter-section label {
  display: block;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
  font-size: 1rem;
}

.filter-section select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(226, 232, 240, 0.8);
  border-radius: 10px;
  font-size: 1rem;
  background: white;
  color: #1e293b;
  transition: all 0.3s ease;
}

.filter-section select:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.stories-preview {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.story-preview {
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  border-left: 4px solid #6366f1;
  transition: all 0.3s ease;
  cursor: pointer;
}

.story-preview:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(5px);
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.1);
}

.story-preview h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.story-preview p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.story-preview .story-meta {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 500;
}

.view-all-btn {
  display: inline-block;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 25px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.view-all-btn:hover {
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* Enhanced Community Feed Section */
.feed-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.post-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.12),
    0 8px 25px rgba(99, 102, 241, 0.1);
}

.post-card .post-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.post-card .user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.post-card .user-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 4px 0;
}

.post-card .post-time {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 500;
}

.post-card .post-content {
  margin-bottom: 25px;
}

.post-card .post-content p {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.post-card .post-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(226, 232, 240, 0.5);
}

.action-btn {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.action-btn:hover {
  background: rgba(99, 102, 241, 0.1);
  color: #6366f1;
  transform: translateY(-1px);
}

.action-btn.like-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.action-btn.comment-btn:hover {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}

.action-btn i {
  font-size: 1rem;
}

/* Enhanced Modal Content Spacing */
.modal h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 40px 25px 0;
  text-align: left;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive Design for Peer Community */
@media (max-width: 768px) {
  .community-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .story-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .modal-content {
    width: 95%;
    padding: 30px 20px;
  }
  
  .modal-actions {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  
  .submit-btn {
    width: 100%;
    text-align: center;
  }
}