
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
}

/* Navbar Base */
.navbar {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 1rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}
.event-organization{
    margin-top: 0.5rem;
    font-size: 0.8rem;
}
.logo {
    font-size: 1.1rem;
    font-weight: bold;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 0.5rem;
}

.auth-button {
    background: white;
    color: #764ba2;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.auth-button:hover {
    background: #764ba2;
    color: white;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/* Responsive */
@media (max-width: 1248px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;
        background: linear-gradient(135deg, #667eea, #764ba2);
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        border-radius: 8px;
    }

    .nav-links.show {
        display: flex;
    }
.navbar{
    padding: 0.8rem;
}
    .auth-buttons {
        flex-direction: column;
    }
}

#userGreeting {
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
 
}

#logoutButton {
    background: white;
    color: #764ba2;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
}


#logoutButton:hover {
    background: #764ba2;
    color: white;
}
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    animation: slideshow 12s infinite;
    padding: 80px 10% 0 10%;
}

@keyframes slideshow {
    0%,
    33.33% {
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url('https://images.unsplash.com/photo-1559027615-cd4628902d4a?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    }

    33.34%,
    66.66% {
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url('https://images.unsplash.com/photo-1582213782179-e0d53f98f2ca?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    }

    66.67%,
    100% {
        background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
            url('https://images.unsplash.com/photo-1469571486292-0ba58a3f068b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    }
}
#signupSkills {
    font-size: 10px; /* Change this value as needed */
  }
.hero-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-text p {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.cta-button {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    margin: 0 0.5rem;
    transition: transform 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid white;
}
.fa-start,.fa-users{
    font-size: 2rem;
}
a{
    font-size: 0.8rem;
}

#opportunities {
    padding: 2rem 10%;
    background: #55555530;
}

.opportunity-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(4, 1fr)); */
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
}

.opportunities h2 {
    text-align: center;
    padding-top: 5%;
    padding-bottom: 3%;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.5rem;
}

/* Responsive Typography */
h1 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.3rem;
}

h4 {
    font-size: 1.1rem;
}

p {
    font-size: 0.8rem;
    line-height: 1.5;
}

h2 {
    text-align: center;
    padding-top: 5%;
    padding-bottom: 3%;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.3rem;
}
#usernameDisplay{
    color: yellow;
}
/* Card styling */
.opportunity-card {
    background-color: #f9f9fc;
    border: 1px solid #e0e0f0;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.opportunity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.opportunity-card h3 {
    font-size: 1.1rem;
    color: #4c51bf;
    margin-bottom: 0.8rem;
}

.opportunity-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.opportunity-card p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.opportunity-details {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
}

.opportunity-category {
    gap: 0.4rem;
    font-size: 0.95rem;
    color: #6b46c1;
    margin-bottom: 1rem;
}

.opportunity-details i {
    margin-right: 6px;
    color: #6b46c1;
}
.skills-required {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #333;
}



.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.skill-tag {
    background-color: #e9e7fc;
    color: #4c51bf;
    font-size: 0.8rem;
    padding: 0.4rem 0.7rem;
    border-radius: 20px;
    border: 1px solid #d3d0f2;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.skill-tag:hover {
    background-color: #d6d2f7;
}


.apply-btn {
    padding: 0.6rem 1.2rem;
    background-color: #ff6b6b;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.apply-btn:hover {
    background-color: #5a67d8;
}

.apply-btn.applied {
    background-color: #38a169;
    cursor: default;
}

.my-hours {
    padding: 4rem 10%;
    background: #f8f9fa;
}

.my-hours h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: black;
    font-size: 1.5rem;
}

.hours-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.hours-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    color: white;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: white;
    font-size: 1rem;
}

/* Calendar Section */
.calendar {
    padding: 4rem 10%;
    /* background: #60606031; */
    background: #55555530;
}

.calendar h2 {
    text-align: center;
    color: black;
    font-size: 1.5rem;
}

.calendar-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.upcoming-events {
    display: grid;
    gap: 1.5rem;
    margin: 2rem auto;
}

.event-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    text-align: left;
}

.event-date {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 0.8rem;
}

.event-title {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.event-details {
    color: #666;
    font-size: 0.9rem;
}

.resources {
    padding: 4rem 10%;
    background: #55555530;
}

.resources h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: black;
    font-size: 1.5rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 0 auto;
}

.resource-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.resource-card:hover {
    transform: translateY(-5px);
}

