<>
/* Critical CSS to prevent FOUC */
.nav__list {
list-: none !important;
margin: 0;
padding: 0;
}
/* Base Styles */
.header {
--header-height: 60px;
--header-bg: #CFE3EA;
--text-color: #333;
--red-color: #d9535c;
--blue-color: #4aabcf;
--green-color: #2ca87c;
position: sticky;
top: 0;
width: 100%;
height: var(--header-height);
background-color: var(--header-bg);
border-bottom: 1px solid rgba(0,0,0,0.05);
z-index: 1000;
transition: all 0.3s ease;
}
.header--scrolled {
--header-height: 50px;
box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}
.header__container {
max-width: 1200px;
height: 100%;
margin: 0 auto;
padding: 0 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
/* Brand/Logo */
.header__brand {
display: flex;
align-items: center;
height: 100%;
}
.brand__link {
display: flex;
align-items: center;
text-decoration: none;
color: var(--text-color);
}
.brand__logo {
height: 50px;
width: auto;
display: block;
transition: all 0.3s ease;
}
.header--scrolled .brand__logo {
height: 45px;
}
/* Navigation */
.header__nav {
height: 100%;
display: flex;
align-items: center;
}
.nav__list {
height: auto;
display: flex;
list-: none;
margin: 0;
padding: 0;
gap: 8px;
}
.nav__item {
display: flex;
align-items: center;
}
/* Base Navigation Link Styles - Style C Soft Glow */
.nav__link {
color: var(--text-color);
text-decoration: none;
font-weight: 700;
font-size: 14px;
letter-spacing: 0.5px;
padding: 10px 16px;
border-radius: 8px;
border: 1px solid transparent;
display: flex;
align-items: center;
gap: 8px;
transition: all 0.3s ease;
}
/* Nav Icon Styles */
.nav__icon {
width: 18px;
height: 18px;
opacity: 0.6;
transition: all 0.3s ease;
flex-shrink: 0;
}
/* Red Link - Icon Converters */
.nav__link--red:hover {
color: var(--red-color);
background: rgba(21783920.1);
border-color: rgba(21783920.25);
box-shadow: 0 4px 15px rgba(21783920.2);
transform: translateY(-2px);
}
.nav__link--red:hover .nav__icon {
opacity: 1;
color: var(--red-color);
}
/* Blue Link - Image Converters */
.nav__link--blue:hover {
color: var(--blue-color);
background: rgba(741712070.1);
border-color: rgba(741712070.25);
box-shadow: 0 4px 15px rgba(741712070.2);
transform: translateY(-2px);
}
.nav__link--blue:hover .nav__icon {
opacity: 1;
color: var(--blue-color);
}
/* Green Link - Online Tools */
.nav__link--green:hover {
color: var(--green-color);
background: rgba(441681240.1);
border-color: rgba(441681240.25);
box-shadow: 0 4px 15px rgba(441681240.2);
transform: translateY(-2px);
}
.nav__link--green:hover .nav__icon {
opacity: 1;
color: var(--green-color);
}
/* Menu Toggle */
.header__menu-toggle {
display: none;
width: 30px;
height: 24px;
flex-direction: column;
justify-content: space-between;
cursor: pointer;
z-index: 1001;
}
.menu-toggle__bar {
width: 100%;
height: 3px;
background-color: var(--text-color);
border-radius: 3px;
transition: all 0.3s ease;
transform-origin: left center;
}
/* Responsive Styles */
@media (max-width: 768px) {
.header__menu-toggle {
display: flex;
}
.header__nav {
position: fixed;
top: 0;
right: -300px;
width: 300px;
height: 100vh;
background-color: #fff;
box-shadow: -2px 0 10px rgba(0,0,0,0.1);
transition: right 0.3s ease;
padding-top: var(--header-height);
z-index: 1000;
overflow-y: auto;
}
.header__nav.active {
right: 0;
}
.nav__list {
flex-direction: column;
height: auto;
padding: 20px;
gap: 10px;
}
.nav__item {
width: 100%;
}
.nav__link {
width: 100%;
padding: 14px 20px;
background: #f8f9fa;
border-radius: 10px;
}
/* Disable lift effect on mobile */
.nav__link--red:hover,
.nav__link--blue:hover,
.nav__link--green:hover {
transform: none;
box-shadow: none;
}
.header__menu-toggle.active .menu-toggle__bar:nth-child(1) {
transform: rotate(45deg);
width: 28px;
}
.header__menu-toggle.active .menu-toggle__bar:nth-child(2) {
opacity: 0;
}
.header__menu-toggle.active .menu-toggle__bar:nth-child(3) {
transform: rotate(-45deg);
width: 28px;
}
body.menu-open {
overflow: hidden;
}
}
/* Ad Styles - Optimized for Responsiveness */
.header-ad-wrapper {
width: 100%;
margin: 15px auto;
padding: 0 10px;
box-sizing: border-box;
text-align: center;
overflow: hidden;
position: relative;
z-index: 5;
}
.header-ad-container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
overflow: hidden;
position: relative;
text-align: center;
}
.header-ad-container .adsbygoogle {
margin: 0 auto;
}
/* Ensure proper spacing after ad */
.header-ad-wrapper::after {
content: '';
display: block;
clear: both;
}
/* Responsive ad adjustments */
@media screen and (max-width: 767px) {
.header-ad-container {
text-align: center;
}
.header-ad-container .adsbygoogle {
width: 100%;
max-width: 320px;
height: 90px;
margin: 0 auto;
}
}
/* Reduced motion preference */
@media (prefers-reduced-motion) {
.nav__link {
transition: color 0.1s easebackground 0.1s ease;
}
.nav__link--red:hover,
.nav__link--blue:hover,
.nav__link--green:hover {
transform: none;
}
}
>
<>
/* Rail Ads */
.left-rail {
position: fixed;
left: 20px;
top: 50%;
transform: translateY(-50%);
z-index: 999;
display: block;
}
.right-rail {
position: fixed;
right: 20px;
top: 50%;
transform: translateY(-50%);
z-index: 999;
display: block;
}
@media (max-width: 1280px) {
.left-rail.right-rail {
display: none;
}
}
/* ============================================
MEGA FOOTER - Improved Version
============================================ */
.footer-mega {
background-color: #1a252f;
color: #ecf0f1;
padding: 50px 0 25px;
position: relative;
overflow: hidden;
}
/* Animated gradient top border */
.footer-mega::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(90deg#3498db#e74c3c#f1c40f#2ecc71#9b59b6#3498db);
background-size: 300% 100%;
animation: gradientFlow 8s linear infinite;
}
@keyframes gradientFlow {
0% { background-position: 0% 50%; }
100% { background-position: 300% 50%; }
}
.footer-mega-content {
max-width: 1400px;
margin: 0 auto;
padding: 0 30px;
}
/* ============================================
4-COLUMN GRID LAYOUT
============================================ */
.mega-categories {
display: grid;
grid-template-columns: repeat(41fr);
gap: 40px;
margin-bottom: 40px;
}
.mega-category {
min-height: auto;
}
/* Category Headers with Icons */
.mega-category h3 {
color: #fff;
font-size: 15px;
font-weight: 700;
margin: 0 0 18px;
padding-bottom: 12px;
border-bottom: 2px solid rgba(521522190.3);
display: flex;
align-items: center;
gap: 10px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.mega-category h3 .header-icon {
width: 20px;
height: 20px;
color: #3498db;
flex-shrink: 0;
}
.mega-category ul {
list-: none;
padding: 0;
margin: 0;
}
.mega-category li {
margin-bottom: 6px;
line-height: 1.4;
}
/* Sub-section headers */
.mega-category li strong {
color: #78909c;
font-size: 11px;
display: flex;
align-items: center;
gap: 6px;
margin: 14px 0 8px 0;
text-transform: uppercase;
letter-spacing: 0.8px;
font-weight: 600;
}
.mega-category li strong .section-icon {
width: 12px;
height: 12px;
opacity: 0.7;
}
.mega-category li:first-child strong {
margin-top: 0;
}
/* Link s */
.mega-category a {
color: #c3ebff;
text-decoration: none;
transition: all 0.2s ease;
font-size: 14px;
display: inline-flex;
align-items: center;
gap: 6px;
}
.mega-category a .link-icon {
width: 14px;
height: 14px;
opacity: 0.6;
transition: all 0.2s ease;
}
.mega-category a:hover {
color: #3498db;
padding-left: 4px;
}
.mega-category a:hover .link-icon {
opacity: 1;
color: #3498db;
}
/* Labels (BETANEWetc) */
.mega-category a.beta::after,
.mega-category a.new::after {
font-size: 9px;
padding: 2px 5px;
border-radius: 3px;
font-weight: 600;
margin-left: 6px;
text-transform: uppercase;
}
.mega-category a.beta::after {
content: "β";
background: rgba(23176600.2);
color: #e74c3c;
}
.mega-category a.new::after {
content: "✦";
background: rgba(462041130.2);
color: #2ecc71;
}
.mega-category a.beta:hover::after,
.mega-category a.new:hover::after {
background: #3498db;
color: white;
}
/* Show More Button */
.show-more-converter {
color: #3498db;
cursor: pointer;
padding: 8px 0;
font-size: 12px;
margin-top: 10px;
transition: all 0.2s ease;
display: inline-flex;
align-items: center;
gap: 5px;
text-decoration: none;
font-weight: 500;
}
.show-more-converter:hover {
color: #5dade2;
}
.show-more-converter::after {
content: "↓";
font-size: 14px;
}
.show-more-converter.expanded::after {
content: "↑";
}
/* ============================================
QUICK LINKS ROW
============================================ */
.footer-links-row {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 0;
border-top: 1px solid rgba(2552552550.08);
border-bottom: 1px solid rgba(2552552550.08);
margin-bottom: 25px;
flex-wrap: wrap;
gap: 15px;
}
.footer-quick-links {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.footer-quick-links a {
color: #eaf8ff;
text-decoration: none;
font-size: 13px;
padding: 6px 12px;
background: rgba(2552552550.05);
border-radius: 20px;
transition: all 0.2s ease;
display: inline-flex;
align-items: center;
gap: 6px;
}
.footer-quick-links a:hover {
background: rgba(521522190.2);
color: #3498db;
}
.footer-quick-links a .quick-icon {
width: 14px;
height: 14px;
opacity: 0.7;
}
/* ============================================
BOTTOM SECTION
============================================ */
.mega-bottom {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 20px;
}
.mega-left-section {
display: flex;
align-items: center;
gap: 20px;
}
.mega-logo {
width: 50px;
height: 50px;
flex-shrink: 0;
}
.mega-logo a {
display: block;
}
.mega-logo img {
width: 100%;
height: 100%;
object-fit: contain;
transition: opacity 0.3s ease;
}
.mega-logo:hover img {
opacity: 0.8;
}
.mega-copyright {
color: #607d8b;
font-size: 13px;
line-height: 1.5;
}
/* Social Icons */
.social-icons {
display: flex;
gap: 10px;
}
.social-icons a {
width: 36px;
height: 36px;
background: rgba(2552552550.08);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
color: #b0bec5;
}
.social-icons a:hover {
transform: translateY(-2px);
}
.social-icons a.facebook:hover {
background: #1877F2;
color: white;
}
.social-icons a.twitter:hover {
background: #000;
color: white;
}
.social-icons a .social-icon {
width: 18px;
height: 18px;
}
/* Bottom Links */
.mega-bottom-links {
display: flex;
flex-wrap: wrap;
gap: 20px;
}
.mega-bottom-links a {
color: #78909c;
text-decoration: none;
font-size: 13px;
transition: all 0.2s ease;
display: inline-flex;
align-items: center;
gap: 5px;
}
.mega-bottom-links a .bottom-icon {
width: 14px;
height: 14px;
opacity: 0.6;
}
.mega-bottom-links a:hover {
color: #3498db;
}
.mega-bottom-links a:hover .bottom-icon {
opacity: 1;
}
/* Right Section */
.mega-right-section {
display: flex;
align-items: center;
gap: 25px;
flex-wrap: wrap;
}
/* ============================================
BACK TO TOP BUTTON
============================================ */
#back-to-top {
position: fixed;
bottom: 30px;
right: 30px;
width: 45px;
height: 45px;
background: linear-gradient(135deg#3498db#2980b9);
color: white;
border: none;
border-radius: 50%;
font-size: 20px;
cursor: pointer;
opacity: 0;
visibility: hidden;
transition: all 0.3s ease;
z-index: 1000;
box-shadow: 0 4px 15px rgba(521522190.4);
display: flex;
align-items: center;
justify-content: center;
}
#back-to-top.visible {
opacity: 1;
visibility: visible;
}
#back-to-top:hover {
transform: translateY(-3px) scale(1.05);
box-shadow: 0 6px 20px rgba(521522190.5);
}
/* ============================================
RESPONSIVE DESIGN
============================================ */
/* Large tablets and small desktops */
@media (max-width: 1200px) {
.mega-categories {
grid-template-columns: repeat(31fr);
gap: 30px;
}
.mega-category:nth-child(4) {
grid-column: span 3;
}
.mega-category:nth-child(4) ul {
display: grid;
grid-template-columns: repeat(31fr);
gap: 0 30px;
}
}
/* Tablets */
@media (max-width: 992px) {
.mega-categories {
grid-template-columns: repeat(21fr);
gap: 25px;
}
.mega-category:nth-child(4) {
grid-column: span 2;
}
.mega-category:nth-child(4) ul {
grid-template-columns: repeat(21fr);
}
.footer-mega-content {
padding: 0 20px;
}
.mega-bottom {
flex-direction: column;
align-items: flex-start;
}
.mega-right-section {
width: 100%;
justify-content: space-between;
}
}
/* Mobile */
@media (max-width: 768px) {
.footer-mega {
padding: 35px 0 20px;
}
.mega-categories {
grid-template-columns: 1fr 1fr;
gap: 20px;
}
.mega-category:nth-child(3),
.mega-category:nth-child(4) {
grid-column: span 1;
}
.mega-category:nth-child(4) ul {
grid-template-columns: 1fr;
}
.mega-category h3 {
font-size: 13px;
}
.mega-category a {
font-size: 12px;
}
.footer-links-row {
flex-direction: column;
align-items: flex-start;
}
.footer-quick-links {
width: 100%;
}
.mega-left-section {
flex-direction: column;
align-items: flex-start;
gap: 15px;
}
.mega-bottom-links {
gap: 15px;
}
#back-to-top {
bottom: 20px;
right: 20px;
width: 40px;
height: 40px;
}
}
/* Small mobile */
@media (max-width: 480px) {
.mega-categories {
grid-template-columns: 1fr;
}
.mega-category:nth-child(3),
.mega-category:nth-child(4) {
grid-column: span 1;
}
.footer-quick-links a {
flex: 1;
min-width: 45%;
justify-content: center;
text-align: center;
}
.mega-right-section {
flex-direction: column;
align-items: flex-start;
gap: 15px;
}
}
/* Reduced motion */
@media (prefers-reduced-motion) {
.footer-mega::before {
animation: none;
}
#back-to-top:hover,
.social-icons a:hover {
transform: none;
}
}
>