body { margin: 0; padding: 0; font-family: "Poppins", sans-serif; } .navbar { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); padding: 20px 40px !important; } .navLink { color: #000033 !important; } .btn-primary { padding: 8px 16px !important; background-color: transparent !important; border: 2px solid rgb(97, 97, 97) !important; border-radius: 8px !important; font-size: 16px !important; color: black !important; cursor: pointer !important; outline: none !important; } .navLink::after { content: ''; display: block; width: 0; height: 3px; background: #E28527; transition: width .4s ease-in; } .navLink:hover { font-weight: 600; } .navLink:hover::after { width: 100%; } .phone-number { margin-top: 8px; margin-left: -11px; margin-right: 25px; } @media only screen and (min-width: 320px) and (max-width: 767px) { /* navbar */ .main-section { padding: 2rem; } .navbar { padding: 20px !important; } .logoImg { width: 150px; } .contactBtn { display: none !important; } .navList { display: inline; text-align: right; } } .mentorHeading { background-color: #FFF3E4; padding: 2rem 0 2rem 0; } .mentorHeading h1 { text-align: center; } .search-bar { position: relative; display: block; margin-inline: auto; width: 80%; margin-top: 3rem; } .search-input { width: 100%; padding: 11px; border: 2px solid #ccc; border-radius: 5px; outline: none; } .search-icon { position: absolute; top: 26px; right: 26px; transform: translateY(-50%); cursor: pointer; border: navajowhite; background-color: snow; } /* Course Section */ .course-section { padding: 20px; } .course-heading { font-size: 40px; text-align: left; margin-bottom: 30px; margin-top: 30px; } .tabs-and-icons { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .tabs { display: flex; gap: 15px; } .tab { font-size: 26px; padding: 5px 10px; cursor: pointer; } .tab.active { font-weight: bold; border-bottom: 8px solid orange; margin-bottom: -16px; } .view-icons { display: flex; gap: 10px; margin-bottom: 15px; } .icon { display: flex; justify-content: center; align-items: center; width: 40px; height: 40px; cursor: pointer; } .icon img { width: 20px; height: 20px; object-fit: contain; } .icon.grid-view.active { background-color: #3B3B3B; border-color: #3B3B3B; border-radius: 4px; } @media screen and (max-width: 768px) { .view-icons { display: none; } .tab.active { font-weight: bold; border-bottom: 6px solid orange; margin-bottom: -12px; } .tab { font-size: 14px; } .course-heading { font-size: 20px; text-align: left; margin-bottom: 20px; margin-top: 20px; } } .line { height: 2px; background-color: #D9D9D9; margin: 10px 0; } .course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; } .course-card { border: 1px solid #ccc; border-radius: 5px; overflow: hidden; } .course-card img { width: 100%; height: auto; object-fit: cover; display: block; } .course-card .category { font-size: 0.8rem; color: gray; margin: 10px 0; padding: 0 10px 0px; } .course-card .course-title { font-size: 1.2rem; font-weight: bold; margin-bottom: 10px; padding: 0 10px 0px; } .course-card .course-description { font-size: 1rem; padding: 0 10px 0px; } @media screen and (max-width: 768px) { .course-grid { grid-template-columns: 1fr; margin-top: 18px; } .course-heading { font-size: 18px; } } .affordable-courses { padding: 40px 20px; } .affordable-heading { font-size: 40px; text-align: left; margin-bottom: 10px; } .affordable-description { font-size: 14px; text-align: left; margin-bottom: 30px; color: #555; } .affordable-grid { display: flex; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; padding-bottom: 10px; gap: 30px; } .affordable-grid::-webkit-scrollbar { height: 8px; } .affordable-grid::-webkit-scrollbar-thumb { background-color: #ccc; border-radius: 4px; } .course-box { flex: 0 0 30%; background-color: #fff; overflow: hidden; text-align: left; } .course-image { position: relative; width: 100%; height: 200px; overflow: hidden; } .course-image img { width: 100%; height: 100%; object-fit: cover; } .sale-badge { position: absolute; top: 10px; left: 10px; background-color: red; color: white; font-size: 14px; font-weight: bold; padding: 4px 6px; border-radius: 4px; } .course-title1 { font-size: 16px; font-weight: bold; margin: 15px 0 10px; color: #333; margin-left: 16px; text-align: left; } .course-info { font-size: 14px; color: #777; margin: 0 15px 15px; text-align: left; } .course-details { display: flex; margin-left: 16px; justify-content: flex-start; align-items: center; gap: 20px; margin-bottom: 20px; } .detail-item { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #555; } .detail-item img { width: 16px; height: 16px; } .register-btn { margin-left: 16px; display: inline-flex; align-items: center; justify-content: flex-start; gap: 10px; font-size: 14px; color: orange; background-color: transparent; border: 1px solid black; padding: 10px 20px; border-radius: 30px; cursor: pointer; transition: all 0.3s ease; margin-bottom: 20px; } @media (max-width: 768px) { .affordable-heading { font-size: 18px; } .affordable-description { font-size: 10px; } .affordable-grid { overflow-x: auto; flex-wrap: nowrap; } .course-box { flex: 0 0 70%; } .course-image { height: 150px; } .course-title1 { font-size: 12px; } .course-info { font-size: 10px; margin-right: -10px; } .register-btn { font-size: 8px; padding: 8px 15px; border-radius: 14px; } .detail-item { font-size: 8px; } .progress-item { display: none; } .sale-badge { position: absolute; top: 10px; left: 10px; background-color: red; color: white; font-size: 10px; font-weight: bold; padding: 4px 6px; border-radius: 4px; } } .mobileFooterSection { display: none; } /* FooterSection */ .footerSection { display: flex; justify-content: space-between; align-items: baseline; background-color: #223545; color: #fff; padding: 2rem; } .footerLogoSection { display: flex; flex-direction: column; column-gap: 1rem; } .footerLogoImg { width: 235px; height: 100%; } .socialSection { list-style: none; display: flex; column-gap: 1rem; padding: 0; margin: 2rem 0; } .socialSection .socialIcons { padding: 6px; display: flex; color: #FFF; } .socialSection .socialIcons:hover { background: #fff; border-radius: 50%; color: #000; } .footerLogoSection p { color: #D1D1D1; margin-top: 0; } .courseSection h3, .quickLinkSection h3 { margin-top: 0; font-size: 22px; } .courseSection ul, .quickLinkSection ul { padding: 0; list-style: none; display: flex; flex-direction: column; row-gap: 1rem; } .courseSection ul a, .quickLinkSection ul a { color: #fff; text-decoration: none; } .course-link { text-decoration: none; /* Removes the underline */ color: #333; /* Replace #333 with your desired color */ font-weight: bold; /* Optional: Make it bold */ } .course-link:hover { color: #E28527; /* Optional: Change the color on hover */ text-decoration: underline; /* Optional: Add underline on hover */ } /* Footer */ @media only screen and (min-width: 320px) and (max-width: 767px) { .mobileFooterSection { padding-inline: 2rem; } .footerSection { display: none; } .mobileFooterSection { display: block; background-color: #223545; color: #fff; padding-block: 1.5rem; } .mobileFooterSection .footerLogoSection { margin-bottom: 2rem; } .linksSection { display: flex; justify-content: space-between; align-items: flex-start; } .courseSection ul a, .quickLinkSection ul a { font-size: 14px; } .courseSection h3, .quickLinkSection h3 { font-size: 16px; } .socialSection { margin: 1rem 0; } .footerContent p { font-size: 14px; } }