body, html
{
    background-color: white;
    height: 100%;
    margin: 0;
    padding: 0; /* Added to remove any default padding */
    overflow-x: hidden; /* This will prevent horizontal scrolling if content goes beyond the width */
}

/*******************************/
/*********Google Fonts**********/
/*******************************/
.roboto-condensed-regular {
    font-family: "Roboto Condensed", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
.abril-fatface-regular {
    font-family: "Abril Fatface", serif;
    font-weight: 400;
    font-style: normal;
}
.ibm-plex-sans-jp-regular {
    font-family: "IBM Plex Sans JP", serif;
    font-weight: 400;
    font-style: normal;
}
.galada-regular {
    font-family: "Galada", serif;
    font-weight: 400;
    font-style: normal;
}

/****************************************/
/**Font sizes in em for responsiveness**/
/****************************************/
html {
    font-size: 100%; /* Default: 16px */
}
button {
    font-size: 1.125em; /* 18px */
}
nav {
    font-size: 1em; /* 16px */
}
h1 {
    color: white;
    font-size: 4em; /* 66px */
}
h3 {
    font-size: 3.5em; /* 56px */
}
h4 {
    font-size: 2.25em; /* 36px */
}
h5 {
    font-size: 1.25em; /* 20px */
}
p {
    font-size: 1.375em; /* 22px */
}

/* For mobile and tablet view */
@media (max-width: 1000px) {
    html {
        font-size: 14pt; /* 87.5% 14px */
    }

    h1 {
        font-size: 3em; /* 48px */
    }

    h3 {
        font-size: 2em; /* 32px */
    }

    p {
        font-size: 1.5em; /* 24px */
    }

    button {
        font-size: 1.125em; /* 18px */
    }
}

/****************************************/
/***********Nav Global Styles************/
/****************************************/
.navbar {
    height: 150px; /* Height for desktop view */
    display: flex;
    align-items: center; /* Centers items vertically */
    background-color: transparent !important; /* Default background color */
    padding-right: 20px;
    transition: height 0.3s ease, background-color 0.3s ease; /* Smooth transition for height and background */
}
.navbar-brand img {
    height: 90px; /* Logo height */
    width: auto; /* Maintain aspect ratio */
}
.navbar-nav {
    gap: 20px; /* Space between nav items */
    justify-content: center; /* Center items */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
}
.nav-link {
    color: white;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3); /* Drop shadow */
}
.nav-link:hover {
    color: #A3BEC4; /* Hover color for links */
}
.disabled {
    color: #A6ADB4 !important;
}
/* For mobile and tablet view */
@media (max-width: 1000px) {
    .navbar {
        position: absolute;
        width: 100%;
        z-index: 1000; /* Ensures it stays on top of all content */
    }
    .navbar {
        background-color: white !important; /* Change navbar background to white */
        height: auto; /* Allow height to adjust based on content */
    }
    .navbar-collapse {
        flex-direction: column; /* Stack items vertically */
        align-items: flex-start; /* Align items to the left */
        padding: 10px; /* Add padding inside the collapsed menu */
    }
    .navbar-toggler {
        box-shadow: none;
        border: none;
        font-size: 1.5em;
    }
    .nav-item {
        margin-bottom: 10px; /* Add spacing between items in vertical layout */
    }
    .nav-link {
        color: #497285; /* Ensure link text is visible on white background */
    }
    .nav-link:hover {
        color: #829CA8;
    }
}

