psb / index.html
aismail's picture
Add 3 files
f3be1dd verified
Raw History Blame Contribute Delete
69.9 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Pusat Sumber Belajar | Modern Digital Library</title> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@700;800&display=swap" rel="stylesheet"> <style> /* CSS Variables for consistent theming */ :root { --primary: #4361ee; --primary-light: #4895ef; --secondary: #3f37c9; --dark: #1b263b; --light: #f8f9fa; --gray: #e9ecef; --success: #4caf50; --warning: #ff9800; --danger: #f44336; --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1); --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15); --radius: 8px; } /* Base Styles - Minimal reset for performance */ * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; } body { font-family: 'Poppins', sans-serif; color: var(--dark); background-color: var(--light); line-height: 1.6; overflow-x: hidden; } h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; line-height: 1.2; } img { max-width: 100%; display: block; height: auto; } a { text-decoration: none; color: inherit; } ul { list-style: none; } /* Utility Classes */ .container { width: 90%; max-width: 1200px; margin: 0 auto; } .btn { display: inline-block; padding: 12px 28px; border-radius: 50px; font-weight: 600; cursor: pointer; transition: var(--transition); border: none; font-size: 1rem; } .btn-primary { background-color: var(--primary); color: white; } .btn-primary:hover { background-color: var(--secondary); transform: translateY(-2px); box-shadow: var(--shadow-md); } /* Header Styles - Fixed position for accessibility */ header { position: fixed; top: 0; left: 0; width: 100%; padding: 1.5rem 0; z-index: 1000; transition: var(--transition); background-color: white; box-shadow: var(--shadow-sm); } .header-container { display: flex; justify-content: space-between; align-items: center; } .logo { font-size: 1.5rem; font-weight: 800; color: var(--primary); } .nav-links { display: flex; gap: 1.5rem; } .nav-links a { font-weight: 500; position: relative; transition: var(--transition); } .nav-links a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background-color: var(--primary); transition: var(--transition); } .nav-links a:hover::after { width: 100%; } .nav-links a.active { color: var(--primary); } /* Mobile Menu Button - Accessible toggle */ .mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; color: var(--dark); cursor: pointer; width: 40px; height: 40px; position: relative; z-index: 1001; } .mobile-menu-btn span { display: block; width: 24px; height: 2px; background-color: var(--dark); position: absolute; left: 8px; transition: var(--transition); } .mobile-menu-btn span:nth-child(1) { top: 12px; } .mobile-menu-btn span:nth-child(2) { top: 19px; } .mobile-menu-btn span:nth-child(3) { top: 26px; } .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg); top: 19px; } .mobile-menu-btn.active span:nth-child(2) { opacity: 0; } .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg); top: 19px; } /* Hero Section - Full viewport height with gradient overlay */ .hero { min-height: 100vh; background: linear-gradient(135deg, rgba(67, 97, 238, 0.9), rgba(63, 55, 201, 0.9)), url('https://images.unsplash.com/photo-1507842217343-583bb7270b66?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover; display: flex; align-items: center; color: white; padding-top: 80px; } .hero-content { max-width: 600px; opacity: 0; transform: translateY(20px); animation: fadeInUp 0.8s forwards 0.3s; } .hero h1 { font-size: 2.5rem; margin-bottom: 1.5rem; line-height: 1.2; } .hero p { font-size: 1.1rem; margin-bottom: 2rem; opacity: 0.9; } /* Search Box - Primary search functionality */ .search-container { display: flex; gap: 0.5rem; margin-bottom: 2rem; } .search-box { flex: 1; position: relative; } .search-box input { width: 100%; padding: 1rem 1.5rem; border-radius: 50px; border: none; font-size: 1rem; transition: var(--transition); box-shadow: var(--shadow-sm); } .search-box input:focus { outline: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3); } .search-btn { background-color: var(--primary); color: white; border: none; border-radius: 50px; padding: 0 1.5rem; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; } .search-btn:hover { background-color: var(--secondary); } .search-btn svg { width: 20px; height: 20px; fill: white; } .advanced-search-btn { background: none; border: none; color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0.5rem; border-radius: 50%; transition: var(--transition); } .advanced-search-btn:hover { background-color: rgba(255, 255, 255, 0.2); } .advanced-search-btn svg { width: 24px; height: 24px; fill: white; } /* Stats Counter - Performance optimized animation */ .stats { display: flex; gap: 2rem; margin-top: 2rem; } .stat-item { text-align: center; } .stat-number { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; } .stat-label { font-size: 0.9rem; opacity: 0.8; } /* Content Sections - Consistent spacing */ .section { padding: 5rem 0; } .section-title { text-align: center; margin-bottom: 3rem; opacity: 0; transform: translateY(20px); } .section-title h2 { font-size: 2rem; margin-bottom: 1rem; color: var(--dark); } .section-title p { color: #6c757d; max-width: 600px; margin: 0 auto; } /* Featured Books Grid - Responsive layout */ .books-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; } .book-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); opacity: 0; transform: translateY(20px); cursor: pointer; } .book-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); } .book-img { height: 280px; background-color: #eee; position: relative; overflow: hidden; } .book-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); } .book-card:hover .book-img img { transform: scale(1.05); } .book-info { padding: 1.2rem; } .book-info h3 { font-size: 1.1rem; margin-bottom: 0.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .book-info p { color: #6c757d; font-size: 0.9rem; } /* News Section - Simple list layout */ .news-list { max-width: 800px; margin: 0 auto; } .news-item { padding: 1.5rem 0; border-bottom: 1px solid var(--gray); cursor: pointer; } .news-item:last-child { border-bottom: none; } .news-item h3 { font-size: 1.2rem; margin-bottom: 0.5rem; transition: var(--transition); } .news-item:hover h3 { color: var(--primary); } .news-item .date { color: #6c757d; font-size: 0.9rem; } /* Information Section - Structured content */ .info-content { max-width: 800px; margin: 0 auto; background: white; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); } .info-content h3 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--primary); } .info-content h4 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; } .info-content p { margin-bottom: 1rem; } address { font-style: normal; margin-bottom: 1rem; } /* Rooms Section - Status-based cards */ .rooms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; } .room-card { background: white; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); transition: var(--transition); opacity: 0; transform: translateY(20px); } .room-card h3 { font-size: 1.2rem; margin-bottom: 1rem; } .status-badge { display: inline-block; padding: 0.3rem 0.8rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; margin-bottom: 1rem; } .status-available .status-badge { background-color: rgba(76, 175, 80, 0.1); color: var(--success); } .status-in-use .status-badge { background-color: rgba(255, 152, 0, 0.1); color: var(--warning); } .room-card p { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.9rem; } .room-card .icon { font-size: 1rem; } .notice-box { background: rgba(67, 97, 238, 0.1); padding: 1rem; border-radius: var(--radius); margin-top: 2rem; font-size: 0.9rem; } .notice-box .icon { margin-right: 0.5rem; } /* FAQ Section - Accessible accordion */ .faq-list { max-width: 800px; margin: 0 auto; } .faq-item { background: white; border-radius: var(--radius); margin-bottom: 1rem; box-shadow: var(--shadow-sm); overflow: hidden; } .faq-question { padding: 1.2rem 1.5rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 500; transition: var(--transition); } .faq-question:hover { background-color: rgba(67, 97, 238, 0.05); } .faq-question::after { content: '+'; font-size: 1.2rem; transition: var(--transition); } .faq-item.active .faq-question::after { content: '-'; } .faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; } .faq-item.active .faq-answer { padding-bottom: 1.5rem; max-height: 500px; } /* Catalog Section - Search functionality */ .catalog-search { max-width: 800px; margin: 0 auto 3rem; display: flex; gap: 0.5rem; } .catalog-search input { flex: 1; padding: 1rem; border: 1px solid var(--gray); border-radius: var(--radius); font-size: 1rem; } /* Modals - Performant animations */ .modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); display: flex; align-items: center; justify-content: center; z-index: 2000; opacity: 0; visibility: hidden; transition: var(--transition); } .modal.active { opacity: 1; visibility: visible; } .modal-content { background-color: white; border-radius: var(--radius); width: 90%; max-width: 600px; max-height: 90vh; overflow-y: auto; padding: 2rem; position: relative; transform: translateY(20px); transition: var(--transition); } .modal.active .modal-content { transform: translateY(0); } .modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #6c757d; } .modal-title { margin-bottom: 1.5rem; color: var(--primary); } .book-modal-img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius); margin-bottom: 1.5rem; } .modal-meta { display: flex; gap: 1rem; margin-bottom: 1rem; font-size: 0.9rem; color: #6c757d; } .modal-meta span { display: flex; align-items: center; gap: 0.3rem; } .modal-text { line-height: 1.7; } /* Advanced Search Modal - Dynamic form */ .search-criteria { margin-bottom: 1.5rem; } .criteria-row { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; align-items: center; } .criteria-row select { flex: 0 0 120px; padding: 0.8rem; border: 1px solid var(--gray); border-radius: var(--radius); } .criteria-row input { flex: 1; padding: 0.8rem; border: 1px solid var(--gray); border-radius: var(--radius); } .remove-criterion { background: none; border: none; color: var(--danger); cursor: pointer; font-size: 1.2rem; line-height: 1; padding: 0.5rem; } .add-criterion-btn { background: none; border: none; color: var(--primary); cursor: pointer; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.5rem; } /* Footer - Simple layout */ footer { background-color: var(--dark); color: white; padding: 4rem 0 2rem; } .footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 3rem; } .footer-column h3 { font-size: 1.2rem; margin-bottom: 1.5rem; color: var(--gray); } .footer-column ul li { margin-bottom: 0.8rem; } .footer-column ul li a { opacity: 0.8; transition: var(--transition); } .footer-column ul li a:hover { opacity: 1; color: var(--primary-light); } .copyright { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); opacity: 0.6; font-size: 0.9rem; } /* Animations - Performance optimized */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .animate { animation: fadeInUp 0.8s forwards; } .delay-1 { animation-delay: 0.2s; } .delay-2 { animation-delay: 0.4s; } .delay-3 { animation-delay: 0.6s; } /* Mobile Styles - Responsive adjustments */ @media (max-width: 768px) { .mobile-menu-btn { display: block; } .nav-links { position: fixed; top: 0; left: 0; width: 80%; height: 100vh; background-color: white; flex-direction: column; padding: 6rem 2rem; gap: 1.5rem; transform: translateX(-100%); transition: var(--transition); z-index: 1000; } .nav-links.active { transform: translateX(0); } .hero h1 { font-size: 2rem; } .hero p { font-size: 1rem; } .stats { flex-direction: column; gap: 1.5rem; } .section { padding: 3rem 0; } .section-title h2 { font-size: 1.8rem; } .rooms-grid { grid-template-columns: 1fr; } } @media (max-width: 480px) { .hero h1 { font-size: 1.8rem; } .btn { padding: 10px 20px; } .modal-content { padding: 1.5rem; } .criteria-row { flex-direction: column; align-items: stretch; } .criteria-row select { flex: 1; width: 100%; } } </style> </head> <body> <!-- Header with mobile navigation --> <header id="header"> <div class="container header-container"> <a href="#" class="logo">Pusat Sumber Belajar</a> <nav> <ul class="nav-links"> <li><a href="#hero">Home</a></li> <li><a href="#catalog-section">Catalog</a></li> <li><a href="#news-section">News</a></li> <li><a href="#information-section">Information</a></li> <li><a href="#rooms-section">Rooms</a></li> <li><a href="#faq-section">FAQ</a></li> </ul> </nav> <button class="mobile-menu-btn" id="mobileMenuBtn" aria-label="Toggle navigation"> <span></span> <span></span> <span></span> </button> </div> </header> <!-- Hero Section with search --> <section class="hero" id="hero"> <div class="container"> <div class="hero-content"> <h1>Discover Knowledge, Empower Your Future</h1> <p>Access our comprehensive collection of resources, services, and facilities to support your academic journey.</p> <div class="search-container"> <div class="search-box"> <input type="search" id="main-search" placeholder="Search the catalog..." aria-label="Search the catalog"> </div> <button class="search-btn" id="search-btn" aria-label="Search"> <svg viewBox="0 0 24 24"> <path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/> </svg> </button> <button class="advanced-search-btn" id="advanced-search-trigger" aria-label="Advanced Search Options" title="Advanced Search Options"> <svg viewBox="0 0 24 24"> <path d="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"/> </svg> </button> </div> <div class="stats"> <div class="stat-item"> <div class="stat-number" id="books-count">10,000+</div> <div class="stat-label">Books Available</div> </div> <div class="stat-item"> <div class="stat-number" id="journals-count">500+</div> <div class="stat-label">Academic Journals</div> </div> <div class="stat-item"> <div class="stat-number" id="rooms-count">6</div> <div class="stat-label">Study Rooms</div> </div> </div> </div> </div> </section> <!-- Featured Books Section --> <section class="section" id="featured-books"> <div class="container"> <div class="section-title animate"> <h2>Featured Titles</h2> <p>Explore our curated selection of must-read books</p> </div> <div class="books-grid"> <div class="book-card animate delay-1" data-title="The Silent Patient" data-author="Alex Michaelides" data-subject="Psychological Thriller" data-desc="A psychological thriller about a woman who shoots her husband and then stops speaking."> <div class="book-img"> <img src="https://loremflickr.com/300/400/book,novel?random=1" loading="lazy" width="300" height="400" alt="Book Cover: The Silent Patient"> </div> <div class="book-info"> <h3>The Silent Patient</h3> <p>Alex Michaelides</p> </div> </div> <div class="book-card animate delay-1" data-title="Where the Crawdads Sing" data-author="Delia Owens" data-subject="Literary Fiction" data-desc="A story about an abandoned girl who raises herself in the marshes of North Carolina."> <div class="book-img"> <img src="https://loremflickr.com/300/400/book,literature?random=2" loading="lazy" width="300" height="400" alt="Book Cover: Where the Crawdads Sing"> </div> <div class="book-info"> <h3>Where the Crawdads Sing</h3> <p>Delia Owens</p> </div> </div> <div class="book-card animate delay-2" data-title="The Midnight Library" data-author="Matt Haig" data-subject="Fantasy Fiction" data-desc="A novel about a library that contains books with different versions of the protagonist's life."> <div class="book-img"> <img src="https://loremflickr.com/300/400/book,fantasy?random=3" loading="lazy" width="300" height="400" alt="Book Cover: The Midnight Library"> </div> <div class="book-info"> <h3>The Midnight Library</h3> <p>Matt Haig</p> </div> </div> <div class="book-card animate delay-2" data-title="Educated" data-author="Tara Westover" data-subject="Memoir" data-desc="A memoir about a woman who leaves her survivalist family and goes on to earn a PhD from Cambridge University."> <div class="book-img"> <img src="https://loremflickr.com/300/400/book,memoir?random=4" loading="lazy" width="300" height="400" alt="Book Cover: Educated"> </div> <div class="book-info"> <h3>Educated</h3> <p>Tara Westover</p> </div> </div> <div class="book-card animate delay-3" data-title="Project Hail Mary" data-author="Andy Weir" data-subject="Science Fiction" data-desc="A lone astronaut must save the earth from disaster in this science fiction adventure."> <div class="book-img"> <img src="https://loremflickr.com/300/400/book,science?random=5" loading="lazy" width="300" height="400" alt="Book Cover: Project Hail Mary"> </div> <div class="book-info"> <h3>Project Hail Mary</h3> <p>Andy Weir</p> </div> </div> <div class="book-card animate delay-3" data-title="The Vanishing Half" data-author="Brit Bennett" data-subject="Literary Fiction" data-desc="A novel about twin sisters who choose to live in two very different worlds—one black and one white."> <div class="book-img"> <img src="https://loremflickr.com/300/400/book,novel?random=6" loading="lazy" width="300" height="400" alt="Book Cover: The Vanishing Half"> </div> <div class="book-info"> <h3>The Vanishing Half</h3> <p>Brit Bennett</p> </div> </div> </div> </div> </section> <!-- News Section --> <section class="section" id="news-section"> <div class="container"> <div class="section-title animate"> <h2>Latest News</h2> <p>Stay updated with our library announcements and events</p> </div> <div class="news-list"> <div class="news-item animate delay-1" data-full-title="New Extended Hours for Final Exam Period" data-full-content="Starting next week, the library will extend its opening hours to accommodate students during the final exam period. The new hours will be from 7:00 AM to 11:00 PM Monday through Friday, and 8:00 AM to 9:00 PM on Saturdays. We encourage students to take advantage of our quiet study areas and group study rooms during this busy time. Please remember to bring your student ID for access after regular hours."> <h3>New Extended Hours for Final Exam Period</h3> <p class="date">June 15, 2023</p> </div> <div class="news-item animate delay-1" data-full-title="Library Workshop: Research Skills for Academic Success" data-full-content="Join us for a free workshop on essential research skills for academic success. This hands-on session will cover effective database searching, evaluating sources, citation management, and avoiding plagiarism. The workshop will be held on June 20th from 2:00 PM to 4:00 PM in Room 203. Space is limited, so please register in advance at the circulation desk or through our online portal."> <h3>Library Workshop: Research Skills for Academic Success</h3> <p class="date">June 10, 2023</p> </div> <div class="news-item animate delay-2" data-full-title="New Digital Resources Available" data-full-content="We're excited to announce the addition of several new digital resources to our collection. These include access to JSTOR's complete Arts & Sciences collection, the Oxford English Dictionary, and the complete works of Shakespeare with scholarly annotations. These resources can be accessed through our website using your university credentials. Library staff are available to provide demonstrations and training on using these valuable tools."> <h3>New Digital Resources Available</h3> <p class="date">June 5, 2023</p> </div> <div class="news-item animate delay-2" data-full-title="Summer Reading Challenge" data-full-content="Participate in our annual Summer Reading Challenge and win prizes! Read any 5 books from our recommended list (or choose your own) between June 1st and August 31st, submit brief reviews, and be entered to win bookstore gift cards and other prizes. The more books you read, the more chances to win! Visit the circulation desk to sign up and get your reading log."> <h3>Summer Reading Challenge</h3> <p class="date">May 28, 2023</p> </div> <div class="news-item animate delay-3" data-full-title="Library Closed for Independence Day" data-full-content="Please note that the library will be closed on Tuesday, July 4th in observance of Independence Day. Regular hours will resume on Wednesday, July 5th. During the closure, our digital resources remain available 24/7 through our website. We wish everyone a safe and enjoyable holiday!"> <h3>Library Closed for Independence Day</h3> <p class="date">May 25, 2023</p> </div> </div> </div> </section> <!-- Information Section --> <section class="section" id="information-section"> <div class="container"> <div class="section-title animate"> <h2>Library Information</h2> <p>Everything you need to know about our services</p> </div> <div class="info-content animate delay-1"> <h3>Service Information</h3> <h4>Service Hours (W.I.B. / GMT+7)</h4> <p> Monday - Friday: 08:00 - 20:00<br> (Friday prayer break: 11:30 - 13:00)<br> Saturday: 08:00 - 15:00 </p> <h4>Contact</h4> <p> Phone: 021-7272425 / 021-7272646 ext. 612<br> Email: psb@feb.ui.ac.id<br> Microsite: s.id/psbfeb<br> Website: psb.feb.ui.ac.id </p> <p>Suggestions, Feedback or Criticism</p> <h4>Address</h4> <address> Pusat Sumber Belajar<br> Prof. Sumitro Djojohadikusumo Building<br> Fakultas Ekonomi & Bisnis Universitas Indonesia<br> Jl. Prof. Dr. Sumitro Djojohadikusumo<br> UI Depok, Jawa Barat 16424, Indonesia </address> </div> </div> </section> <!-- Rooms Section --> <section class="section" id="rooms-section"> <div class="container"> <div class="section-title animate"> <h2>Rooms Availability</h2> <p>Check the current status of our study rooms</p> </div> <div class="rooms-grid"> <div class="room-card status-available animate delay-1"> <h3>Discussion Room 1</h3> <span class="status-badge">Available</span> <p><span class="icon">👥</span> Min. Users: <span>4</span></p> </div> <div class="room-card status-in-use animate delay-1"> <h3>Discussion Room 2</h3> <span class="status-badge">In use</span> <p><span class="icon">👥</span> Min. Users: <span>4</span></p> <p><span class="icon">🕒</span> End Time: <span>15:30</span></p> <p><span class="icon">⏳</span> Time Left: <span class="time-left">01:15:22</span></p> </div> <div class="room-card status-available animate delay-2"> <h3>Meeting Room Lt. 1</h3> <span class="status-badge">Available</span> <p><span class="icon">👥</span> Min. Users: <span>6</span></p> </div> <div class="room-card status-in-use animate delay-2"> <h3>Meeting Room Lt. 2</h3> <span class="status-badge">In use</span> <p><span class="icon">👥</span> Min. Users: <span>6</span></p> <p><span class="icon">🕒</span> End Time: <span>16:00</span></p> <p><span class="icon">⏳</span> Time Left: <span class="time-left">01:45:10</span></p> </div> <div class="room-card status-available animate delay-3"> <h3>Quiet Study Room</h3> <span class="status-badge">Available</span> <p><span class="icon">👥</span> Min. Users: <span>1</span></p> </div> <div class="room-card status-in-use animate delay-3"> <h3>Multimedia Room</h3> <span class="status-badge">In use</span> <p><span class="icon">👥</span> Min. Users: <span>3</span></p> <p><span class="icon">🕒</span> End Time: <span>14:45</span></p> <p><span class="icon">⏳</span> Time Left: <span class="time-left">00:30:45</span></p> </div> </div> <div class="notice-box info animate delay-3"> <p><span class="icon">ℹ️</span> The end times are approximations and may vary. Users intending to borrow must wait in the designated area, as the completion time may occur sooner than anticipated.</p> <p>Room information is updated periodically. Last update at <span id="room-update-time">12:30</span></p> </div> </div> </section> <!-- FAQ Section --> <section class="section" id="faq-section"> <div class="container"> <div class="section-title animate"> <h2>Frequently Asked Questions</h2> <p>Find answers to common questions about our services</p> </div> <div class="faq-list"> <div class="faq-item animate delay-1"> <div class="faq-question">How do I borrow books from the library?</div> <div class="faq-answer"> <p>To borrow books, you need to be a registered member with a valid library card. Present the books you wish to borrow along with your card at the circulation desk. The loan period is typically 2 weeks for most items, with options to renew if there are no holds on the material.</p> </div> </div> <div class="faq-item animate delay-1"> <div class="faq-question">Can I access digital resources from off-campus?</div> <div class="faq-answer"> <p>Yes, most of our digital resources are accessible off-campus. You'll need to log in with your university credentials when prompted. If you encounter any issues, please contact our technical support team during business hours for assistance.</p> </div> </div> <div class="faq-item animate delay-2"> <div class="faq-question">How do I reserve a study room?</div> <div class="faq-answer"> <p>Study rooms can be reserved up to one week in advance through our online booking system or at the circulation desk. You'll need to provide your student ID and indicate the number of people in your group. Rooms are available in 2-hour blocks with possible extensions if no one is waiting.</p> </div> </div> <div class="faq-item animate delay-2"> <div class="faq-question">What should I do if I lose a library book?</div> <div class="faq-answer"> <p>Please report lost items immediately to the circulation desk. You will be responsible for replacement costs, which typically include the price of the book plus a processing fee. In some cases, providing an identical replacement copy may be acceptable.</p> </div> </div> <div class="faq-item animate delay-3"> <div class="faq-question">Does the library offer research assistance?</div> <div class="faq-answer"> <p>Yes, our reference librarians are available to help with research questions during all open hours. You can visit the reference desk, schedule a one-on-one consultation, or use our 24/7 chat service for immediate assistance with finding resources, developing search strategies, and citing sources.</p> </div> </div> </div> </div> </section> <!-- Catalog Section --> <section class="section" id="catalog-section"> <div class="container"> <div class="section-title animate"> <h2>Catalog</h2> <p>Browse our complete collection of books and resources</p> </div> <div class="catalog-search animate"> <input type="text" id="catalog-search" placeholder="Search by title, author, or subject..."> <button class="btn btn-primary" id="advanced-search-btn">Advanced Search</button> </div> <div class="books-grid" id="book-catalog"> <div class="book-card animate delay-1" data-title="The Great Gatsby" data-author="F. Scott Fitzgerald" data-subject="Classic Literature" data-desc="A portrait of the Jazz Age in all of its decadence and excess, The Great Gatsby captured the spirit of the author's generation and earned itself a permanent place in American mythology."> <div class="book-img"> <img src="https://loremflickr.com/300/400/book,classic?random=7" loading="lazy" width="300" height="400" alt="Book Cover: The Great Gatsby"> </div> <div class="book-info"> <h3>The Great Gatsby</h3> <p>F. Scott Fitzgerald</p> </div> </div> <div class="book-card animate delay-1" data-title="To Kill a Mockingbird" data-author="Harper Lee" data-subject="Classic Literature" data-desc="The unforgettable novel of a childhood in a sleepy Southern town and the crisis of conscience that rocked it, To Kill A Mockingbird became both an instant bestseller and a critical success when it was first published in 1960."> <div class="book-img"> <img src="https://loremflickr.com/300/400/book,literature?random=8" loading="lazy" width="300" height="400" alt="Book Cover: To Kill a Mockingbird"> </div> <div class="book-info"> <h3>To Kill a Mockingbird</h3> <p>Harper Lee</p> </div> </div> <div class="book-card animate delay-2" data-title="1984" data-author="George Orwell" data-subject="Dystopian Fiction" data-desc="A dystopian novel published in 1949 by English author George Orwell. The novel is set in Airstrip One, a province of the superstate Oceania in a world of perpetual war, omnipresent government surveillance, and public manipulation."> <div class="book-img"> <img src="https://loremflickr.com/300/400/book,dystopian?random=9" loading="lazy" width="300" height="400" alt="Book Cover: 1984"> </div> <div class="book-info"> <h3>1984</h3> <p>George Orwell</p> </div> </div> <div class="book-card animate delay-2" data-title="Pride and Prejudice" data-author="Jane Austen" data-subject="Classic Literature" data-desc="The romantic clash between the opinionated Elizabeth and her proud beau, Mr. Darcy, is a splendid performance of civilized sparring. And Jane Austen's radiant wit sparkles as her characters dance a delicate quadrille of flirtation and intrigue."> <div class="book-img"> <img src="https://loremflickr.com/300/400/book,romance?random=10" loading="lazy" width="300" height="400" alt="Book Cover: Pride and Prejudice"> </div> <div class="book-info"> <h3>Pride and Prejudice</h3> <p>Jane Austen</p> </div> </div> <div class="book-card animate delay-3" data-title="The Catcher in the Rye" data-author="J.D. Salinger" data-subject="Coming-of-Age" data-desc="The hero-narrator of The Catcher in the Rye is an ancient child of sixteen, a native New Yorker named Holden Caulfield. Through circumstances that tend to preclude adult, secondhand description, he leaves his prep school in Pennsylvania and goes underground in New York City for three days."> <div class="book-img"> <img src="https://loremflickr.com/300/400/book,novel?random=11" loading="lazy" width="300" height="400" alt="Book Cover: The Catcher in the Rye"> </div> <div class="book-info"> <h3>The Catcher in the Rye</h3> <p>J.D. Salinger</p> </div> </div> <div class="book-card animate delay-3" data-title="The Hobbit" data-author="J.R.R. Tolkien" data-subject="Fantasy" data-desc="Bilbo Baggins is a hobbit who enjoys a comfortable, unambitious life, rarely traveling any farther than his pantry or cellar. But his contentment is disturbed when the wizard Gandalf and a company of dwarves arrive on his doorstep one day to whisk him away on an adventure."> <div class="book-img"> <img src="https://loremflickr.com/300/400/book,fantasy?random=12" loading="lazy" width="300" height="400" alt="Book Cover: The Hobbit"> </div> <div class="book-info"> <h3>The Hobbit</h3> <p>J.R.R. Tolkien</p> </div> </div> <div class="book-card animate delay-1" data-title="Fahrenheit 451" data-author="Ray Bradbury" data-subject="Dystopian Fiction" data-desc="Guy Montag is a fireman. His job is to destroy the most illegal of commodities, the printed book, along with the houses in which they are hidden. Montag never questions the destruction and ruin his actions produce, returning each day to his bland life and wife, Mildred, who spends all day with her television 'family.'"> <div class="book-img"> <img src="https://loremflickr.com/300/400/book,science?random=13" loading="lazy" width="300" height="400" alt="Book Cover: Fahrenheit 451"> </div> <div class="book-info"> <h3>Fahrenheit 451</h3> <p>Ray Bradbury</p> </div> </div> <div class="book-card animate delay-2" data-title="Moby-Dick" data-author="Herman Melville" data-subject="Adventure" data-desc="First published in 1851, Melville's masterpiece is, at once, a thrilling adventure story, a timeless allegory, and an epic saga of heroic determination and conflict. At its heart is the powerful, unknowable sea and the men who seek to carve out a living from its depths."> <div class="book-img"> <img src="https://loremflickr.com/300/400/book,adventure?random=14" loading="lazy" width="300" height="400" alt="Book Cover: Moby-Dick"> </div> <div class="book-info"> <h3>Moby-Dick</h3> <p>Herman Melville</p> </div> </div> <div class="book-card animate delay-3" data-title="War and Peace" data-author="Leo Tolstoy" data-subject="Historical Fiction" data-desc="Epic in scale, War and Peace delineates in graphic detail events leading up to Napoleon's invasion of Russia, and the impact of the Napoleonic era on Tsarist society, as seen through the eyes of five Russian aristocratic families."> <div class="book-img"> <img src="https://loremflickr.com/300/400/book,history?random=15" loading="lazy" width="300" height="400" alt="Book Cover: War and Peace"> </div> <div class="book-info"> <h3>War and Peace</h3> <p>Leo Tolstoy</p> </div> </div> </div> <button id="load-more" class="btn btn-primary" style="display: block; margin: 2rem auto;">Load More Books</button> </div> </section> <!-- Footer --> <footer> <div class="container"> <div class="footer-content"> <div class="footer-column"> <h3>Pusat Sumber Belajar</h3> <p>Your gateway to knowledge and academic resources at Universitas Indonesia's Faculty of Economics and Business.</p> </div> <div class="footer-column"> <h3>Quick Links</h3> <ul> <li><a href="#hero">Home</a></li> <li><a href="#catalog-section">Catalog</a></li> <li><a href="#news-section">News</a></li> <li><a href="#information-section">Information</a></li> </ul> </div> <div class="footer-column"> <h3>Help</h3> <ul> <li><a href="#faq-section">FAQ</a></li> <li><a href="#">Contact Us</a></li> <li><a href="#">Privacy Policy</a></li> <li><a href="#">Terms of Service</a></li> </ul> </div> <div class="footer-column"> <h3>Connect</h3> <ul> <li><a href="#">Twitter</a></li> <li><a href="#">Facebook</a></li> <li><a href="#">Instagram</a></li> <li><a href="#">YouTube</a></li> </ul> </div> </div> <div class="copyright"> &copy; 2023 Pusat Sumber Belajar FEB UI. All rights reserved. </div> </div> </footer> <!-- Modals --> <!-- Book Detail Modal --> <div class="modal" id="book-detail-modal"> <div class="modal-content"> <button class="modal-close" id="close-book-modal">&times;</button> <h2 class="modal-title" id="book-modal-title">Book Title</h2> <img id="book-modal-img" class="book-modal-img" src="" alt="" loading="lazy" width="600" height="400"> <div class="modal-meta"> <span><strong>Author:</strong> <span id="book-modal-author">Author Name</span></span> <span><strong>Subject:</strong> <span id="book-modal-subject">Subject</span></span> </div> <div class="modal-text" id="book-modal-desc"> Book description goes here. </div> </div> </div> <!-- News Detail Modal --> <div class="modal" id="news-detail-modal"> <div class="modal-content"> <button class="modal-close" id="close-news-modal">&times;</button> <h2 class="modal-title" id="news-modal-title">News Title</h2> <div class="modal-text" id="news-modal-content"> News content goes here. </div> </div> </div> <!-- Advanced Search Modal --> <div class="modal" id="advanced-search-modal"> <div class="modal-content"> <button class="modal-close" id="close-search-modal">&times;</button> <h2 class="modal-title">Advanced Search</h2> <form id="advanced-search-form"> <div class="search-criteria"> <div class="criteria-row"> <select name="field1" aria-label="Search field 1"> <option value="title" selected>Title</option> <option value="author">Author</option> <option value="subject">Subject</option> </select> <input type="text" name="q1" placeholder="Enter value for field 1..." aria-label="Search value 1"> </div> </div> <button type="button" class="add-criterion-btn" id="add-criterion-btn"> <svg viewBox="0 0 24 24" width="16" height="16"> <path d="M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/> </svg> Add Criterion </button> <button type="submit" class="btn btn-primary">Apply Filters</button> </form> </div> </div> <script defer> // Mobile Menu Toggle const mobileMenuBtn = document.getElementById('mobileMenuBtn'); const navLinks = document.querySelector('.nav-links'); mobileMenuBtn.addEventListener('click', () => { mobileMenuBtn.classList.toggle('active'); navLinks.classList.toggle('active'); document.body.style.overflow = navLinks.classList.contains('active') ? 'hidden' : ''; }); // Close mobile menu when clicking on a link document.querySelectorAll('.nav-links a').forEach(link => { link.addEventListener('click', () => { mobileMenuBtn.classList.remove('active'); navLinks.classList.remove('active'); document.body.style.overflow = ''; }); }); // Stats Counter Animation const statsObserver = new IntersectionObserver((entries) => { entries.forEach(entry => { if (entry.isIntersecting) { animateCounter('books-count', 0, 10000, 2000); animateCounter('journals-count', 0, 500, 1500); animateCounter('rooms-count', 0, 6, 1000); statsObserver.unobserve(entry.target); } }); }, { threshold: 0.5 }); const statsSection = document.querySelector('.hero'); statsObserver.observe(statsSection); function animateCounter(id, start, end, duration) { let current = start; const increment = end > start ? 1 : -1; const stepTime = Math.abs(Math.floor(duration / (end - start))); const element = document.getElementById(id); const timer = setInterval(() => { current += increment; element.textContent = current.toLocaleString() + (increment === 1 && current === end ? '+' : ''); if (current === end) { clearInterval(timer); } }, stepTime); } // Scroll Reveal Animation const animateElements = document.querySelectorAll('.animate'); const observer = new IntersectionObserver((entries) => { entries.forEach(entry => { if (entry.isIntersecting) { entry.target.style.opacity = 1; entry.target.style.transform = 'translateY(0)'; } }); }, { threshold: 0.1 }); animateElements.forEach(el => { observer.observe(el); }); // Book Detail Modal const bookModal = document.getElementById('book-detail-modal'); const bookCards = document.querySelectorAll('.book-card'); const closeBookModal = document.getElementById('close-book-modal'); bookCards.forEach(card => { card.addEventListener('click', () => { const title = card.getAttribute('data-title'); const author = card.getAttribute('data-author'); const subject = card.getAttribute('data-subject'); const desc = card.getAttribute('data-desc'); const imgSrc = card.querySelector('img').src; document.getElementById('book-modal-title').textContent = title; document.getElementById('book-modal-author').textContent = author; document.getElementById('book-modal-subject').textContent = subject; document.getElementById('book-modal-desc').textContent = desc; document.getElementById('book-modal-img').src = imgSrc; document.getElementById('book-modal-img').alt = `Book Cover: ${title}`; bookModal.classList.add('active'); document.body.style.overflow = 'hidden'; }); }); closeBookModal.addEventListener('click', () => { bookModal.classList.remove('active'); document.body.style.overflow = ''; }); // News Detail Modal const newsModal = document.getElementById('news-detail-modal'); const newsItems = document.querySelectorAll('.news-item'); const closeNewsModal = document.getElementById('close-news-modal'); newsItems.forEach(item => { item.addEventListener('click', () => { const title = item.getAttribute('data-full-title'); const content = item.getAttribute('data-full-content'); document.getElementById('news-modal-title').textContent = title; document.getElementById('news-modal-content').textContent = content; newsModal.classList.add('active'); document.body.style.overflow = 'hidden'; }); }); closeNewsModal.addEventListener('click', () => { newsModal.classList.remove('active'); document.body.style.overflow = ''; }); // Advanced Search Modal const searchModal = document.getElementById('advanced-search-modal'); const advancedSearchBtn = document.getElementById('advanced-search-btn'); const advancedSearchTrigger = document.getElementById('advanced-search-trigger'); const closeSearchModal = document.getElementById('close-search-modal'); const searchForm = document.getElementById('advanced-search-form'); const searchCriteria = document.querySelector('.search-criteria'); const addCriterionBtn = document.getElementById('add-criterion-btn'); // Open modal from both buttons [advancedSearchBtn, advancedSearchTrigger].forEach(btn => { btn.addEventListener('click', (e) => { e.preventDefault(); searchModal.classList.add('active'); document.body.style.overflow = 'hidden'; }); }); closeSearchModal.addEventListener('click', () => { searchModal.classList.remove('active'); document.body.style.overflow = ''; }); // Add criterion button functionality let criterionCount = 1; addCriterionBtn.addEventListener('click', () => { if (criterionCount >= 3) return; criterionCount++; const newRow = document.createElement('div'); newRow.className = 'criteria-row'; newRow.innerHTML = ` <select name="field${criterionCount}" aria-label="Search field ${criterionCount}"> <option value="title">Title</option> <option value="author">Author</option> <option value="subject">Subject</option> </select> <input type="text" name="q${criterionCount}" placeholder="Enter value for field ${criterionCount}..." aria-label="Search value ${criterionCount}"> <button type="button" class="remove-criterion">×</button> `; searchCriteria.appendChild(newRow); if (criterionCount >= 3) { addCriterionBtn.disabled = true; } }); // Remove criterion button (event delegation) searchCriteria.addEventListener('click', (e) => { if (e.target.classList.contains('remove-criterion')) { e.target.parentElement.remove(); criterionCount--; addCriterionBtn.disabled = false; } }); // FAQ Accordion const faqItems = document.querySelectorAll('.faq-item'); faqItems.forEach(item => { const question = item.querySelector('.faq-question'); question.addEventListener('click', () => { const currentlyActive = document.querySelector('.faq-item.active'); // Close other active items if (currentlyActive && currentlyActive !== item) { currentlyActive.classList.remove('active'); currentlyActive.querySelector('.faq-answer').style.maxHeight = 0; } // Toggle current item item.classList.toggle('active'); const answer = item.querySelector('.faq-answer'); if (item.classList.contains('active')) { answer.style.maxHeight = answer.scrollHeight + 'px'; } else { answer.style.maxHeight = 0; } }); }); // Close modals when clicking outside const modals = document.querySelectorAll('.modal'); modals.forEach(modal => { modal.addEventListener('click', (e) => { if (e.target === modal) { modal.classList.remove('active'); document.body.style.overflow = ''; } }); }); // Smooth scrolling for anchor links document.querySelectorAll('a[href^="#"]').forEach(anchor => { anchor.addEventListener('click', function(e) { e.preventDefault(); const targetId = this.getAttribute('href'); if (targetId === '#') return; const targetElement = document.querySelector(targetId); if (targetElement) { window.scrollTo({ top: targetElement.offsetTop - 80, behavior: 'smooth' }); } }); }); // Update room update time function updateRoomTime() { const now = new Date(); const hours = now.getHours().toString().padStart(2, '0'); const minutes = now.getMinutes().toString().padStart(2, '0'); document.getElementById('room-update-time').textContent = `${hours}:${minutes}`; } updateRoomTime(); setInterval(updateRoomTime, 60000); // Update every minute // Load more books functionality const loadMoreBtn = document.getElementById('load-more'); const bookCatalog = document.getElementById('book-catalog'); const additionalBooks = [ { title: "The Odyssey", author: "Homer", subject: "Epic Poetry", desc: "The Odyssey is one of two major ancient Greek epic poems attributed to Homer. It is one of the oldest extant works of literature still read by contemporary audiences. As with the Iliad, the poem is divided into 24 books. It follows the Greek hero Odysseus, king of Ithaca, and his journey home after the Trojan War." }, { title: "Crime and Punishment", author: "Fyodor Dostoevsky", subject: "Psychological Fiction", desc: "Raskolnikov, a destitute and desperate former student, wanders through the slums of St Petersburg and commits a random murder without remorse or regret. He imagines himself to be a great man, a Napoleon: acting for a higher purpose beyond conventional moral law." }, { title: "The Brothers Karamazov", author: "Fyodor Dostoevsky", subject: "Philosophical Fiction", desc: "The Brothers Karamazov is a passionate philosophical novel set in 19th-century Russia, that enters deeply into the ethical debates of God, free will, and morality. It is a spiritual drama of moral struggles concerning faith, doubt, and reason, set against a modernizing Russia." } ]; loadMoreBtn.addEventListener('click', () => { additionalBooks.forEach((book, index) => { const bookCard = document.createElement('div'); bookCard.className = 'book-card'; bookCard.setAttribute('data-title', book.title); bookCard.setAttribute('data-author', book.author); bookCard.setAttribute('data-subject', book.subject); bookCard.setAttribute('data-desc', book.desc); const randomNum = 16 + index; bookCard.innerHTML = ` <div class="book-img"> <img src="https://loremflickr.com/300/400/book,cover?random=${randomNum}" loading="lazy" width="300" height="400" alt="Book Cover: ${book.title}"> </div> <div class="book-info"> <h3>${book.title}</h3> <p>${book.author}</p> </div> `; bookCatalog.appendChild(bookCard); observer.observe(bookCard); // Add click event for the new card bookCard.addEventListener('click', () => { document.getElementById('book-modal-title').textContent = book.title; document.getElementById('book-modal-author').textContent = book.author; document.getElementById('book-modal-subject').textContent = book.subject; document.getElementById('book-modal-desc').textContent = book.desc; document.getElementById('book-modal-img').src = `https://loremflickr.com/600/400/book,cover?random=${randomNum}`; document.getElementById('book-modal-img').alt = `Book Cover: ${book.title}`; bookModal.classList.add('active'); document.body.style.overflow = 'hidden'; }); }); loadMoreBtn.style.display = 'none'; }); // Search functionality const mainSearch = document.getElementById('main-search'); const catalogSearch = document.getElementById('catalog-search'); const searchBtn = document.getElementById('search-btn'); function performSearch() { const mainSearchTerm = mainSearch.value.toLowerCase(); const catalogSearchTerm = catalogSearch.value.toLowerCase(); const searchTerm = mainSearchTerm || catalogSearchTerm; // Get advanced search criteria if any const advancedCriteria = []; const criteriaRows = document.querySelectorAll('.criteria-row'); criteriaRows.forEach(row => { const field = row.querySelector('select').value; const value = row.querySelector('input').value.toLowerCase(); if (value) { advancedCriteria.push({ field, value }); } }); const bookCards = document.querySelectorAll('.book-card'); bookCards.forEach(card => { const title = card.getAttribute('data-title').toLowerCase(); const author = card.getAttribute('data-author').toLowerCase(); const subject = card.getAttribute('data-subject').toLowerCase(); // Check if matches main search term (if any) const matchesMainSearch = !searchTerm || title.includes(searchTerm) || author.includes(searchTerm) || subject.includes(searchTerm); // Check if matches all advanced criteria (if any) let matchesAdvanced = true; if (advancedCriteria.length > 0) { matchesAdvanced = advancedCriteria.every(criteria => { const cardValue = card.getAttribute(`data-${criteria.field}`).toLowerCase(); return cardValue.includes(criteria.value); }); } // Show/hide based on combined conditions card.style.display = (matchesMainSearch && matchesAdvanced) ? 'block' : 'none'; }); } // Event listeners for search [mainSearch, catalogSearch].forEach(input => { input.addEventListener('input', performSearch); }); searchBtn.addEventListener('click', performSearch); // Advanced search form submission searchForm.addEventListener('submit', (e) => { e.preventDefault(); performSearch(); searchModal.classList.remove('active'); document.body.style.overflow = ''; }); </script> <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=aismail/psb" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> </html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pusat Sumber Belajar | Modern Digital Library</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@700;800&display=swap" rel="stylesheet">
<style>
/* CSS Variables for consistent theming */
:root {
--primary: #4361ee;
--primary-light: #4895ef;
--secondary: #3f37c9;
--dark: #1b263b;
--light: #f8f9fa;
--gray: #e9ecef;
--success: #4caf50;
--warning: #ff9800;
--danger: #f44336;
--transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
--shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
--radius: 8px;
}
/* Base Styles - Minimal reset for performance */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Poppins', sans-serif;
color: var(--dark);
background-color: var(--light);
line-height: 1.6;
overflow-x: hidden;
}
h1, h2, h3, h4 {
font-family: 'Montserrat', sans-serif;
line-height: 1.2;
}
img {
max-width: 100%;
display: block;
height: auto;
}
a {
text-decoration: none;
color: inherit;
}
ul {
list-style: none;
}
/* Utility Classes */
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
}
.btn {
display: inline-block;
padding: 12px 28px;
border-radius: 50px;
font-weight: 600;
cursor: pointer;
transition: var(--transition);
border: none;
font-size: 1rem;
}
.btn-primary {
background-color: var(--primary);
color: white;
}
.btn-primary:hover {
background-color: var(--secondary);
transform: translateY(-2px);
box-shadow: var(--shadow-md);
}
/* Header Styles - Fixed position for accessibility */
header {
position: fixed;
top: 0;
left: 0;