.resource-icon {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.resource-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.resource-card p {
    color: #666;
    line-height: 1.6;
}
/* === Review Section Wrapper === */

/* === Container for the entire review section === */
.revieww {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
  }
  
  /* === Review Form === */
  #reviewForm {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  
  /* Form Elements */
  #reviewForm label {
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
  }
  
  #reviewForm select,
  #reviewForm textarea,
  #reviewForm button {
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Textarea Resize */
  #reviewForm textarea {
    min-height: 100px;
    resize: vertical;
  }
  
  /* Submit Button */
  #reviewForm button {
    width: fit-content;
    align-self: center;
    background: #4caf50;
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  #reviewForm button:hover {
    background: #45a049;
  }
  #reviewList {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
  }
  
  /* === Individual Review Card === */
  .review-card {
    background: white;
    padding: 1.2rem;
    border-radius: 10px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }
  
  .review-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: #333;
  }
  
  .review-card .org-name {
    color: #4c51bf;
    font-weight: bold;
  }
  
  .review-card .review-text {
    font-style: italic;
    color: #555;
    margin: 0.5rem 0;
  }
  
  .review-card .review-footer {
    font-size: 0.85rem;
    color: #777;
  }
 
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

.modal-content h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.close-button:hover {
    color: #333;
}

.auth-form input {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.auth-form input:focus {
    outline: none;
    border-color: #667eea;
}

.auth-form button {
    width: 100%;
    background: #667eea;
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 5px;
    cursor: pointer;
}

.auth-form button:hover {
    background: #5a67d8;
}

.footer {
    background-color: #4c51bf;
    color: white;
    padding: 3rem 10%;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer h3 {
    font-size: 1.8rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffaa16;
}

.footer p {
    margin: 0.5rem 0;
    font-size: 1rem;
    max-width: 600px;
}

.footer-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 1rem 0;
}

.footer-icons a {
    color: #cbd5e0;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.footer-icons a:hover {
    color: #fbd38d;
}

.footer-note {
    font-size: 0.9rem;
    color: #a0aec0;
    margin-top: 1rem;
}

.search-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
    margin-bottom: 2rem;
}

.search-input,
.category-select,
.skills-select {
    padding: 0.5rem;
    font-size: 1rem;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    border: 1px solid #ccc;
    border-radius: 8px;
}
  .switch-auth-text{
  margin-top: 0.5rem;
  }
 a{
    text-decoration: none;
    color: blue;
 }#signupForm label[for="signupSkills"] {
    margin-top: 1rem;
    font-weight: bold;
    display: block;
    color: #333;
    margin-bottom: 0.5rem;
  }
  
  #signupSkills {
    width: 100%;
    height: 120px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #f9f9f9;
    font-size: 1rem;
    color: #333;
    margin-bottom: 1rem;
   
  }
  
  .skills-help {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.3rem;
  }
  
  #signupSkills {
    font-size: 13px; /* Change this value as needed */
  }

  @media (max-width: 768px) {
    .review-section {
      padding: 1rem 0.5rem;
    }
  
    #reviewForm {
      padding: 0.8rem;
    }
  }
  