/****************************************/
/****************Buttons*****************/
/****************************************/
.contactButton {
    background-color: #F78536;
    color: white !important;
    border: none;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4); /* Drop shadow */
}
.contactButton:hover {
    background-color: white;
    color: #F78536 !important;
}
.btn.contactButton:active {
    background-color: white !important; /* When you use Bootstrap, some styles can override
    your custom styles unless you make them more specific or use !important */
    color: #F78536 !important;
}
.scheduleButton {
    background-color: #A3BEC4;
    color: white;
    border: solid 1px #A3BEC4;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4); /* Drop shadow */
    padding: 15px 20px;
    margin: 5px;
}
.scheduleButton:hover {
    background-color: white;
    color: #A3BEC4;
    border: solid 1px white !important;
}
.btn.scheduleButton:active {
    background-color: white !important;
    color: #A3BEC4 !important;
}
#locateClinicButton {
    background-color: transparent;
    color: #A3BEC4;
    border: solid 1px #A3BEC4;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4); /* Drop shadow */
    padding: 15px 47px;
    margin: 5px;
}
#locateClinicButton:hover {
    background-color: white;
    color: #A3BEC4;
    border-color: white;
}
#locateClinicButton:active {
    background-color: white !important;
    color: #A3BEC4 !important;
    border-color: white !important;
}
.learnMore-button {
    background-color: transparent;
    color: #497285;
    border: solid 1px #497285;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4); /* Drop shadow */
    padding: 15px 47px;
    margin: 5px;
}
.learnMore-button:hover {
    background-color: #497285;
    color: white;
    border-color: #497285;
}
.learnMore-button:active {
    background-color: #497285 !important;
    color: white !important;
    border-color: #497285 !important;
}
#servicesWeOffer-button {
    background-color: white;
    color: #112C39;
    border: solid 1px white;
    box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4); /* Drop shadow */
    padding: 15px 47px;
    margin: 5px;
}
#servicesWeOffer-button:hover {
    background-color: transparent;
    color: white;
    border-color: white;
}
#servicesWeOffer-button:active {
    background-color: #A3BEC4;
    color: #112C39;
    border-color: #A3BEC4;
}


/*******************************/
/***********HomePage************/
/*******************************/
/*Navbar Section*/
.mainPageNavLink {
    color: #2D637F;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3); /* Drop shadow */
}
.mainPageNavLink:hover {
    color: white;
}
#homePageBgImg {
    position: relative;
}
#homePageBgImg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            linear-gradient(rgba(255, 255, 255, 0.80),
            rgba(17, 44, 57, 0.95)), /* Gradient */
            url('images/homeImg.jpg'); /* Image URL */
    background-size: cover; /* Cover the entire area */
    background-position: center; /* Center the image */
    z-index: 1; /* Ensure the image is behind any content */
}
.mainPage-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh; /* Full height of the viewport */
    margin: 0;
    padding: 0;
    position: relative; /* Required to layer content above the image */
    z-index: 2; /* Place content above the background */
}
.mainPage-top p {
    color: white;
}
.header
{
    display: flex;
    flex-direction: column;
    justify-content: center; /* centers the content vertically */
    align-items: flex-start; /* aligns the content to the left */
    flex: 1; /* take remaining space between navbar and icon */
    padding: 40px; /* optional padding */
}
.scroll-icon {
    align-self: center;
    margin-bottom: 15px;
    animation: bounce 3s infinite; /* applies the bounce animation */
    font-size: 3em; /* adjust size of the icon*/
    color: white;
}
/* Keyframes for bounce animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px); /* move up */
    }
    60% {
        transform: translateY(-5px); /* bounce back */
    }
}

/*Meet Dr.Ogle Section*/
.meet-Ogle {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: 100vh;
    width: auto;
}
.drOgle {
    display: flex;          /* Added display property to make it a flex container */
    justify-content: center; /* Centers horizontally */
    align-items: center;    /* Centers vertically */
}
.drOgle img {
    width: 60%;
    height: auto;
    border-radius: 200px;
}
.about-drOgle {
    padding: 10% 5%;
    justify-content: center; /* Centers horizontally */
    align-items: flex-start; /* aligns the content to the left */
}
.about-drOgle h3 {
    color: #2B4450;
}
.about-drOgle p {
    color: #497285;
}

/*Services Section*/
#servicesSectionBgContainer {
    position: relative;
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: flex-start; /* Aligns to right horizontally */
    height: 100vh; /* Full viewport height */
}

#servicesInfo {
    display: flex;
    flex-direction: column; /* Stacks elements vertically */
    align-items: flex-start; /* Aligns content to the left */
    z-index: 2; /* Ensure it’s above the background image */
    margin: 0 8em;
}
#servicesInfo h3 {
    color: white;
    text-align: left;
}
#servicesInfo p {
    color: white;
    font-size: 1.5em;
}
#servicesSectionBgContainer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/servicesSectionBgImg.jpg'); /* Image URL */
    background-size: cover; /* Cover the entire area */
    background-position: top; /* Center the image */
    background-repeat: no-repeat; /* Prevent background image from repeating */
    z-index: 0; /* Ensure the image is behind any content */
}
#servicesSectionBgContainer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(17, 44, 57, 0.70); /* Solid color with low opacity */
    z-index: 1; /* Ensures the solid color with the low opacity is over the image */
}

