/*
 Theme Name:   Healthhx
 Theme URI:    https://goaugment.io
 Description:  Genesis Child Theme
 Author:       Kadiravan Vellingiri
 Author URI:   https://goaugment.io
 Template:     genesis-block-theme
 Version:      1.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  GenesisChildTheme
*/
/* ====================
   GLOBAL STYLES & COLORS
==================== */
:root {
  --primary-color: #4578AD;
  --dark-blue: #0A4D8C;
  --black: #000000;
  --light-blue-bg: #D9E4F0;
  --light-sandle-bg: #FAF9F6;
  --white: #ffffff;
  --hover-color: var(--black); /* changed from #000000 */
  --hover-link: var(--primary-color); /* changed from #28a9e1 */
}

body {
    padding: 0;
    background-color: var(--light-sandle-bg);
    font-family: Poppins;
}

button {
  border: none;
  background: transparent;
}

p {
  font-size: 1rem;
  color: var(--black);
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

/* ====================
   HEADER
==================== */
header {
  background-color: var(--light-sandle-bg);
  padding: 24px 0;
}

header img {
    max-width: 420px;
}

header button img {
  max-height: 45px;
}

button.hamburger-button {
  padding: 0;
}

button.hamburger-button img {
  width: 39px;
}

/* ====================
   HERO SECTION
==================== */
.hero {
  background-color: var(--light-sandle-bg);
  position: relative;
}

.hero p.lead {
  font-weight: 400 !important;
  margin-bottom: 48px;
}

.hero .row {
  position: relative;
  z-index: 9;
}

.hero .container{
  position: relative;
}

.hero .container::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url(assets/images/logo-for-bg.svg);
  background-size: 97%;
  background-position: 14px 0;
  background-repeat: no-repeat;
  opacity: 0.05;
  left: 0;
  right: 0;
}

.hero .founders h3 {
  font-size: 20px;
  color: var(--primary-color);
}

.hero .founders h6 {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  color: var(--primary-color);
  align-items: center;
  font-size: 20px;
}

.hero .founders h6 img {
  max-height: 30px;
}

.hero .founders p {
  margin-bottom: 0;
}

.founders > p {
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 18px;
}

/* ====================
   BUTTONS
==================== */
.btn-primary {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  border-radius: 32px;
  padding: 16px 32px;
  background-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--hover-color);
}

/* ====================
   CONTENT BLOCKS
==================== */

.photo-wrap {
    width: 50%;
}

.photo-wrap img {
    padding: 0;
    box-shadow: none;
    border: none;
    border-radius: 4px 4px 0 0;
    background: transparent;
    width: 100%;
}

.light-blue-bg {
  background-color: var(--light-blue-bg);
  border-radius: 50px 50px 0 0;
}

.criteria-card {
  background-color: #FAF9F6;
  border-radius: 50px;
  height: 100%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.criteria-card img {
  max-height: 50px;
}

.criteria-card p {
  font-size: 20px;
  text-align: left;
  margin-top: 24px;
}

.whysec {
  background-color: var(--light-sandle-bg);
  border-radius: 50px 50px 0 0;
  position: relative;
  top: -40px;
}

.investment-sec {
  padding-bottom: 100px !important;
}

.info-box {
  border: 2px solid var(--primary-color);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  height: 100%;
}

.info-box h3 {
  font-weight: 700;
  font-size: 32px;
  margin: 24px 0;
  text-align: left;
}

.info-box p {
  text-align: left;
}

/* ====================
   CONTACT SECTION
==================== */
.contact-wrap {
  position: relative;
  overflow: hidden;
}

.contact-wrap::after {
  content: '';
  position: absolute;
  width: 70%;
  height: 100%;
  background-image: url(assets/images/care-bg.svg);
  background-repeat: no-repeat;
  background-size: 60%;
    background-position: right;
    right: -11%;
  top: 0;
}

.contact-sec {
  padding-right: 45%;
  text-align: left;
}

section#contact h2 {
    font-weight: 600;
}

section#investment h2 {
    font-weight: 600;
    margin-bottom: 0 !important;
}

section#why h2 {
    font-weight: 600;
    margin-bottom: 0 !important;
}

nav .email-sec {
    margin-top: 20px;
}

/* ====================
   FOOTER
==================== */
footer {
  background-color: #FAF9F6;
  border-radius: 50px 50px 0 0;
  overflow: unset;
  position: relative;
  top: 0px;
}

footer::after {
background: #FAF9F6;
    border-radius: 50px 50px 0 0;
    top: -20px;
    width: 100%;
    height: 30px;
    position: absolute;
    overflow: unset;
    content: '';
    left: 0;
}

footer .logo {
  max-width: 260px;
}

footer .container {
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

footer .email-sec a {
  font-size: 16px;
  color: var(--primary-color);
  margin-left: 32px;
}

footer .footer-p {
  color: var(--primary-color);
}

/* ====================
   MOBILE MENU (OVERLAY)
==================== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background-color: var(--primary-color);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
  opacity: 0;
  pointer-events: none;
}

.info-box.p-4 p {
    margin-bottom: 0;
}

.mobile-menu.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu.is-closing {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 60px;
  color: var(--white);
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-content a {
  font-size: 2.5rem;
  margin: 1rem 0;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.menu-content a:hover {
    color: #fff;
    opacity: 0.8;
}

.mobile-menu .email-sec img {
  height: 35px;
  margin-right: 24px;
}

.mobile-menu .email-sec a {
  font-size: 16px;
}

.mobile-menu .linked-icon img {
  height: 40px;
}

h1.fw-bold {
    font-weight: 600 !important;
}

/* ====================
   RESPONSIVE QUERIES
==================== */
@media (max-width: 768px) {
  .photo-wrap {
    max-width: 210px;
    margin: 0 auto;
  }

  .contact-wrap::after {
    background-size: 75%;
  }
}

@media (max-width: 720px) {
    header img {
    max-width: 300px;
}
  .contact-sec {
    padding-right: 0;
    text-align: center;
  }

  .contact-wrap::after {
    background-size: 45%;
    background-position: center;
    z-index: 0;
    opacity: 0.1;
    right: 0;
    width: 100%;
  }

  .contact-wrap .container {
    position: relative;
    z-index: 1;
  }

  footer .container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  footer .email-sec img {
    height: 16px;
  }

  footer .email-sec a {
    margin-left: 8px;
  }

  footer a > img {
    height: 24px;
  }
}

@media screen and (max-width:600px){
    .menu-content a {
    font-size: 1.5rem;
    }
    section#why h2 {
    font-size: 2rem;
    margin-bottom: 0 !important;
}
section#investment h2 {
    font-size: 2rem;
    margin-bottom: 0 !important;
}
section#contact .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
section#contact h2 {
    font-size: 2rem;
}
p.footer-p {
    font-size: 12px;
    margin-top: 20px !important;
}
.hero .founders p {
    margin-bottom: 0;
    font-size: 14px;
    text-align: left;
}
section#why {
    padding-bottom: 0 !important;
}
.hero p.lead {
    font-size: 18px;
    text-align: left;
}
}

@media screen and (max-width:360px){
    header img {
    max-width: 240px;
}
}