
      /* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Custom Colors */
:root {
    --bhc-red: #850f0f;
    --bhc-green: rgba(12, 157, 34, 0.97);
    --bhc-footer: rgba(30, 30, 30, 1);
    --bhc-light-red: rgba(133, 15, 15, 0.8);
    --bhc-light-blue: #e0f2fe;
}

/* Navigation */
.navbar {
    background: var(--bhc-red);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logos {
    display: flex;
    gap: 8px;
}

.logo-circle {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bhc-red);
    font-weight: bold;
    font-size: 10px;
}

.brand-text h1 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.brand-text h2 {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 500;
}

.desktop-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login-btn {
    background: var(--bhc-green);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.login-btn:hover {
    background: rgba(12, 157, 34, 0.8);
}

.hamburger {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}
    

/* Hero Section */
.hero-section {
    height: 550px;
    background-image: url('../LIBRARY_BG.JPG');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 0 20px;

}

.intro {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    width: 100%;           
    max-width: 100%;       
    height: auto;          
    display: block;        
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Optional: make sure it scales nicely inside its container */
@media (min-width: 1024px) {
    .intro {
        max-width: 900px; 
        margin: 0 auto;   
    }
}

.hero-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 600;
}

.hero-content p {
    opacity: 0.9;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--bhc-red);
    margin-bottom: 48px;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

/* Card Styles */
.announcement-card,
.event-card,
.news-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.announcement-card:hover,
.event-card:hover,
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.announcement-card img,
.event-card img,
.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 24px;
}

.card-time {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.card-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.view-more-btn,
.view-event-btn,
.read-more-btn {
    background: none;
    border: none;
    color: var(--bhc-red);
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease;
}

.view-more-btn:hover,
.view-event-btn:hover,
.read-more-btn:hover {
    color: #a11717;
}

/* Featured Event */
.featured-event {
    display: grid;
    grid-template-columns: 1fr;
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    animation: fadeInUp 0.8s ease forwards;
}
.featured-event:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.featured-event img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.featured-content {
    padding: 32px;
}

.happening-now {
    background: var(--bhc-light-red);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 16px;
}

.event-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.meta-item i {
    color: var(--bhc-red);
}

.event-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
}

.event-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Countdown Badge */
.countdown-badge {
    background: var(--bhc-light-blue);
    color: #1d4ed8;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 12px;
}

/* View All Button */
.view-all-container {
    text-align: center;
}

.view-all-btn {
    margin-bottom: 20px;
    background: var(--bhc-red);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.view-all-btn:hover {
    background: #a11717;
}

.events-section {
    margin-bottom: 60px;
}



/* =======================FAQ========================== */
/* UPDATED CODE */


    .faq-section {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 40px 20px;
        background: #ffffff;
        margin-bottom: 60px;
        margin-top: 60px;
    }


    .faq-container {
      width: 100%;
      max-width: 800px;
    }

    .faq-heading {
      font-size: 28px;
      font-weight: bold;
      margin-bottom: 10px;
      text-align: center;
    }

    .faq-text {
      font-size: 16px;
      color: #555;
      line-height: 1.5;
      text-align: center;
      margin-bottom: 30px;
    }


    .faq-list {
      width: 100%;
    }

 
    .faq-accordion {
      border-bottom: 1px solid #ddd;
    }


    .faq-question {
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
      padding: 16px 0;
    }

    .faq-title {
      font-size: 1.1rem;
      font-weight: 600;
    }

    .faq-icon {
      width: 20px;
      height: 20px;
      transition: transform 0.3s ease;
    }

 
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
    }

    .faq-description {
      padding: 0 0 16px 0;
      font-size: 0.95rem;
      line-height: 1.5;
      color: #444;
    }

    .faq-accordion.active .faq-answer {
      max-height: 300px;
    }

    .faq-accordion.active .faq-icon {
      transform: rotate(180deg);
    }

/* Footer */
.footer {
    background: var(--bhc-footer);
    color: white;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 40px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

.contact-info p {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.office-hours {
    margin-top: 24px;
}

.office-hours h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .desktop-nav,
    .nav-right .login-btn {
        display: none;
    }
    
    .brand-text {
        display: none;
    }
    
    .hero-section {
        height: 460px;
    }
    
    .video-placeholder {
        padding: 30px 20px;
    }
    
    .video-placeholder h3 {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 32px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .featured-event img {
        height: 250px;
    }
    
    .featured-content {
        padding: 24px;
    }
    
    .event-title {
        font-size: 20px;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .brand-text h1 {
        font-size: 16px;
    }
    
    .brand-text h2 {
        font-size: 11px;
    }
    
    .desktop-nav {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 14px;
    }
}

@media (min-width: 1024px) {
    .featured-event {
        grid-template-columns: 1fr 1fr;
    }
    
    .featured-event img {
        height: auto;
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
        height: 70px;
    }
    
    .logo-circle {
        width: 40px;
        height: 40px;
        font-size: 8px;
    }
    
    .main-content {
        padding: 40px 15px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .mobile-menu {
        width: 100vw;
    }
    
    .cards-grid {
        gap: 20px;
    }
    
    .card-content {
        padding: 20px;
    }
    
    .featured-content {
        padding: 20px;
    }
    
    .footer-content {
        padding: 40px 15px 30px;
    }
    
    .footer-columns {
        gap: 30px;
    }
}
/* log in and register form css */
/* Popup background */
.popup-container {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

/* Popup box */
.form-popup {
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(10px);          
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
}

/* Close button */
.close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: white;        
    font-weight: bold;
    z-index: 1000;
}

/* Form styling */
.form-box h2 {
    color: white;
    margin-bottom: 15px;
    text-align: center;
}
.form-box p {
    color: white;
}

.form-box p a {
    color: white;       
    font-weight: bold; 
    text-decoration: underline; 
}

.form-box p a:hover {
    color: #ffcccc; 
}
.form-box input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.form-box button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background: #d40000;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.form-box button:hover {
    background: #b30000;
}

.hidden {
    display: none;
}
.appointment-40 {
    background: linear-gradient(135deg, rgb(175, 24, 57), rgb(155, 20, 47));
    border-radius: 12px;
    padding: 10px 20px;
    margin: 30px 0;
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    box-shadow: 0 8px 30px rgba(175, 24, 57, 0.3);
}

.text-41 {
    text-align: left; 
}

.text-42 {
    color: white;
    font-size: 15px;
    font-weight: 200;
    margin-bottom: 10px;
}

.text-43 {
    color: white;
    font-size: 15px;
    opacity: 0.9;
}
.button-44 {
    background: rgba(237, 241, 238, 0.97);
    color: rgb(206, 15, 15);
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
    margin: 10px;
}
.bc:hover {
  background: rgb(175, 24, 57);
}
.button-44:hover {
    background: rgb(246, 248, 246);
}
.file-label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}

#profilePic {
    margin-top: 5px;
    padding: 5px;
    font-size: 14px;
}
.register-switch {
    display: flex;
    margin-bottom: 10px;
}

.register-switch button {
    flex: 1;
    padding: 8px;
    border: none;
    cursor: pointer;
    background: #eee;
    font-weight: bold;
}

.register-switch button.active {
    background: #d40000;
    color: white;
}

.hidden {
    display: none;
}

.file-label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}