/*Schedule Section*/
#scheduleSectionBgContainer {
    position: relative;
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: flex-end; /* Aligns to right horizontally */
    height: 100vh; /* Full viewport height */
}

#scheduleInfo {
    display: flex;
    flex-direction: column; /* Stacks elements vertically */
    align-items: flex-end; /* Aligns content to the right */
    z-index: 2; /* Ensure it’s above the background image */
    margin: 0 8em;
}
#scheduleInfo h3 {
    color: white;
    text-align: right;
}
#scheduleInfo p {
    color: white;
    font-size: 2em;
}
#scheduleSectionBgContainer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
            linear-gradient(to right, rgba(255, 255, 255, 0.50),
            rgba(17, 44, 57)), /* Gradient */
            url('images/scheduleSectionBgImg.jpg'); /* Image URL */
    background-size: cover; /* Cover the entire area */
    background-position: center; /* Center the image */
    z-index: 1; /* Ensure the image is behind any content */
}

/*Location Section*/
#locationSection {
    display: flex;
    flex-direction: row; /* Side-by-side layout */
    align-items: center; /* Centers the inner divs vertically */
    justify-content: center; /* Centers the inner divs horizontally */
    height: 100vh; /* Full viewport height */
    background-color: #112C39;
    width: 100%; /* Ensure full width */
    color: white;
    padding: 0;
    margin: 0;
}
#locateInfo {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align content (text) to the left */
    justify-content: center; /* Center within its container */
    text-align: left;
    margin: 2%;
}
#locateInfo p {
    margin: 0;
}
/* Image container */
#locationImgContainer {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%; /* Ensure it takes full width of the container */
}
#locationImgContainer img {
    border-radius: 10px;
    width: 95%;
    height: 80%;
    object-fit: cover; /* Ensures the image fills the space without distortion */
    margin-right: 10px;
}

@media (max-width: 1000px) {
    #locationSection {
        flex-direction: column; /* Stack elements */
        justify-content: center;
        height: 100vh; /* Adjust height dynamically */
        padding: 5px;
    }
    #locateInfo {
        text-align: left; /* Keep text aligned to the left */
        align-items: flex-start; /* Ensure all child elements align left */
        margin: 0; /* Remove all margins */
        padding: 0 0 0 2%;
        width: 100%; /* Ensure it takes full width */
        display: flex;
        flex-direction: column;
        justify-content: center; /* Keep content centered within the section */
    }
    #locationImgContainer {
        margin: 2%; /* Add space between text and image */
        height: 50vh !important; /* Half the viewport height */
        width: 100% !important; /* Full width */
        padding: 3%; /* Padding around the container */
        box-sizing: border-box; /* Ensures padding doesn’t increase width */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #locationImgContainer img {
        width: 100%; /* Ensure it fills the width of the container */
        height: 100%; /* Ensure it fills the height */
        object-fit: cover; /* Maintain aspect ratio while covering the container */
        border-radius: 10px; /* Keep rounded corners */
        margin: 0 !important;
    }
}


/* For mobile and tablet view */
@media (max-width: 1000px) {
    /* top of page */
    .mainPage-top {
        min-height: 100vh;
    }
    .header {
        margin-top: 100px;
    }
    /* Meet Ogle Section */
    .meet-Ogle {
        margin: 10% 5%;
        height: auto;
    }
    /* Services Section */
    #servicesSectionBgContainer {
        height: 100vh;
    }
    #servicesSectionBgContainer::after {
        background-color: rgba(17, 44, 57, 1); /* Solid bg color*/

    }
    #servicesInfo {
        margin: 0 3em 0 2em;
    }
    /* Schedule Section */
    #scheduleInfo {
        align-items: flex-start;
        margin: 0 15%;
    }
    #scheduleInfo h3 {
        text-align: left;
    }
    /* Locate Section */
    #locateInfo {
        margin: 0 1em 0 3em;
    }
}

