/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* new phone here - next 3 setting styles - first is NOT being used...since trying to display horizontal, but currently displaying this as vertical in .hero-content below */
/* will leave here in case want to later put phone image to right of text, but at the moment happy with phone images being below other content */
/* .hero-content {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-align: left; 
    gap: 20px;
} */

.hero-image {
    flex-shrink: 0; /* Prevent the image from shrinking */
}

.phone-image {
    max-width: 300px; /* Adjust as needed */
    height: auto; /* Maintain aspect ratio */
}


body, button, h1, h2, a {
  
  font-family: "Source Sans 3", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  
  line-height: 1.6;
    color: #333;
    font-size: 1.1rem; 
}
/* Typography */
h1 {
    font-size: 3.5rem; /* 40px if base font size is 16px */
}

h2 {
    font-size: 1.5rem;
    font-weight: 400;
}

h3 {
    font-size: 1.25rem; /* 28px if base font size is 16px */
    font-weight: 500;
}


h3, .citation {
    margin-top: 10pt;
    font-size: 1rem;
    
}

p {
    font-size: 1.1rem; /* 16px, same as base font size */
    color:#666666;
    
}




/* Header and navigation */
header {
    background-size: cover;
    background-position: center;
    color: #fff;
    height: 70vh;
    display: flex;
    flex-direction: column;}
    



.logo a {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #fff;
    text-decoration: none !important;
}

.logo-image {
    height: 30px; /* Adjust this value to match your desired logo size */
    width: auto;
    margin-right: 10px; /* Space between logo and text */
}

.logo-text {
    font-weight: 500;
    /* You can add specific styles for the text if needed */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1rem;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
}

.hero {
    position: relative;
    background-image: url('images/mountainimage.png');
    background-size: cover;
    background-position: center;
    height: 60vh; /* or whatever height you're using */
    display: flex;
    align-items: center;
    min-height: 300px; /* Sets a minimum height */
    padding: 0rem;
}


/* Hero content */
.hero-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem ;
}

.hero-content h1 {
    font-size: 4rem;
     color: #fff;
     font-weight: 400;
 //   padding: 3.5rem 0rem 0.5rem 0rem;
  
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
  
}


.appstorebutton {
    display: flex;
    justify-content: center;
    align-items: center;
   height: 35px; /* Adjust this value to match your desired logo size */
    width: auto;
    padding: 10px;
    background-color:#000000 ;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: 1px solid white; /* Add a 2px white border */
}
.appstorebutton:hover,
.appstorebutton:focus {
    background-color:#64e6e2 ;
    outline: none;
}

.appstorebutton svg {
    max-width: 100%;
    height: auto;
}


 


/* Features section */
#features {
    padding: 3rem 2rem;
    background-color: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}




/* Screenshots section */
#screenshots {
    padding: 3rem 2rem;
  
    background-color: #f9f9f9;
}



.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}


.screenshot-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  
}




  
/*********************************************
    
Key CSS for FAQ Page    
    
**********************************************/
   
/* FAQ and Medical Sources section */
#faq {
    padding: 3rem 2rem ;
    background-color: #fff;
}


#medicalsources {
    padding: 3rem 2rem;
  
    background-color: #f9f9f9;
}






/* color the FAQ button */

.faq_accordion {

    background-color:#fff;
    cursor: pointer;
    width: 100%;
    border:none;
    border-bottom: 1px solid #E8E8E8;
    border-top: 1px solid #E8E8E8;; 
    text-align: left;
    transition: 0.75s;
    padding: 15px 0px;
    margin: 0px 0px 0px 0px;
    /* font-size: 1rem; */
   
}


/* Styling .faq_accordion based on parent #faq */
#faq .faq_accordion {
    background-color: #fff; /* White for FAQ section */
}

#faq .faq_accordion.active, #faq .faq_accordion:hover {
    background-color: #64e6e2; /* Light blue on hover/active */
    color: black;
    border-bottom: 1px solid #E8E8E8;
    border-top: 1px solid #E8E8E8;
}

/* Styling .faq_accordion based on parent #medicalsources */
#medicalsources .faq_accordion {
    background-color: #f9f9f9; /* Light gray for Medical Sources section */
}

#medicalsources .faq_accordion.active, #medicalsources .faq_accordion:hover {
    background-color: #64e6e2;
    color: black;
    border-bottom: 1px solid #E8E8E8;
    border-top: 1px solid #E8E8E8;
}




/* 
#faq button, #medicalsources button {
    font-size: 1.2rem; 
}


.faq_accordion.active, .faq_accordion:hover {
    background-color:  #64e6e2; 
    color: black;
    border-bottom: 1px solid #E8E8E8;;
     border-top: 1px solid #E8E8E8;; 
     
 } */


.faq_accordion:after {
    content: '\002B';
    color: #777;
    
    float: right;
    margin-left: 5px;
}

.faq_accordion.active:after {
    content: "\2212";
}


 .faq_answer {
    padding: 15px 0px;
    display: none;
    background-color: fff;
  
}




.faq_answer p {
     font-size: 1.0rem;
}

.faq_answer.show {
    display:block;
} 
     
  
 



/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

footer a {
    color: #fff;
    margin: 0 1rem;
}



/* privacy section */
#privacy {
    padding: 3rem 2rem;
    background-color: #fff;
}

#privacy ul  {
padding: 1rem 2rem;
}

#privacy p, h2{
    padding: 0.5rem 0rem;
    }


/* terms section */
#terms {
    padding: 3rem 2rem;
    background-color: #fff;
}

#terms ul  {
padding: 1rem 2rem;
}

#terms p, h2{
    padding: 0.5rem 0rem;
    }


    
/* Responsive design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
    }

    nav ul {
        margin-top: 1rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.33rem;
    }
    h3 {
        font-size: 1.1rem;
    }

    #faq button {
    font-size: 1.1rem; 
    }
    p {
        font-size: 1rem; 
       
    }

}

/* Responsive design for screenshots */
@media (max-width: 1200px) {
    .screenshot-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .screenshot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 600px) {
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
  
}