html {
                scroll-behavior: smooth;
            }

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

body {
        font-family: 'Poppins', sans-serif;
        margin: 0;
        background-color: #fff;
}
img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

section {
    padding: 80px 8%;
}

h1, h2, h3, h4 {
    color: #1D0200;
}

.btn {
    background-color: #0B6EFD;
    color: #FFF;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: .3s;
    display: inline-block;
}
.btn:hover {
    background-color:#0956C7;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: white;
    color: #0B6EFD;
    padding: 14px 28px;
    border-radius: 8px;
    margin-left: 10px;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #f5f5f5;
}

header {
    position: sticky;
    width: 100%;
    top: 0px;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,.08);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8%;
}

.logo {
    height: 150px;
    width: 200px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #333;
    font-weight: 500;
}

.nav-links a:hover {
    color: #0B6EFD;
}

.hero {
    min-height: calc(100vh - 186px);
    background: url('medminority-images/medminority-hero-1.jpg') center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55)
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    color: #fff;
    padding: 20px;
}

.hero-content h1 {
    color: #fff;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/*Search Section*/
.search-section {
    background: #f8fbff;
    text-align: center;
}

.search-section h2 {
    margin-bottom: 30px;
}

.search-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: auto;
}

.search-box input, .search-box select{
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.search-box button {
    background: #0b6efd;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.search-box button:hover {
    background: #0956c7;
}

/*Featured Doctors*/
.featured-doctors {
    text-align: center;
}

.featured-doctors h2 {
    margin-bottom: 50px;
}

.doctor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.doctor-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
    transition: .3s;
}

.doctor-card:hover {
    transform: translateY(-10px);
}

.doctor-card img {
    height: 300px;
    object-fit: cover;
}

.doctor-card h3 {
    margin-top: 20px;
    color: #1F3243;
}

.doctor-specialty {
    color: #0b6efd;
    font-weight: 600;
}

.doctor-clinic {
    color: #767D82;
}

.doctor-location {
    color: #5F666B;
}


.doctor-card span {
    display: block;
    margin-bottom: 20px;
}

.doctor-card a{
    display: inline-block;
    margin-bottom: 25px;
    color: #0b6efd;
    font-weight: 600;
}

/*Representation*/
.representation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: #f8fbff;
}

.representation-image img {
    border-radius: 20px;
    box-shadow:0px 10px 30px rgba(0,0,0,0.1);
}

.representation-content h2 {
    margin-bottom: 20px;
}

.representation-content p {
    margin-bottom: 15px;
}

/*Stats*/
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    text-align: center;
}

.stat-card {
    background: #0b6efd;
    color: #fff;
    padding: 40px;
    border-radius: 15px;
}

.stats-card h2{
    color: #fff;
    font-size: 3rem;
}

/*Careers*/
.career-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.career-image img {
    border-radius: 20px;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.1)
}

.career-content h2 {
    margin-bottom: 20px;
}

.career-content p {
    margin-bottom: 20px;
}
/*Testimonials*/
.testimonials {
    background: #f8fbff;
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 40px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0px 8px 20px rgba(0,0,0,.08)
}

.testimonial-card h4 {
    margin-top: 20px;
    color: #0b6efd;
}

/*CTA*/
.cta {
    background: #0b6efd;
    color: #fff;
    text-align: center;
}

.cta h2 {
    color: #fff;
    margin-bottom: 15px;
}

.cta p {
    margin-bottom: 25px;
}

/*Footer*/
footer {
    background: #0b2d4a;
    color: #fff;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 60px 8%;
}

.footer-content h3, .footer-content h4{
    color: #fff;
    margin: 15px;
}

.footer-content ul li {
    margin-bottomm: 10px;
}

.footer-content a {
    color: #ddd;
}

.footer-content a:hover {
    color: #fff;
}


.socials i {
    font-size: 24px;
    margin-right: 15px;
    cursor: pointer;
}

.copyright {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.15)
}

/*About Page Hero*/
.page-hero {
    height: 100vh;
    background: url('medminority-images/our-story-3.jpg') top center/cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6)
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: #fff;
}