/*******************************/
/********The Team Page**********/
/*******************************/
#teamPageBackgroundImg {
    position: relative;
}
#teamPageBackgroundImg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/aboutPageBg.jpg'); /* Image URL */
    background-size: cover; /* Cover the entire area */
    background-position: top; /* Center the image */
    background-repeat: no-repeat; /* Prevent background image from repeating */
    z-index: 1; /* Ensure the image is behind any content */
}
#teamPageBackgroundImg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(17, 44, 57, 0.70); /* Solid color with low opacity */
    z-index: 2; /* Ensures the solid color with the low opacity is over the image */
}
.teamPage-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh; /* Full height of the viewport */
    margin: 0;
    padding: 0;
    position: relative; /* Required to layer content above the image */
    z-index: 3; /* Place content above the background */
}
.teamPage-top p {
    color: white;
}
.teamHeader
{
    display: flex;
    flex-direction: column;
    justify-content: center; /* centers the content vertically */
    flex: 1; /* take remaining space between navbar and icon */
    padding: 40px; /* optional padding */
}

/* Meet the professionals behind your confident smile img */
#staffHeader {
    text-align: center;
    margin: 2% 0 2% 0;
    color: #112C39;
}
/*Staff Section*/
#staffSection {
    margin-bottom: 150px;
}
#staffSection h4 {
    color: #2B4450;
}
#staffSection h5 {
    color: #F78536;
}
#staffSection p {
    color: #2D637F;
    font-size: 1em;
}
.staff {
    padding: 30px;
}
.staffPhoto img {
    border-radius: 200px;
}
.staffInfo {
    align-content: center;
    padding: 0 0 0 5px;
}

/* For mobile and tablet view */
@media (max-width: 1000px) {
    /* top of page */
    .teamHeader h1 {
        padding-top: 200px;
        font-size: 3em;
    }
}

/*******************************/
/********Services Page**********/
/*******************************/
#servicesBgImg {
    position: relative;
}
#servicesBgImg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/aboutPageBg.jpg'); /* Image URL */
    background-size: cover; /* Cover the entire area */
    background-position: top; /* Center the image */
    background-repeat: no-repeat; /* Prevent background image from repeating */
    z-index: 1; /* Ensure the image is behind any content */
}
#servicesBgImg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(17, 44, 57, 0.70); /* Solid color with low opacity */
    z-index: 2; /* Ensures the solid color with the low opacity is over the image */
}
.servicesPage-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh; /* Full height of the viewport */
    margin: 0;
    padding: 0;
    position: relative; /* Required to layer content above the image */
    z-index: 3; /* Place content above the background */
}
.servicesPage-top p {
    color: white;
}
.servicesHeader
{
    display: flex;
    flex-direction: column;
    justify-content: center; /* centers the content vertically */
    flex: 1; /* take remaining space between navbar and icon */
    padding: 40px; /* optional padding */
}

/*Dental Services Section*/
#dentalServicesContainer {
    background-color: #112C39;
}
#allServices {
    padding: 10% 0 10% 0;
}
/*FIX HEIGHT OF CARDS HERE, IF NEEDED*/
.card {
    height: 700px;
    margin: 15px;
}
.card h5 {
    color: #F78536;
    font-size: 1.75em;
}
.card p {
    color: #2D637F;
    font-size: 1em;
}

/* For mobile and tablet view */
@media (max-width: 1000px) {
    /* top of page */
    .servicesHeader h1 {
        padding-top: 200px;
        font-size: 3em;
    }
}

/*******************************/
/*******Patient Resources*******/
/*******************************/
#resourcesBgImg {
    position: relative;
}
#resourcesBgImg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/resourcesBgImg.jpg'); /* Image URL */
    background-size: cover; /* Cover the entire area */
    background-position: top; /* Center the image */
    background-repeat: no-repeat; /* Prevent background image from repeating */
    z-index: 1; /* Ensure the image is behind any content */
}
#resourcesBgImg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(17, 44, 57, 0.57); /* Solid color with low opacity */
    z-index: 2; /* Ensures the solid color with the low opacity is over the image */
}
.resourcesPage-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh; /* Full height of the viewport */
    margin: 0;
    padding: 0;
    position: relative; /* Required to layer content above the image */
    z-index: 3; /* Place content above the background */
}
.resourcesPage-top p {
    color: white;
}
.resourcesHeader
{
    display: flex;
    flex-direction: column;
    justify-content: center; /* centers the content vertically */
    flex: 1; /* take remaining space between navbar and icon */
    padding: 40px; /* optional padding */
}
/*Patient Forms*/
.forms {
    margin-bottom: 3em;
}
#patientFormsContainer {
    padding: 4em 0;
}
#patientFormsContainer h3 {
    color: #F78536;
}
.links {
    flex: 0 1 calc(50% - 10px); /* subtract the margin to not exceed width of container */
    box-sizing: border-box;
    display: flex;
    text-decoration: none;
}
.pdfs {
    display: flex;
    justify-content: space-between;
    padding: 15px 10px;
    margin: 5px;
    border: 1px solid #F78536;
    border-radius: 10px;
    box-shadow: 2px 2px 2px #A6ADB4;
}
.pdfs p {
    margin: 0;
    padding: 0;
    color: #F78536;
}
.pdfs i {
    margin: 0;
    padding: 0;
    color: #F78536;
}

