* { padding: 0; margin: 0; box-sizing: border-box; } body { /* font-family: 'Lato', sans-serif important; */ /* font-family: 'Rubik', sans-serif; */ font-family: 'Poppins', sans-serif; overflow-x: hidden; } p{ font-weight: 500; font-size: 17px; line-height: 1.8rem; letter-spacing: 0.001em; color: #221415; } a, button{ transition: all 300ms ease-out; } h1{ font-weight: 800; font-size: 38px; line-height: 2.8rem; letter-spacing: 0.001em; color: #221415; } h2{ font-weight: 700; font-weight: 800; font-size: 28px; line-height: 34px; color: #202023; } h5{ font-weight: 600; font-size: 18px; line-height: 2rem; color: #202023; } h4{ font-weight: 700; font-size: 20px; line-height: 2rem; color: #221415; } /* new nav*/ .header { padding: 1rem 6rem; display: flex; justify-content: space-between; align-items: center; position: absolute; top: 0; z-index: 999; width: 100%; box-shadow: 0 0.5px 1px rgba(246, 246, 246, 0.96); } .header-scroll{ padding: 0 6rem; background: #0E2B52; position: sticky; box-shadow: 0 2px 4px rgba(99, 99, 99, 0.25); } .header .logo{ height: 4rem; } .navbar-list { display: flex; justify-content: center; align-items: center; text-align: center; gap: 2rem; text-decoration: none; padding: 0 0.8rem !important; list-style: none; } .nav-link{ text-decoration: none; font-weight: 600; font-size: 16px; line-height: 20px; color: #FFFFFF !important; } .nav-link:hover, .nav-link:active { color: #F54C5F !important; } .mobile-navbar-btn { display: none; background: transparent; cursor: pointer; } .mobile-nav-icon { width: 3rem; height: 2rem; color: #212529; } .mobile-nav-icon[name="close-outline"] { display: none; } .dropdown-menu a{ font-weight: 600; font-size: 16px; } .dropdown-item:focus, .dropdown-item:hover { color: #fff !important; background-color: #F54C5F !important; transition: all 300ms ease-in-out; } .section-hero, .section-services { padding: 9.6rem 0; background-color: #a5d8ff; height: 60vh; display: flex; justify-content: center; align-items: center; } .section-services { background: #f3f0ff; } .section-hero p, .section-services p { font-size: 3.2rem; } /* =========================================== Responsive Codes ======================================= */ /* 980px */ @media (max-width: 62em) { html { overflow-x: hidden; } .mobile-navbar-btn { display: block; z-index: 999; } .header .logo { width: 40%; } .navbar-list { /* display: none; */ width: 100%; height: 100vh; background: #FFFFFF; position: absolute; top: 0; left: 0; gap: 4rem; display: flex; justify-content: center; align-items: center; transform: translateX(100%); transition: all 0.5s linear; opacity: 0; visibility: hidden; pointer-events: none; } .nav-inner{ background: #ffffff; } .navbar-list { flex-direction: column; align-items: center; } .active .navbar-list { transform: translateX(0); opacity: 1; visibility: visible; pointer-events: auto; } .active .mobile-navbar-btn .mobile-nav-icon[name="close-outline"] { display: block; } .active .mobile-navbar-btn .mobile-nav-icon[name="menu-outline"] { display: none; } } /* Below 560px */ @media (max-width: 35em) { .header { padding: 0 0.8rem; position: sticky; background: #FFFFFF; } .header .logo { width: 55%; } } /* new nav */ /* achievement section css */ .achievement-section{ padding: 3rem 6rem; background: #F4F4F4; } .achievement-items{ display: flex; justify-content: space-between; padding: 0 6rem; } .achivement-sec{ display: flex; flex-direction: column; align-items: center; gap: 15px; }