/* Import Poppins for that clean, punchy look you liked */ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap'); /* ====================================================== THEME VARIABLES — POLISHED VIBRANT GLASS ====================================================== */ :root { /* Richer, deeper gradient for better text contrast */ --bg-gradient: linear-gradient(135deg, #4158d0 0%, #c850c0 46%, #ffcc70 100%); /* Crystal Clear Glass - slightly more transparent for "cool" factor */ --bg-card: rgba(255, 255, 255, 0.82); --bg-navbar: rgba(255, 255, 255, 0.747); /* Crisp Typography */ --text-main: #2d3436; --text-muted: #636e72; --text-heading: #1e272e; /* Formal yet Bold Accents */ --accent: #6c5ce7; --accent-hover: #4834d4; --border-color: rgba(255, 255, 255, 0.6); /* Elevation Shadows */ --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.12); --glass-blur: blur(12px); --transition-cubic: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); } /* ====================================================== GLOBAL STYLES ====================================================== */ * { box-sizing: border-box; } body { background: var(--bg-gradient); background-attachment: fixed; min-height: 100vh; color: var(--text-main); margin-top: 5.5rem; /* Adjusted for navbar height */ font-family: 'Poppins', sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; } h1, h2, h3, h4 { color: var(--text-heading); font-weight: 700; letter-spacing: -0.03em; } a { color: var(--accent); text-decoration: none; transition: var(--transition-cubic); } /* ====================================================== NAVBAR (Enhanced & Responsive) ====================================================== */ .bg-steel { background: var(--bg-navbar) !important; backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-bottom: 1px solid var(--border-color); } .site-header { position: fixed; top: 0; width: 100%; z-index: 1050; padding: 0.8rem 0; } .site-header .navbar-brand { font-weight: 800; color: var(--accent) !important; font-size: 1.4rem; letter-spacing: -0.5px; } .site-header .nav-link { color: var(--text-main) !important; font-weight: 500; padding: 0.5rem 1.2rem !important; border-radius: 8px; transition: var(--transition-cubic); } .site-header .nav-link:hover { background: rgba(108, 92, 231, 0.1); color: var(--accent) !important; } /* Mobile Nav Menu Style */ @media (max-width: 991px) { .navbar-collapse { background: rgb(255, 255, 255); margin-top: 1rem; padding: 1rem; border-radius: 15px; } } /* ====================================================== CONTENT CARDS (Formal Glass + Shimmer) ====================================================== */ .content-section { background: var(--bg-card); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); padding: 2.2rem; border-radius: 24px; margin-bottom: 2rem; border: 1px solid var(--border-color); box-shadow: var(--shadow-md); position: relative; overflow: hidden; /* For shimmer effect */ transition: var(--transition-cubic); } /* Subtle Shimmer Effect on Card */ .content-section::after { content: ""; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: 0.6s; } .content-section:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18); } .content-section:hover::after { left: 100%; } /* ====================================================== ARTICLES & IMAGES ====================================================== */ .article-title { font-size: 1.75rem; font-weight: 800; color: var(--text-heading); } .article-metadata { display: flex; align-items: center; font-size: 0.85rem; font-weight: 500; color: var(--text-muted); border-bottom: 1px solid rgba(0, 0, 0, 0.06); padding-bottom: 1rem; margin-bottom: 1.5rem; } .article-img { height: 55px; width: 55px; border-radius: 16px; border: 2px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.1); } .account-img { height: 120px; width: 120px; border-radius: 35px; border: 5px solid #fff; box-shadow: var(--shadow-md); } /* ====================================================== BUTTONS & FORMS ====================================================== */ .btn-outline-info { background: var(--accent); color: #fff !important; border: none; font-weight: 600; border-radius: 14px; padding: 0.8rem 2.2rem; box-shadow: 0 6px 20px rgba(108, 92, 231, 0.3); transition: var(--transition-cubic); } .btn-outline-info:hover { background: var(--accent-hover); transform: translateY(-3px) scale(1.03); box-shadow: 0 10px 25px rgba(108, 92, 231, 0.4); } .form-control { background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 14px; padding: 0.8rem 1.2rem; transition: var(--transition-cubic); } .form-control:focus { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.15); } /* ====================================================== RESPONSIVE DESIGN TWEAKS ====================================================== */ @media (max-width: 768px) { body { margin-top: 5rem; } .content-section { padding: 1.5rem; border-radius: 0; /* Cleaner for edge-to-edge mobile screens */ border-left: none; border-right: none; } .article-title { font-size: 1.4rem; } .account-img { height: 90px; width: 90px; } } /* Style for the actual Hamburger Button */ .navbar-toggler { border: none; background: rgba(108, 92, 231, 0.1); /* Subtle purple glass tint */ backdrop-filter: blur(5px); padding: 8px; border-radius: 10px; transition: var(--transition-cubic); } .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2); outline: none; } /* Make the 3-line icon purple to match your accent */ .navbar-toggler-icon { filter: invert(45%) sepia(50%) saturate(3000%) hue-rotate(220deg) brightness(95%) contrast(90%); }