@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap'); /* ---------------- GLOBAL ---------------- */ body { font-family: 'Inter', sans-serif; margin: 0; background: #f4f7fa; color: #111; } /* Better box sizing for layouts */ html { box-sizing: border-box; } *, *::before, *::after { box-sizing: inherit; } /* ---------------- NAVIGATION (Glass UI) ---------------- */ .navbar { backdrop-filter: blur(20px); background: rgba(255, 255, 255, 0.65); border-radius: 14px; border: 1px solid rgba(255,255,255,0.4); margin: 12px auto; width: calc(100% - 30px); max-width: 1180px; padding: 16px 25px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 10px; z-index: 999; box-shadow: 0 6px 25px rgba(0,0,0,0.08); } .logo { font-size: 24px; font-weight: 800; color: #0A5AFF; } .nav-links { display: flex; list-style: none; gap: 28px; } .nav-links li a { text-decoration: none; color: #222; font-weight: 500; } .nav-links li a:hover { color: #0A5AFF; } .menu-icon { display: none; font-size: 28px; cursor: pointer; } /* ---------------- MOBILE NAV ---------------- */ .mobile-menu { position: fixed; top: 0; right: -270px; width: 250px; height: 100%; background: rgba(255,255,255,0.95); backdrop-filter: blur(18px); box-shadow: -4px 0 12px rgba(0,0,0,0.15); padding: 20px; transition: 0.4s; z-index: 2000; } .mobile-menu.open { right: 0; } .close-icon { font-size: 28px; cursor: pointer; margin-bottom: 20px; } .mobile-menu ul { list-style: none; padding: 0; margin: 0; } .mobile-menu ul li { padding: 15px 0; } .mobile-menu ul li a { text-decoration: none; color: #111; font-size: 18px; } /* ---------------- HERO SECTION ---------------- */ .hero-area { background: #dff1f0; padding: 90px 20px 70px; text-align: center; position: relative; overflow: hidden; background-image: linear-gradient(rgba(255,255,255,0.15), rgba(255,255,255,0.15)), url('https://quickautograph.com/Assets/grid-pattern.svg'); background-size: cover; border-bottom: 1px solid #d0e4e2; } .hero-label { font-size: 14px; letter-spacing: 2px; font-weight: 700; color: #0A5AFF; } .hero-title { font-size: 40px; font-weight: 800; max-width: 950px; margin: 15px auto 12px; color: #222; line-height: 1.28; } .hero-title .highlight { color: #0A5AFF; } .hero-subtext { font-size: 18px; color: #555; max-width: 780px; margin: 10px auto 35px; line-height: 1.6; } /* SEARCH BAR */ .hero-search { margin: auto; width: 100%; max-width: 420px; background: #ffffff; padding: 12px 15px; display: flex; align-items: center; border-radius: 14px; border: 1px solid #cfd9df; gap: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); } .hero-search input { border: none; outline: none; width: 100%; font-size: 16px; } .search-icon { font-size: 18px; opacity: 0.7; } /* ---------------- BLOG GRID (Bigger Cards + Perfect Margins) ---------------- */ .grid { max-width: 1330px; margin: 0 auto; padding: 50px 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 35px; } .card { background: #ffffff; border-radius: 18px; overflow: hidden; border: 1px solid #e7eaef; box-shadow: 0 4px 18px rgba(0,0,0,0.10); transition: 0.3s; } .card:hover { transform: translateY(-6px); } .card img { width: 100%; height: 230px; object-fit: cover; } .card .content { padding: 24px; } .badge { display: inline-block; width: fit-content; padding: 10px 10px; background: #0A5AFF; border-radius: 14px; color: #fff; font-size: 11px; font-weight: 600; line-height: 1; white-space: nowrap; padding: 10px; } .card h3 a { text-decoration: none; color: #000; font-size: 20px; font-weight: bolder; font-family: "Roboto", sans-serif; margin-top: 20px; } .card h3 a:hover { color: #0A5AFF; } .excerpt { margin-top: 12px; color: #555; font-size: 15px; line-height: 1.6; } /* ---------------- PAGINATION ---------------- */ .pagination { text-align: center; padding-bottom: 60px; } .pagination button { padding: 9px 15px; border-radius: 6px; background: white; border: 1px solid #ccc; margin: 5px; cursor: pointer; } .pagination button.active { background: #0A5AFF; color: white; } /* ---------- RESPONSIVE: LARGE TABLETS / SMALL LAPTOPS ---------- */ @media (max-width: 1200px) { .navbar { max-width: 1000px; width: calc(100% - 24px); padding: 14px 20px; } .grid { max-width: 1000px; padding: 40px 24px; gap: 28px; } .hero-area { padding: 80px 18px 60px; } .hero-title { font-size: 34px; max-width: 820px; } .hero-subtext { font-size: 17px; max-width: 700px; } } /* ---------- RESPONSIVE: TABLETS ---------- */ @media (max-width: 860px) { .nav-links { display: none; } .menu-icon { display: block; } .navbar { width: calc(100% - 20px); padding: 12px 18px; } .logo { font-size: 22px; } .hero-area { padding: 70px 16px 50px; } .hero-title { font-size: 32px; } .hero-subtext { font-size: 16px; } .grid { padding: 35px 20px; grid-template-columns: minmax(0, 1fr); /* single column on tablet for better readability */ gap: 26px; } .card img { height: 500px; } } /* ---------- RESPONSIVE: MOBILE PHONES ---------- */ @media (max-width: 600px) { .grid { padding: 25px 18px; gap: 22px; } .hero-area { padding: 60px 14px 45px; } .hero-label { font-size: 12px; letter-spacing: 1.5px; } .hero-title { font-size: 28px; margin-top: 10px; } .hero-subtext { font-size: 15px; margin-top: 8px; margin-bottom: 26px; } .hero-search { max-width: 100%; padding: 10px 12px; } .hero-search input { font-size: 15px; } .icon { width: 32px; opacity: 0.5; } .menu-icon{ font-size: 24px; margin-right: 2rem; } .card .content { padding: 18px 16px 20px; } .card img { height: 300px; } .card h3 a { font-size: 18px; } .excerpt { font-size: 14px; } .pagination { padding-bottom: 40px; } } /* ---------- EXTRA SMALL MOBILE (VERY NARROW) ---------- */ @media (max-width: 420px) { .navbar { margin: 8px auto; width: calc(100% - 16px); padding: 10px 14px; border-radius: 12px; } .logo { font-size: 20px; } .hero-area { padding: 50px 12px 35px; } .hero-title { font-size: 24px; line-height: 1.3; } .hero-subtext { font-size: 14px; } .hero-search { padding: 9px 10px; border-radius: 12px; } .grid { padding: 22px 12px; gap: 18px; } .card img { height: 185px; } .badge { font-size: 10px; padding: 8px 8px; } .pagination button { padding: 8px 11px; font-size: 13px; } } .read-more-btn { display: inline-block; margin-top: 12px; color: #0A5AFF; font-weight: 600; text-decoration: none; font-size: 15px; transition: 0.2s; } .read-more-btn:hover { color: #0844c9; text-decoration: underline; }