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; } } .mentor-detail-container { display: flex; flex-wrap: wrap; } /* Left Section */ .mentor-left { width: 40%; background-color: #ffcc99; padding: 20px; display: flex; justify-content: center; } .mentor-info-box { width: 100%; } .mentor-image { width: 100%; height: auto; max-height: 300px; object-fit: cover; margin-bottom: 15px; border-radius: 8px; } .mentor-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .mentor-name { font-size: 28px; margin-top: 22px; } .mentor-actions { display: flex; gap: 10px; } .icon-circle { background-color: #ff8000; color: #fff; width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; } .mentor-description { text-align: left; margin-bottom: 10px; margin-top: 34px; } .mentor-stats-box { background-color: #fff; padding: 15px; border: 1px solid #ddd; border-radius: 5px; margin-top: 34px; } .mentor-stat-row { display: flex; justify-content: space-between; margin-bottom: 10px; } .stat-title { font-weight: bold; color: #333; } .stat-value { color: #666; } /* Right Section */ .mentor-right { width: 60%; padding: 30px; } .section-heading { font-size: 30px; color: black; margin-bottom: 10px; margin-top: 20px; } .section-description, .specialist-buttons { margin-bottom: 20px; } .section-description { font-size: 16px; color: #555; margin-bottom: 40px; } .experience-list { margin-left: 20px; } .experience-list li { list-style-type: disc; margin-bottom: 5px; } .specialist-buttons { display: flex; flex-wrap: wrap; gap: 10px; } .specialist-button { border: 2px solid #ff8000; border-radius: 8px; background-color: transparent; color: #ff8000; padding: 8px 15px; font-size: 0.9rem; text-align: center; flex: 1 1 auto; max-width: 200px; } .specialist-button:hover { background-color: #ff8000; color: #fff; } @media (max-width: 768px) { .mentor-detail-container { flex-direction: column; } .mentor-left { width: 100%; padding: 10px; } .mentor-image { height: 40vh; border-radius: 8px; } .mentor-right { width: 100%; padding: 15px; } .mentor-stats-box { width: 100%; } .mentor-stat-row { flex-direction: row; justify-content: space-between; } .specialist-buttons { justify-content: space-between; } .specialist-button { flex: 0 0 calc(50% - 10px); max-width: none; } .section-heading { font-size: 20px; } } .courses-section { margin: 50px auto; text-align: left; } .section-heading1 { font-size: 28px; font-weight: bold; margin-bottom: 20px; padding-left: 20px; } .courses-container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; } .course-box { flex: 1; max-width: 30%; padding: 20px; text-align: left; } .course-img { width: 100%; height: auto; margin-bottom: 15px; border-radius: 8px; } .course-title { font-size: 20px; font-weight: bold; margin: 10px 0; } .course-author { font-size: 14px; color: #666; margin-bottom: 10px; } .course-description { font-size: 16px; color: #333; margin-bottom: 20px; } .enroll-btn { display: inline-block; padding: 10px 20px; background-color: orange; color: white; border: none; border-radius: 5px; font-size: 16px; cursor: pointer; } .enroll-btn:hover { background-color: darkorange; } @media (max-width: 768px) { .courses-container { flex-direction: column; align-items: center; } .courses-section { margin: 20px auto; } .course-box { max-width: 100%; margin-top: -22px; } .section-heading1 { font-size: 22px; padding-left: 20px; } }