.page-hero-content h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 20px;
}

/*About Story*/
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: 20px;
}

/*Mission*/
.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
    gap: 30px;
    background: #f8fbff;
}

.mission-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0px 8px 20px rgba(0,0,0,.08)
}

.mission-card i {
    font-size: 50px;
    color: #0b6efd;
    margin-bottom: 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
}

@media(max-width:768px) {
    .about-story {
        grid-template-columns: 1fr;
    }

    .page-hero-content h1{
        font-size: 2.2rem;
    }
}

.team-section {
    text-align: center;
}

.team-section .doctor-card p {
    color: #0b6efd;
    font-weight: 600;
    margin: 8px 0 25px;
}

/*Find a Doctor*/

.active-btn {
    background-color: #0b57d0;
    box-shadow: inset 0 0 0 2px #084298;
    transform: translateY(1px);
}

.search {
    background: #f7f9fc;
    text-align: center;
    padding: 80px 8%;
}

.search h1 {
    font-size: 28px;
    font-weight: 700;
    color: #102033;
    margin-bottom: 35px;
}

.filter-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.filter-bar div {
    width: 100%;
}

.filter-bar input, .filter-bar select {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #e1e5ec;
    border-radius: 8px;
    background: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #333;
    outline: none;
}

.filter-bar button {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #e1e5ec;
    border-radius: 8px;
    background: #0B6EFD;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: white;
    outline: none;
    transition: .3s;
}

.filter-bar button:hover {
    background-color:#0956C7;
    transform: translateY(-3px);
}

.team-section .doctor-card img {
    object-position: center top;
}


/*How To Help*/

.help-hero{
    background:url("medminority-images/diversity-1.jpg") center center/cover;
}

.contact-section{
    background:#f8fbff;
}

.contact-form{
    max-width:800px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea{

    padding:16px;

    border:1px solid #ddd;

    border-radius:8px;

    font-family:"Poppins",sans-serif;

    font-size:16px;

}

.contact-form textarea{

    resize:vertical;

}

.contact-form button{

    align-self:flex-start;

    border:none;

    cursor:pointer;
}












/*Fix the text alignment in footer and logo size should match size in navbar*/

/* ==================================
   RESOURCES PAGE
================================== */

.resources-hero {
    background: url("medminority-images/team-3.jpg") center center/cover;
}

.section-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #0b6efd;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.active {
    color: #0b6efd !important;
}

/* ==================================
   CAREER PATHWAY
================================== */

.career-pathway {
    background: #f8fbff;
}

.pathway-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.pathway-card {
    position: relative;
    background: #fff;
    padding: 45px 25px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,.07);
    transition: transform .3s ease, box-shadow .3s ease;
}

.pathway-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 35px rgba(0,0,0,.12);
}

.pathway-number {
    position: absolute;
    top: -18px;
    left: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b6efd;
    color: #fff;
    border-radius: 50%;
    transform: translateX(-50%);
    font-weight: 700;
}

.pathway-card > i {
    margin-bottom: 20px;
    color: #0b6efd;
    font-size: 42px;
}

.pathway-card h3 {
    margin-bottom: 12px;
}

/* ==================================
   RESOURCE LIBRARY
================================== */

.resource-library {
    text-align: center;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 45px;
    text-align: left;
}

.resource-card {
    background: #fff;
    padding: 35px;
    border: 1px solid #e3edf7;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,.05);
    transition: transform .3s ease, border-color .3s ease;
}

.resource-card:hover {
    transform: translateY(-7px);
    border-color: #0b6efd;
}

.resource-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: #eaf4ff;
    color: #0b6efd;
    border-radius: 14px;
    font-size: 25px;
}

.resource-card h3 {
    margin-bottom: 12px;
}

.resource-card p {
    margin-bottom: 20px;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0b6efd;
    font-weight: 600;
    transition: gap .3s ease;
}

.resource-link:hover {
    gap: 13px;
}

/* ==================================
   SCHOLARSHIPS
================================== */