/* Mobile Styles */
@media (max-width: 768px) {
   
    #userGreeting{
        font-size: 0.8rem;
    }
    #logoutButton{
        font-size: 0.8rem;
    }
    .auth-button{
        font-size: 0.8rem;
    }
    .event-date,.event-title{
        font-size: 0.7rem;
    }
    .nav-links a{
        font-size: 0.9rem;
    }
    .fa-bars{
        font-size: 1.2rem;
    }
    .auth-button{
        font-size: 0.8rem;
    }
    .logo{
        font-size: 1.2rem;
    }
    .opportunities h2{
        font-size: 1.2rem;
    }
    a{
        font-size: 0.75rem;
    }
    /* Hero Section */
    .hero {
        height: 100vh;
        padding: 40px 5% 0 5%;
    }
    
    .hero-text h2 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-text p {
        font-size: 0.8rem;
        margin: 0 auto 1.2rem;
    }
    
    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.7rem;
        margin: 0.3rem;
        display: block;
        width: 100%;
        max-width: 200px;
        margin: 0.3rem auto;
    }
    
    /* Typography */
    h1 {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.1rem;
        padding-top: 3%;
        padding-bottom: 2%;
    }
    
    h3 {
        font-size: 0.9rem;
    }
    
    h4 {
        font-size: 0.8rem;
    }
    
    p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    /* Opportunities Section */
    #opportunities {
        padding: 2rem 5%;
    }
    
    .opportunity-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .opportunity-card {
        padding: 1.2rem;
    }
    
    .opportunity-card h3 {
        font-size: 0.8rem;
    }
    
    .opportunity-card p {
        font-size: 0.7rem;
    }
    
    .opportunity-card img {
        height: 150px;
    }
    
    .opportunity-details {
        font-size: 0.65rem;
    }
    
    .opportunity-category {
        font-size: 0.7rem;
    }
    
    .skills-required {
        font-size: 0.7rem;
    }
    
    .skill-tag {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
    }
    
    .apply-btn {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Stats Section */
    .my-hours {
        padding: 2rem 5%;
    }
    
    .my-hours h2 {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hours-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .stat-card {
        padding: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    /* Calendar Section */
    .calendar {
        padding: 2rem 5%;
    }
    
    .calendar h2 {
        font-size: 1.1rem;
    }
    
    .event-card {
        padding: 1.5rem;
    }
    
    .event-title {
        font-size: 0.8rem;
    }
    
    .event-details {
        font-size: 0.7rem;
    }
    
    /* Resources Section */
    .resources {
        padding: 2rem 5%;
    }
    
    .resources h2 {
        font-size: 1.1rem;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .resource-card {
        padding: 1.5rem;
    }
    
    .resource-icon {
        font-size: 1.5rem;
    }
    
    .resource-card h3 {
        font-size: 0.9rem;
    }
    
    .resource-card p {
        font-size: 0.7rem;
    }
    
    /* Review Section */
    .revieww {
        margin: 1rem auto;
        padding: 0.5rem;
    }
    
    #reviewForm {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    #reviewForm label {
        font-size: 0.7rem;
    }
    
    #reviewForm select,
    #reviewForm textarea,
    #reviewForm button {
        font-size: 0.7rem;
        padding: 8px;
    }
    
    #reviewList {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .review-card {
        padding: 1rem;
    }
    
    .review-card h4 {
        font-size: 0.8rem;
    }
    
    .review-card .review-text {
        font-size: 0.7rem;
    }
    
    .review-card .review-footer {
        font-size: 0.65rem;
    }
    
    /* Modal */
    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .modal-content h3 {
        font-size: 1rem;
    }
    
    .auth-form input {
        padding: 0.7rem;
        font-size: 0.7rem;
    }
    
    .auth-form button {
        padding: 0.7rem;
        font-size: 0.7rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 5%;
    }
    
    .footer h3 {
        font-size: 1rem;
    }
    
    .footer p {
        font-size: 0.7rem;
    }
    
    .footer-icons a {
        font-size: 1rem;
    }
    
    .footer-note {
        font-size: 0.65rem;
    }
    
    /* Search Container */
    .search-container {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
  
    
    .search-input,
    .category-select,
    .skills-select {
        width: 100%;
        max-width: 100%;
        min-width: unset;
        font-size: 0.7rem;
    }
    
    /* Skills Signup */
    #signupSkills {
        font-size: 0.7rem;
        /* height: 100px; */
    }
    
    .skills-help {
        font-size: 0.65rem;
    }
}

/* Extra Small Mobile Styles */
@media (max-width: 480px) {
    .nav-links a{
        font-size: 0.8rem;
    }
  
    .fa-bars{
        font-size: 1.1rem;
    }
    .auth-button{
        font-size: 0.8rem;
    }
    .logo{
        font-size: 1.1rem;
    }
    .opportunities h2{
        font-size: 1.1rem;
    }
    a{
        font-size: 0.65rem;
    }
    .hero-text h2 {
        font-size: 1rem;
    }
    
    .hero-text p {
        font-size: 0.7rem;
    }
    
    h2 {
        font-size: 0.9rem;
    }
    
    h3 {
        font-size: 0.75rem;
    }
    
    p {
        font-size: 0.65rem;
    }
    
    .opportunity-card {
        padding: 1rem;
    }
    
    .opportunity-card img {
        height: 120px;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .event-card {
        padding: 1.2rem;
    }
    
    .resource-card {
        padding: 1.2rem;
    }
    
    .resource-icon {
        font-size: 1.2rem;
    }
    
    .footer h3 {
        font-size: 0.9rem;
    }
    
    .modal-content {
        padding: 1rem;
    }
}