:root { --bg-primary: #f7fafc; --bg-secondary: #ffffff; --text-primary: #2d3748; --text-secondary: #4a5568; --accent-primary: #1e40af; --accent-hover: #2b6cb0; --shadow: 0 6px 24px rgba(0, 0, 0, 0.1); --border: #e2e8f0; --carousel-bg: #2d3748; --carousel-hover: #4a5568; --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); } .dark { --bg-primary: #1a202c; --bg-secondary: #2d3748; --text-primary: #e2e8f0; --text-secondary: #a0aec0; --accent-primary: #63b3ed; --accent-hover: #90cdf4; --shadow: 0 6px 24px rgba(255, 255, 255, 0.1); --border: #4a5568; --carousel-bg: #1a202c; --carousel-hover: #2d3748; } body { background-color: var(--bg-primary); color: var(--text-primary); transition: var(--transition); font-family: 'Inter', sans-serif; overscroll-behavior: none; } /* Custom Animations */ @keyframes logo3D { 0% { transform: perspective(800px) rotateY(0deg) scale(1); } 50% { transform: perspective(800px) rotateY(10deg) scale(1.05); } 100% { transform: perspective(800px) rotateY(0deg) scale(1); } } .logo-3d { font-size: 5rem; font-weight: 900; color: white; text-shadow: 5px 5px 12px rgba(0, 0, 0, 0.3), -3px -3px 12px rgba(255, 255, 255, 0.5); animation: logo3D 6s infinite ease-in-out; transform: perspective(800px); position: relative; z-index: 10; } .animate-fade-in { animation: fadeIn 1s ease-out forwards; } @keyframes fadeIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } .hover\:scale-up { transition: transform 0.3s ease, box-shadow 0.3s ease; } .hover\:scale-up:hover { transform: scale(1.05); box-shadow: var(--shadow); } .carousel { position: relative; overflow: hidden; width: 100%; max-width: 1000px; margin: 0 auto; border-radius: 20px; box-shadow: var(--shadow); } .carousel-inner { display: flex; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); } .carousel-item { flex: 0 0 100%; opacity: 0; transition: opacity 0.6s ease-in-out; } .carousel-item.active { opacity: 1; } .carousel-item img { width: 100%; height: auto; max-height: 600px; object-fit: cover; border-radius: 20px; loading: lazy; } .carousel button { background-color: var(--carousel-bg); color: white; transition: var(--transition); } .carousel button:hover { background-color: var(--carousel-hover); } .image-text-container { position: relative; width: 100%; max-width: 1000px; margin: 0 auto; } .image-text-container img { width: 100%; height: auto; max-height: 600px; object-fit: cover; border-radius: 20px; filter: brightness(70%); loading: lazy; } .image-text-container .typing-text { position: absolute; bottom: 50px; left: 20px; right: 20px; color: white; font-size: 2.5rem; font-weight: 800; text-shadow: 4px 4px 12px rgba(0, 0, 0, 0.9); text-align: center; } .typing-text::after { content: '|'; animation: blink 0.7s infinite; } @keyframes blink { 50% { opacity: 0; } } /* Navbar Scrollable for Smaller Screens */ .nav-scrollable { max-height: 0; overflow-y: auto; transition: max-height 0.4s ease-in-out; } .nav-scrollable.open { max-height: 80vh; } /* Modal Styling */ .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); z-index: 1000; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s ease; } .modal.show { display: flex; opacity: 1; } .modal-content { background-color: var(--bg-secondary); padding: 24px; border-radius: 12px; max-width: 600px; width: 90%; max-height: 80vh; overflow-y: auto; position: relative; box-shadow: var(--shadow); } .modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 1.5rem; color: var(--text-primary); cursor: pointer; } .modal-close:hover { color: var(--accent-primary); } /* Team Member Image Styling */ .team-member-img { width: 128px; height: 128px; object-fit: cover; border-radius: 50%; cursor: pointer; transition: transform 0.3s ease; } .team-member-img:hover { transform: scale(1.1); } /* Header 3D Canvas */ #chromatin-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; opacity: 0.5; } header { position: relative; overflow: hidden; } /* Responsive Adjustments */ @media (max-width: 1032px) { .desktop-nav { display: none; } .mobile-nav { display: block; } .carousel-item img, .image-text-container img { max-height: 500px; } .image-text-container .typing-text { font-size: 2rem; bottom: 30px; } .carousel button { padding: 10px; font-size: 1rem; } .logo-3d { font-size: 4rem; } .modal-content { width: 95%; } } @media (max-width: 768px) { .carousel-item img, .image-text-container img { max-height: 400px; } .image-text-container .typing-text { font-size: 1.75rem; bottom: 20px; } .logo-3d { font-size: 3.5rem; } } @media (max-width: 480px) { .carousel-item img, .image-text-container img { max-height: 350px; } .image-text-container .typing-text { font-size: 1.25rem; bottom: 15px; } .carousel button { padding: 8px; font-size: 0.875rem; } .logo-3d { font-size: 2.75rem; } .team-member-img { width: 100px; height: 100px; } }