/* 
Theme Name: Cairs
Theme URI: https://markl471.sg-host.com/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: cairs
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* Global resets */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif !important;
}

.container {
  width: 95%;
  max-width: 1200px;
  margin: 0px 0px 0px 100px;
}

/* Header styles */
.site-header {
  font-family: 'Poppins', sans-serif;
  background: #fff;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo img {
  max-height: 60px;
}

.contact-info {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 16px;
  color: #000;
}

.contact-info i {
  color: #00cde3;
  margin-right: 8px;
}
/* Mobile font size for header contact info */
@media only screen and (max-width: 768px) {
  .site-header .contact-info span {
    font-size: 13px !important;
  }
}


/* Navigation styles */
.main-nav {
  border-top: 1px solid #e3e3e3;
  padding: 15px 0;
  width: 57%;
  display: flex;
  flex-direction: row-reverse;
  position: relative;
}

/* Hide hamburger menu on desktop */
.menu-toggle {
  display: none;
}

.nav-list {
  display: flex;
  justify-content: left;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 40px;
}

.nav-list li a {
  text-decoration: none;
  color: #000;
  font-size: 17px;
  font-weight: 500;
}

/* Dropdown icon */
.nav-list li.menu-item-has-children > a::after {
  content: " ▼";
  font-size: 10px;
}

/* Footer */

.footer-widgets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: #6876b5;
  padding: 120px 40px 40px 120px;
  color: #fff;
}

.footer-column {
  flex: 1 1 30%;
  margin: 10px;
}

.footer-widget h4 {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-widget ul {
  list-style: none;
  padding: 0;
}

.footer-widget ul li {
  margin-bottom: 10px;
}

.footer-widget a {
  color: #fff;
  text-decoration: none;
}

.footer-widget a:hover {
  text-decoration: none;
}

.footer-bottom {
  background: #3bb3c3;
  text-align: center;
  padding: 15px 20px;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
      color: white;
}

.footer-links a {
  color: white;
  margin-left: 0px;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: none;
}

@media (max-width: 768px) {
  .footer-widgets {
    flex-direction: column;
    text-align: center;
  }

  .footer-column {
    margin: 20px 0;
  }

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

  /* Show hamburger menu on mobile only */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 65px;
    height: 45px;
    background: none;
    border: none;
    cursor: pointer;
    margin-top: -70px;
  }

  .menu-toggle .hamburger {
    height: 3px;
    background-color: #000;
    border-radius: 2px;
    width: 100%;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    gap: 20px;
    background-color: #fff;
    padding: 20px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-list.active {
    display: flex;
  }
}

.dashicons, .dashicons-before:before {
  border-width: 1px;
  border: solid; 
  padding: 10px 30px 30px 10px;
  border-radius: 30px;
}

@media (max-width: 768px) {
  .footer-widgets {
    flex-direction: column;
    text-align: left;
    padding: 40px 20px;
  }
  .container {
    width: 95%; 
    max-width: 1200px;
    margin: 0px !important; 
}

  .footer-column {
    margin: 20px 0;
  }

  .footer-widget h4 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .footer-widget ul li {
    font-size: 14px;
  }

  .footer-bottom {
    text-align: left;
    padding: 20px;
  }

  .footer-bottom .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .footer-links a {
    margin-left: 0;
    font-size: 14px;
  }
  .footer-widgets {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* corrected from 'left' */
  background: #6876b5;
  padding: 30px;
  color: #fff;
  text-align: left !important;
}

  
}

/* Force round social icons */
.wp-block-social-links.is-style-default-test {
  gap: 10px;
  justify-content: flex-start;
}

.wp-block-social-links.is-style-default-test .wp-social-link {
  border-radius: 50% !important;
  overflow: hidden;
  padding: 10px;
  background-color: #3bb3c3 !important;
}

.wp-block-social-links.is-style-default-test .wp-social-link a {
  color: #ffffff !important;
}

.wp-block-social-links.is-style-default-test .wp-social-link svg {
  width: 20px;
  height: 20px;
}
.wp-block-social-links.is-style-default-test .wp-social-link {
  padding: 8px;
}
.wp-block-social-links.is-style-default-test {
  gap: 6px;
}
.wp-block-social-links.is-style-default-test .wp-social-link svg {
    width: 37px;
    height: 30px;
    mix-blend-mode: normal;
    padding-top: 5px;
    fill: white;
}
figure.wp-block-image.alignleft.size-full.is-resized.ftun {
    margin: -20px 0px 25px 0px;
}

/* Extracted from functions.php testimonial shortcode */
.swiper-slide {
    padding: 20px;
}
.testimonial-card {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.testimonial-content {
    font-size: 16px;
    line-height: 1.6;
}
.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    border-top: 1px dashed #ccc;
    padding-top: 15px;
}
.testimonial-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.testimonial-meta {
    flex: 1;
    padding-left: 15px;
}
.testimonial-quote {
    font-size: 36px;
    color: #5c6bc0;
}

/* Extracted from functions.php waiting families grid shortcode */
.waiting-families-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    text-align: center;
}
.waiting-family-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}
.waiting-family-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}
.waiting-family-card:hover img {
    transform: scale(1.05);
}
.waiting-family-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(177deg, #e7118187 0%, #17bbbd69 100%);
    opacity: 0;
    color: #fff;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
}
.waiting-family-card:hover .waiting-family-overlay {
    opacity: 1;
}
.waiting-family-overlay i {
    font-size: 24px;
    margin-bottom: 8px;
}