.scholarship-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: #f8fbff;
}

.scholarship-content > p {
    margin-bottom: 25px;
}

.scholarship-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.scholarship-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.scholarship-item > i {
    margin-top: 6px;
    color: #2e8b57;
    font-size: 20px;
}

.scholarship-item h3 {
    margin-bottom: 5px;
    font-size: 1.05rem;
}

.scholarship-image img {
    min-height: 500px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

/* ==================================
   MENTORSHIP
================================== */

.mentorship-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mentorship-image img {
    min-height: 500px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

.mentorship-content > p {
    margin-bottom: 18px;
}

.benefit-list {
    margin: 25px 0 30px;
}

.benefit-list li {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 13px;
}

.benefit-list i {
    color: #2e8b57;
}

/* ==================================
   SUCCESS STORIES
================================== */

.success-stories {
    background: #f8fbff;
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
}

.story-card {
    overflow: hidden;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    transition: transform .3s ease;
}

.story-card:hover {
    transform: translateY(-7px);
}

.story-card img {
    height: 260px;
    object-fit: cover;
}

.story-card-content {
    padding: 28px;
}

.story-card-content > span {
    color: #0b6efd;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.story-card-content h3 {
    margin: 10px 0 12px;
}

.story-card-content p {
    margin-bottom: 18px;
}

.story-card-content a {
    color: #0b6efd;
    font-weight: 600;
}

.story-card-content a i {
    margin-left: 6px;
}

/* ==================================
   DOWNLOADS
================================== */

.downloads-section {
    text-align: center;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.download-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 25px;
    background: #fff;
    border: 1px solid #e3edf7;
    border-radius: 14px;
    text-align: left;
    box-shadow: 0 6px 20px rgba(0,0,0,.05);
}

.download-card > i {
    color: #d93b3b;
    font-size: 36px;
}

.download-card h3 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.download-card p {
    font-size: .9rem;
}

.download-card > a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf4ff;
    color: #0b6efd;
    border-radius: 50%;
    transition: .3s;
}

.download-card > a:hover {
    background: #0b6efd;
    color: #fff;
}

/* ==================================
   CTA BUTTONS
================================== */

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cta .btn {
    background: #fff;
    color: #0b6efd;
}

.cta .btn:hover {
    background: #f5f5f5;
    color: #0956c7;
}

.cta .btn-secondary {
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
}

/* ==================================
   RESPONSIVE RESOURCES PAGE
================================== */

@media(max-width: 900px) {
    .scholarship-section,
    .mentorship-section {
        grid-template-columns: 1fr;
    }

    .mentorship-image {
        order: 2;
    }

    .mentorship-content {
        order: 1;
    }

    .scholarship-image img,
    .mentorship-image img {
        min-height: 380px;
    }
}

@media(max-width: 600px) {
    .pathway-grid,
    .resource-grid,
    .story-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }

    .download-card {
        grid-template-columns: auto 1fr;
    }

    .download-card > a {
        grid-column: 1 / -1;
        width: 100%;
        border-radius: 8px;
    }
}

/* ==================================
   CONTACT PAGE
================================== */

.contact-hero{
    background:
        url("images/contact-hero.jpg")
        center center/cover;
}

/* CONTACT INTRO */

.contact-intro{
    padding-bottom:20px;
}

/* MAIN CONTACT AREA */

.contact-page-section{
    display:grid;
    grid-template-columns:.8fr 1.2fr;
    gap:50px;
    align-items:stretch;
}

/* CONTACT INFORMATION */

.contact-info-panel{
    padding:45px;
    background:#0b2d4a;
    color:#fff;
    border-radius:20px;
}

.contact-info-panel h2,
.contact-info-panel h3{
    color:#fff;
}

.contact-info-panel > p{
    margin:15px 0 35px;
    color:#dbe7f2;
}

.contact-info-item{
    display:flex;
    align-items:flex-start;
    gap:18px;
    margin-bottom:28px;
}