/*Learn, Prevent, Thrive*/
#learnPreventThriveSection {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50vh;
}
#learnPreventThriveSection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/learnSectionBg.jpg'); /* Image URL */
    background-size: cover; /* Cover the entire area */
    background-position: top; /* Center the image */
    background-repeat: no-repeat; /* Prevent background image from repeating */
    z-index: 1; /* Ensure the image is behind any content */
}
#learnPreventThriveSection::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(17, 44, 57, 0.53); /* Solid color with low opacity */
    z-index: 2; /* Ensures the solid color with the low opacity is over the image */
}
#learnPreventThriveSection h1 {
    position: relative;
    z-index: 3;
    color: white;
}
#cavitiesAndCleaningTeeth {
    margin-top: 70px;
    margin-bottom: 70px;
}
.educationContainer {
    background-color: #2B4450;
    border-radius: 30px;
    color: white;
    flex: 0 1 calc(50% - 10px); /* subtract the margin to not exceed width of container */
    box-sizing: border-box;
    padding: 50px 40px;
    margin: 10px 5px;
    text-align: left;
    height: 550px;
}
.educationContainer h4 {
    margin-bottom: 30px;
}

/* For mobile and tablet view */
@media (max-width: 1000px) {
    /* top of page */
    .resourcesHeader h1 {
        padding-top: 200px;
        font-size: 3em;
    }
    #resourcesBgImg::before {
        background-image: url('images/resourcesMobileBgImg.jpg');
        background-size: cover; /* Cover the entire area */
        background-position: top; /* Center the image */
        background-repeat: no-repeat; /* Prevent background image from repeating */
    }
    /* for div containers holding forms and education sections */
    .formSection {
        display: block;
        width: 100%;
    }
}

/*******************************/
/******Contact Us Pop Up********/
/*******************************/
#contactUsPage {
    background-color: white;
}
.slide-down {
    animation: slideDown 1s forwards; /* Animation for sliding down */
}

.slide-up {
    animation: slideUp 1s forwards; /* Animation for sliding up */
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100%);
    }
}
.bi-x-lg {
    font-size: 2em;
    margin: 10px;
    display: block;
    text-align: right;
}
.contactUsContainer {
    flex-direction: column; /* Aligns items vertically */
    align-items: center; /* Centers items in the div */
    margin-top: 150px;
}
.contactUsContainer h3 {
    color: #2B4450;
}
.contactUsContainer p {
    color: #112C39;
}
.contactUsContainer a {
    color: #2B4450;
}

/****************************************/
/************Footer Styling**************/
/****************************************/
footer {
    margin: 0;
    padding: 2% 1%;
    background-color: #112C39;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.footerLogo img {
    height: 80px; /* Makes the logo the height of the navbar */
    width: auto; /* Keeps the aspect ratio of the logo */
}
.footerInfo {
    text-align: right;
}
.footerInfo a {
    margin: 0;
    /*font-size: 0.80em;*/
    text-decoration: none;
    color: white;
}
.fontInfo i {
    color: white;
}
.contactInfo p {
    margin: 0;
    font-size: 0.80em;
}
.privacyLink:hover {
    color: #829CA8;
}
.privacyLink:active {
    color: #829CA8;
}
.bi-instagram {
    margin-right: 5px;
}
.bi-instagram:hover {
    color: #829CA8;
}
.bi-facebook:hover {
    color: #829CA8;
}
.bi-instagram:active {
    color: #829CA8;
}
.bi-facebook:active {
    color: #829CA8;
}
/* For mobile and tablet view */
@media (max-width: 1000px) {
    footer {
        padding: 5% 4%;
    }
}
