diff --git a/Css-Files/news.css b/Css-Files/news.css index f8bde885..97b7452c 100644 --- a/Css-Files/news.css +++ b/Css-Files/news.css @@ -1,220 +1,298 @@ -*{ - margin: 0; - padding: 0; - box-sizing: border-box; - font-family: 'Poppins',sans-serif; +/* Global Reset */ +* { + margin: 0; + padding: 0; + box-sizing: border-box; } +/* Body Styles */ +body { + font-family: Arial, sans-serif; + line-height: 1.6; +} -body{ - /* font-family: "Open Sans", sans-serif; */ - color: #fff; - background-color: #000; - } - - a { - color: white; - text-decoration: none; - } - - a:hover { - color: #55a5ea; - text-decoration: none; - } - - .nav_link { - list-style: none; - } - - .nav_link li { - padding: 5px 20px; - display: inline-block; - color: white; - padding-top: 15px; - } - - .nav_link li a { - transition: all 0.3s ease 0s; - color: white; - text-decoration: none; - } - - .nav_link li a:hover { - color: #55a5ea; - text-decoration: underline 2.5px rgb(3, 3, 94); - } - - .header_container { - /* background-color: #d9d9d9; */ - background-color: #022a2d; - opacity: 0.9; - display: flex; - flex-direction: row; - justify-content: space-between; - align-items: center; - height: 60px; - margin: auto; - } +/* Navbar Styles */ +.nav_menu { + display: flex; + align-items: center; + justify-content: space-between; + padding: 1rem; + background-color: #022a2d; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); +} - .head { - display: flex; - justify-content: center; - align-items: center; - flex-direction: column; - padding: 12px; - margin: 12px auto; +.nav_menu img { + display: block; } -.line { - width: 30vw; - border: 1px solid black; - margin: 7px; - background-color: black; - height: 4px; - border-radius: 24px; +.nav_menu ul.nav-item.navbar { + display: flex; + list-style: none; } -#newsBox { - display: flex; - justify-content: center; -align-items: center; - gap: 2rem; - flex-wrap: wrap; +.nav_menu .nav-item.navbar li { + margin-right: 15px; +} +.nav_menu .nav-item.navbar li:last-child { + margin-right: 0; } - -footer { - width: 100%; - background: linear-gradient(to right, #0f0f0f, #00093d); - color: #ffff; - line-height: 20px; - } - - .footer-title { - font-weight: 700; - font-size: 26px; - margin-bottom: 22px; - } - - .row { - width: 90%; - margin: auto; - display: flex; - flex-wrap: wrap; - align-items: flex-start; - } - - .col { - padding: 20px 0; - } - - .col h3 { - font-size: 25px; - } - - #col1 { - flex-basis: 40%; - margin-right: 40px; - } - - #col2 { - flex-basis: 20%; - margin-right: 10px; - font-size: 15px; - } - - #col3 { - flex-basis: 15%; - } - - #col4 { - flex-basis: 15%; - } - - .logo { - margin-bottom: 30px; - } - - .col h3 { - width: fit-content; - margin-bottom: 40px; - position: relative; - } - - #col2 p { - margin-bottom: 18px; - } - - #col2 p a { - font-size: 15px; - padding-top: 10px; - color: #fff; - } - - .email-id { - width: fit-content; - margin: 20px 0; - border-bottom: 1px solid #ccc; - } - - .quick-links-info div { - margin-bottom: 20px; - } - - .quick-links-info div a { - color: #fff; - font-size: 15px; +.nav_menu .nav-item.navbar li a { + text-decoration: none; + color: white; + padding: 8px 5px; + transition: background-color 0.3s ease; + border-radius: 5px; +} + +.nav_menu .nav-item.navbar li a:hover { + color: #55a5ea; +} + +/* Mobile Menu Styles */ +.menu-toggle { + display: none; +} + +/* Media Query for Responsive Design */ +@media (max-width: 1024px) { + .menu-toggle { + display: block; + cursor: pointer; + margin-right: 15px; } - - .underline { - width: 100%; - height: 5px; - background: #767676; - border-radius: 3px; + + .nav_menu ul.nav-item.navbar { + display: none; position: absolute; - top: 25px; + top: 100%; left: 0; - overflow: hidden; - } - - .underline span { - width: 15px; - height: 100%; - background: #fff; - border-radius: 3px; - position: absolute; - top: 0; - left: 10px; - /* animation: moving 1s linear infinite; */ + width: 100%; + background-color: #ffffff; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + border-radius: 0 0 10px 10px; + z-index: 1000; + padding: 1rem; } - .news{ - border-radius: 1rem; - background-color: #fff; - padding: 2rem 4rem; - box-shadow: rgba(50,50,93,0.25) 0px 2px 5px -1px,rgba(0, 0,0,0.3) 0px 1px 3px -1px; - margin: 50px; - width: 60%; - margin-left: 250px; - padding: 20px; - } - .news h1{ - color: black; - font-size: 2.0rem; - margin-bottom: 0.3rem; - font-family: "Poppins", sans-serif; - } - .news p{ - color: black; - font-size: 1.1rem; - font-family: "Poppins", sans-serif; + .nav_menu ul.nav-item.navbar.show { + display: flex; + flex-direction: column; + background-color:#022a2d ; } - .emoji{ - padding: 1rem 0; - width: 20%; - display: flex; - justify-content: space-between; + + .nav_menu .nav-item.navbar li { + width: 100%; } - - \ No newline at end of file +} + + +/* */ +button { + position: relative; + border-radius: 10px; + border: 1px solid #4bb6b7; + background-color: #4bb6b7; + color: #fff; + font-size: 15px; + font-weight: 700; + margin: 8px; + padding: 8px 50px; + letter-spacing: 1px; + text-transform: capitalize; + transition: 0.3s ease-in-out; +} + +a { + color: white; + text-decoration: none; +} + +a:hover { + color: #55a5ea; + text-decoration: none; +} + +.header_container { + background-color: #022a2d; + opacity: 0.9; + display: flex; + flex-direction: row; + justify-content: space-between; + align-items: center; + height: 60px; + /* padding: 0 20px; */ + margin: auto; +} +.text { + padding-top: 28px; +} + +.logo a { + text-decoration: none; + color: #55a5ea; + font-size: 1.5rem; +} + +.head { + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + padding: 12px; + margin: 12px auto; +} + +.line { + width: 30vw; + border: 1px solid black; + margin: 7px; + background-color: black; + height: 4px; + border-radius: 24px; +} + +#newsBox { + display: flex; + justify-content: center; + align-items: center; + gap: 2rem; + flex-wrap: wrap; +} + +footer { + width: 100%; + background: linear-gradient(to right, #0f0f0f, #00093d); + color: #fff; + line-height: 20px; +} + +.footer-title { + font-weight: 700; + font-size: 26px; + margin-bottom: 22px; +} + +.row { + width: 90%; + margin: auto; + display: flex; + flex-wrap: wrap; + align-items: flex-start; +} + +.col { + padding: 20px 0; +} + +.col h3 { + font-size: 25px; +} + +#col1 { + flex-basis: 40%; + margin-right: 40px; +} + +#col2 { + flex-basis: 20%; + margin-right: 10px; + font-size: 15px; +} + +#col3 { + flex-basis: 15%; +} + +#col4 { + flex-basis: 15%; +} + +.logo { + margin-bottom: 30px; +} + +.col h3 { + width: fit-content; + margin-bottom: 40px; + position: relative; +} + +#col2 p { + margin-bottom: 18px; +} + +#col2 p a { + font-size: 15px; + padding-top: 10px; + color: #fff; +} + +.email-id { + width: fit-content; + margin: 20px 0; + border-bottom: 1px solid #ccc; +} + +.quick-links-info div { + margin-bottom: 20px; +} + +.quick-links-info div a { + color: #fff; + font-size: 15px; +} + +.underline { + width: 100%; + height: 5px; + background: #767676; + border-radius: 3px; + position: absolute; + top: 25px; + left: 0; + overflow: hidden; +} + +.underline span { + width: 15px; + height: 100%; + background: #fff; + border-radius: 3px; + position: absolute; + top: 0; + left: 10px; +} + +.news { + border-radius: 1rem; + background-color: #fff; + padding: 2rem 4rem; + box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px; + margin: 50px; + width: 60%; + margin-left: 250px; + padding: 20px; +} + +.news h1 { + color: black; + font-size: 2rem; + margin-bottom: 0.3rem; + font-family: "Poppins", sans-serif; +} + +.news p { + color: black; + font-size: 1.1rem; + font-family: "Poppins", sans-serif; +} + +.emoji { + padding: 1rem 0; + width: 20%; + display: flex; + justify-content: space-between; +} + diff --git a/Html-Files/Css-Files/Experiencestyle.css b/Html-Files/Css-Files/Experiencestyle.css index 799b31ab..a141489d 100644 --- a/Html-Files/Css-Files/Experiencestyle.css +++ b/Html-Files/Css-Files/Experiencestyle.css @@ -1,9 +1,19 @@ +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + body { font-family: "Open Sans", sans-serif; color: #fff; background-color: #000; margin: 0; padding-top: 10px; + + /* added */ + font-size: 16px; + line-height: 1.5; } a { color: #55a5ea; @@ -17,7 +27,7 @@ body { color: #55a5ea; text-decoration: none; } - .nav_link li { + /* .nav_link li { padding: 5px 20px; display: inline-block; color: white; @@ -44,7 +54,7 @@ body { .nav_link li a:hover { color: #55a5ea; - } + } */ /*Preloader CSS*/ .pre{ position: fixed; @@ -118,7 +128,7 @@ body { visibility: hidden; } .h{ - margin-top: 20px; + margin-top: 120px; margin-bottom: 20px; } .header_container { @@ -142,11 +152,20 @@ display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; + +/* added */ +flex-wrap: wrap; +padding: 10px; +background-color: #9cd7da; /* Example background color */ +box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .filter-sort { display: flex; align-items: center; + +/* added */ +flex-wrap: wrap; } .filter-sort label { @@ -156,8 +175,38 @@ margin-right: 10px; .filter-sort select, .filter-sort input[type="range"] { margin-right: 20px; +/* added */ +margin-bottom: 10px; +} + +/* added */ +#sort-btn { + margin-bottom: 10px; /* Add some bottom margin for spacing */ +} +/* Responsive adjustments */ +@media (max-width: 768px) { + .filter-sort label, + .filter-sort select, + .filter-sort input[type="range"], + #sort-btn { + margin-right: 0; + margin-bottom: 10px; /* Adjust spacing for smaller screens */ + width: 100%; /* Make elements full width */ + } + + .filter-sort { + flex-direction: column; /* Stack items vertically */ + align-items: flex-start; /* Align items to the start */ + } } +@media (max-width: 480px) { + header { + padding: 5px; /* Reduce padding for smaller screens */ + } +} + + #doctor-list { list-style-type: none; padding: 0; @@ -203,7 +252,8 @@ align-items: center; border: 3px solid var(--white); } - /*? footer containers */ + /* + footer { bottom: 0; background-color: var(--footer-bg); @@ -260,7 +310,7 @@ align-items: center; margin-bottom: 0.25rem; } - /* other columns */ + .other-columns { display: inline-grid; @@ -300,8 +350,7 @@ align-items: center; .footer-logo svg { fill: var(--white); } - - /*? Footer bottom */ + .footer-bottom { width: 100%; color: var(--text-color); @@ -352,7 +401,7 @@ align-items: center; width: 100% } - /*? socials */ + .social-wrapper { display: flex; gap: 0.5rem; @@ -415,4 +464,407 @@ align-items: center; text-align: center; padding: 1rem 0.5rem 2rem 0.5rem; } - } \ No newline at end of file + } +*/ + + /* added */ + footer { + bottom: 0; + background-color: var(--footer-bg); + width: 100%; + display: flex; + align-items: center; + flex-direction: column; + } + + .footer-wrapper { + display: flex; + flex-direction: column; + max-width: 80rem; + width: 100%; + margin: 0 auto; + padding: 1rem; + } + + .footer-columns { + display: flex; + flex-direction: column; + width: 100%; + } + + .other-columns { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 2rem 1rem; + width: 100%; + padding-top: 2rem; + } + + .other-columns ul { + display: flex; + flex-direction: column; + gap: 0.75rem; + list-style-type: none; + padding: 0; + margin: 0; + font-weight: 600; + } + + .other-columns ul a { + color: var(--text-color); + text-decoration: none; + font-size: 0.85rem; + } + + .other-columns ul a:hover { + text-decoration: underline; + } + + .footer-bottom { + width: 100%; + color: var(--text-color); + background-color: var(--footer-bottom-bg); + } + + .footer-bottom-wrapper { + display: flex; + flex-direction: column; + max-width: 80rem; + margin: 0 auto; + width: 100%; + gap: 1rem; + justify-content: center; + align-items: center; + padding: 1rem; + text-align: center; + } + + .footer-bottom small { + font-size: 1rem; + white-space: wrap; + } + + .social-wrapper { + display: flex; + justify-content: center; + gap: 0.5rem; + } + + .social-links { + display: flex; + gap: 0.5rem; + align-items: center; + + } + + .social-links a div i { + color: #afb6c7; + } + + .social-links a div i:hover { + color: #fff; + } + + .follow-us { + font-family: sans-serif; + } + + @media (min-width: 600px) { + .footer-bottom-wrapper { + flex-direction: row; + justify-content: space-between; + } + .footer-bottom small { + font-size: smaller; + } + } + + @media (max-width: 600px) { + .footer-bottom-wrapper { + text-align: center; + } + } + + + + + + .nav_menu { + background-color: #022a2d; +} +nav { + display: flex; + /* justify-content: space-between; */ + align-items: center; + color: #000000; + padding: 5px 2px 2px 2px; + background-color: #ffffff; + position: fixed; + width: 100%; + z-index: 1; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); + user-select: none; +} +nav ul { + display: flex; + align-items: center; +} + +nav ul { + display: flex; + align-items: center; + justify-content: space-between; +} + +nav ul li { + margin-right: 20px; /* Adjust spacing between navbar items */ + color: white; +} + + + + + +nav ul li a { + text-decoration: none; + transition: all 0.3s ease 0s; + color: white; +} + +nav ul li a:hover { + color: #55a5ea; + + /* text-decoration: underline 2.5px rgb(3, 3, 94); */ + } +button { + position: relative; + border-radius: 10px; + border: 1px solid #4bb6b7; + background-color: #4bb6b7; + color: #fff; + font-size: 15px; + font-weight: 700; + margin: 8px; + padding: 8px 50px; + letter-spacing: 1px; + text-transform: capitalize; + transition: 0.3s ease-in-out; + } + +nav { + display: flex; + justify-content: space-between; + align-items: center; + color: #000000; + padding: 5px 2px 2px 2px; + background-color: #ffffff; +} + +nav ul { + display: flex; + align-items: center; + list-style: none; + margin: 0; + padding: 0; +} + +nav ul li { + margin-right: 20px; /* Adjust spacing between navbar items */ + color: white; +} + + + + + +.navbar-contact { + display: flex; + align-items: center; +} + +.navbar-contact a { + text-decoration: none; + color: #000000; + padding: 5px 20px; +} + +.navbar-contact a:hover { + color: #222; + transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out; +} +nav ul li.contact { + margin-top: 2px; /* Adjust this value as needed */ +} +nav ul li.contact a i { + vertical-align: middle; +} +.navbar-icons { + color: #000000; /* or #333333 */ +} + +nav img { + display: none; + cursor: pointer; +} + +nav h1 { + font-size: 2rem; + padding-left: 5px; + margin: 0px; + color: white; + margin-bottom: 25px; +} +nav h1 :hover{ + color: #55a5ea; +} + +nav a { + color: #000000; + text-decoration: none; + padding: 5px 20px; + position: relative; + font-size: 16.5px; + letter-spacing: 0.3px; +} + +nav a::after { + content: ""; + position: absolute; + background-color: #435365; + /* background-color: #007bff; */ + height: 3px; + width: 0; + left: 0; + bottom: -7px; + transition: 0.3s ease; + border-radius: 5px; +} + +nav ul { + list-style: none; + display: flex; + margin: 0; + padding: 0; +} + +nav ul li a:hover { + color: #007bff; + transition: all 0.5s ease; +} + +nav ul li a:hover::after { + width: 100%; +} + +@media screen and (max-width: 885px) { + nav a { + font-size: 16px; + letter-spacing: 0; + } + +} + +@media screen and (max-width: 1024px) { + nav img { + display: inline-block; + padding-right: 15px; + } + + nav { + padding: 15px; + /* position: relative; */ + } + + nav ul { + position: fixed; + top: 70px; + left: -100%; + width: 100%; + height: 100%; + background: #022a2d; + flex-direction: column; + text-align: center; + transition: left 0.3s ease; + } + + nav ul.show { + left: 0; + } + + nav ul li { + margin: 30px 0; + } + + nav img { + display: block; + } + + nav ul a { + color: #000000; + font-size: 20px; + } + nav ul li a:hover { + color: #55a5ea; + + /* text-decoration: underline 2.5px rgb(3, 3, 94); */ + } + +} + + + + +/* added */ +@media screen and (max-width: 860px) { + nav img { + display: inline-block; + padding-right: 15px; + } +} +@media screen and (max-width: 860px) { + nav ul { + position: fixed; + top: 70px; /* Adjust top positioning based on your header height */ + left: -100%; + width: 100%; + height: 100%; + background: #022a2d; + flex-direction: column; + text-align: center; + transition: left 0.3s ease; + } + + nav ul.show { + left: 0; + } + + nav ul li { + margin: 30px 0; + } + + nav ul a { + color: #000000; + font-size: 20px; + } +} + + +nav ul li a { + text-decoration: none; + color: white; + padding: 5px 20px; + position: relative; + font-size: 13.5px; /* Adjust font size as needed */ + letter-spacing: 0.3px; +} + + + + + +/* Example CSS for larger screens (greater than 1024px) */ +@media screen and (min-width: 1025px) { + #rd-logo { + display: inline-block; /* Ensure the logo is displayed */ + } +} diff --git a/Html-Files/Css-Files/styles.css b/Html-Files/Css-Files/styles.css index 284a682a..de4dda83 100644 --- a/Html-Files/Css-Files/styles.css +++ b/Html-Files/Css-Files/styles.css @@ -7,6 +7,11 @@ font-family: 'Poppins', sans-serif; } +body { + font-size: 16px; + line-height: 1.5; +} + section { display: flex; justify-content: center; @@ -61,27 +66,24 @@ section::before { .container { position: relative; - min-width: 1100px; - min-height: 550px; + max-width: 1200px; + width: 100%; + margin: 20px; display: flex; - z-index: 1000; - /* border-radius: 22px; */ - /* background-color: #fff; */ + flex-direction: column-reverse; + box-shadow: 0 20px 50px rgba(0,0,0,0.2); + border-radius: 22px; } .container .contactInfo { - position: absolute; - top: 40px; - width: 350px; - height: calc(100% - 80px); + width: 100%; background: #095a55; - z-index: 1; padding: 40px; + box-shadow: none; + border-radius: 0; display: flex; flex-direction: column; - justify-content: space-between; - box-shadow: 0 20px 25px rgba(0,0,0,0.15); - border-radius: 22px; + align-items: center; } .container .contactInfo h2 { @@ -91,19 +93,19 @@ section::before { } .container .contactInfo ul.info { - margin: 20px 0; + margin: 20px 0; } .container .contactInfo ul.info li { - list-style: none; - display: flex; - margin: 20px 0; - cursor: pointer; - align-items: flex-start; + list-style: none; + display: flex; + margin: 20px 0; + cursor: pointer; + align-items: flex-start; } .container .contactInfo ul.info li span:nth-child(1) { - width: 30px; + width: 30px; min-width: 30px; } @@ -125,6 +127,8 @@ section::before { .container .contactInfo ul.sci { display: flex; + justify-content: center; + align-items: center; } .container .contactInfo ul.sci li { @@ -143,28 +147,32 @@ section::before { } .container .contactForm { - position: absolute; - padding: 70px 50px; - padding-left: 250px; - margin-left: 150px; - width: calc(100% - 150px); - height: 100%; + width: 100%; + padding: 40px; background: #fff; - box-shadow: 0 50px 50px rgba(0,0,0,0.25); - border-radius: 22px; + box-shadow: none; + border-radius: 0; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; } .container .contactForm h2 { color: #0f3959; font-size: 24px; font-weight: 500; + margin-top: 95px; } +.container .contactInfo { + margin-top: 95px; +} .container .contactForm .formBox { display: flex; - justify-content: space-between; - flex-wrap: wrap; - padding-top: 30px; + flex-direction: column; + width: 100%; + margin-top: 15px; } .container .contactForm .formBox .inputBox { @@ -172,14 +180,6 @@ section::before { width: 100%; } -.container .contactForm .formBox .inputBox.w50 { - width: 47%; -} - -.container .contactForm .formBox .inputBox.w100 { - width: 100%; -} - .container .contactForm .formBox .inputBox input, .container .contactForm .formBox .inputBox textarea { width: 100%; @@ -233,86 +233,46 @@ section::before { background: #0d9480; } -/* Responsive adjustments */ -@media (max-width: 1200px) { +@media (min-width: 992px) { .container { - width: 90%; - margin: 20px; - box-shadow: 0 20px 50px rgba(0,0,0,0.2); - } - - .container .contactInfo { - top: 0; - height: 550px; - position: relative; - box-shadow: none; - border-radius: 0; + flex-direction: row; } + .container .contactInfo, .container .contactForm { - position: relative; - width: calc(100% - 350px); - padding-left: 0; - margin-left: 0; - padding: 40px; - height: 550px; - box-shadow: none; - border-radius: 0; + width: 50%; + height: 100%; } -} -@media (max-width: 991px) { - section { - display: flex; - justify-content: center; - align-items: center; - min-height: 100vh; - background: #fff38e; - } - - section::before { - display: none; + .container .contactInfo { + border-radius: 22px 0 0 22px; } - .container { - flex-direction: column-reverse; + .container .contactForm { + border-radius: 0 22px 22px 0; } .container .contactForm { - width: 100%; - height: auto; - border-radius: 0; + padding-left: 250px; } +} - .container .contactInfo { - width: 100%; - height: auto; - flex-direction: row; - border-radius: 0; +@media (min-width: 600px) and (max-width: 991px) { + .container .contactForm .formBox .inputBox.w50 { + width: 48%; } - .container .contactInfo ul.sci { - justify-content: center; - align-items: center; + .container .contactForm .formBox .inputBox.w100 { + width: 100%; } } @media (max-width: 600px) { - .container .contactForm { - padding: 25px; - } - - .container .contactInfo { - padding: 25px; - flex-direction: column; - align-items: flex-start; - } - - .container .contactInfo ul.sci { - margin-top: 40px; + .container .contactForm .formBox .inputBox.w50 { + width: 100%; } - .container .contactForm .formBox .inputBox.w50 { + .container .contactForm .formBox .inputBox.w100 { width: 100%; } -} +} \ No newline at end of file diff --git a/Html-Files/Doctor Experience.html b/Html-Files/Doctor Experience.html index a3a7ed1c..970d4fa0 100644 --- a/Html-Files/Doctor Experience.html +++ b/Html-Files/Doctor Experience.html @@ -15,28 +15,30 @@