.contact-info-icon{
    width:50px;
    height:50px;
    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.12);
    border-radius:12px;
    color:#fff;
    font-size:20px;
}

.contact-info-item h3{
    margin-bottom:3px;
    font-size:1rem;
}

.contact-info-item p{
    color:#dbe7f2;
}

/* SOCIAL MEDIA */

.contact-social-section{
    padding-top:25px;
    margin-top:25px;
    border-top:1px solid rgba(255,255,255,.15);
}

.contact-social-section h3{
    margin-bottom:15px;
}

.contact-socials{
    display:flex;
    gap:12px;
}

.contact-socials a{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.12);
    color:#fff;
    border-radius:50%;
    transition:.3s ease;
}

.contact-socials a:hover{
    background:#0b6efd;
    transform:translateY(-3px);
}

/* CONTACT FORM CONTAINER */

.contact-form-container{
    padding:45px;
    background:#fff;
    border-radius:20px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
}

.contact-form-container > p{
    margin:10px 0 30px;
    color:#666;
}

/* FORM */

.contact-form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.form-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.form-group{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.form-group label{
    color:#0b2d4a;
    font-weight:600;
    font-size:.92rem;
}

.form-group input,
.form-group select,
.form-group textarea{
    width:100%;
    padding:15px 16px;
    border:1px solid #d9e1e8;
    border-radius:9px;
    outline:none;
    background:#fff;
    font-family:"Poppins",sans-serif;
    font-size:.95rem;
    transition:.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    border-color:#0b6efd;
    box-shadow:0 0 0 3px rgba(11,110,253,.1);
}

.form-group textarea{
    resize:vertical;
}

/* CHECKBOX */

.form-checkbox{
    display:flex;
    align-items:flex-start;
    gap:10px;
}

.form-checkbox input{
    margin-top:5px;
}

.form-checkbox label{
    color:#666;
    font-size:.88rem;
}

/* SUBMIT BUTTON */

.contact-submit-btn{
    align-self:flex-start;
    display:flex;
    align-items:center;
    gap:10px;
    border:none;
    cursor:pointer;
    font-family:"Poppins",sans-serif;
}

.form-message{
    display:none;
    margin-top:5px;
    color:#2e8b57;
    font-weight:600;
}

/* ==================================
   CONTACT MAP
================================== */

.contact-map-section{
    background:#f8fbff;
}

.contact-map-section .map-container{
    max-width:1200px;
    margin:40px auto 0;
}

.contact-map-section iframe{
    width:100%;
    height:480px;
    border:0;
}

/* ==================================
   QUICK HELP
================================== */

.quick-help-section{
    background:#fff;
}

.quick-help-grid{
    display:grid;
    grid-template-columns:
        repeat(auto-fit,minmax(260px,1fr));
    gap:28px;
}

.quick-help-card{
    padding:35px;
    border:1px solid #e3edf7;
    border-radius:16px;
    text-align:center;
    transition:.3s ease;
}

.quick-help-card:hover{
    transform:translateY(-7px);
    border-color:#0b6efd;
    box-shadow:0 10px 30px rgba(0,0,0,.07);
}

.quick-help-card > i{
    width:65px;
    height:65px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 20px;
    background:#eaf4ff;
    color:#0b6efd;
    border-radius:50%;
    font-size:27px;
}

.quick-help-card h3{
    margin-bottom:10px;
}

.quick-help-card p{
    margin-bottom:18px;
}

.quick-help-card a{
    color:#0b6efd;
    font-weight:600;
}

.quick-help-card a i{
    margin-left:6px;
}

/* ==================================
   RESPONSIVE CONTACT PAGE
================================== */

@media(max-width:900px){

    .contact-page-section{
        grid-template-columns:1fr;
    }

}

@media(max-width:650px){

    .form-row{
        grid-template-columns:1fr;
    }

    .contact-info-panel,
    .contact-form-container{
        padding:30px 22px;
    }

    .contact-map-section iframe{
        height:350px;
    }

}
.contact-hero {
    background:
        url("medminority-images/black_doctor_1.jpg")
        center center / cover;
}

