/*
Theme Name: Li Core
Theme URI: https://demo.socalbird.com
Author: Md. Mamun
Author URI: https://socalbird.com
Description: A lightweight WordPress theme for testing and learning.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: li-core
*/

/* Global Font */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #ffffff !important;

}






/* --- Keep just ONE site-content rule with padding --- */
.site-content { padding: 40px 20px; }
/* REMOVE or comment out the later duplicate that sets padding:0 */

/* Boxed layout */
.legal-box{
  max-width: 1400px;
  margin: 40px auto;
  padding: 24px;
  background: #fff;
  border: 0px solid rgba(0,0,0,.08);
  border-radius: 0px;
  box-sizing: border-box;
}

/* Make sure links look nice inside page content */
.page-content a { text-decoration: none; color: #207a4e; transition: color .3s; }
.page-content a:hover { color: #000; }

/* Responsive */
@media (max-width: 768px){
  .legal-box{ margin:24px 16px; padding:20px; }
}






/* Header Styles */

/* ===========================
   HEADER STYLES
=========================== */
/* Header Styles */

/* ===========================
   HEADER STYLES
=========================== */
.site-header {
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 0px 20px;
    box-shadow: 0 6px 4px -4px rgba(0, 0, 0, .3);
}

.header-container {
  max-width: 1720px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===========================
   LOGO
=========================== */
.site-logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* Mobile responsive (max-width 767px) */
@media (max-width: 767px) {
  .site-logo img {
    width: 45px;
    height: 45px;
    padding-top: 5px;
    padding-bottom: 5px;
  }
}

/* ===========================
   NAVIGATION MENU
=========================== */
.site-navigation { position: relative; }

/* Toggle sits above overlay/panel */
.menu-toggle {
  display: none;
  font-size: 40px;
  color: #000;
  cursor: pointer;
  background: transparent;
  border: none;
  outline: none;
  z-index: 1101;
}

.desktop-menu { display: none; }

/* ---- Overlay (added) ---- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility 0s linear .25s;
  z-index: 1099;
  pointer-events: none;
}

/* ---- Drawer panel ---- */
.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 70vw;               /* 70% width on mobile */
  max-width: 420px;          /* optional max so it doesn't get too wide on phablets */
  height: 100%;
  background: #fff;
  padding: 20px;             /* base padding; we add extra top on mobile below */
  box-shadow: -2px 0 10px rgba(0,0,0,0.15);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform .35s ease;
  will-change: transform;
  display: flex;
  flex-direction: column;
}

/* Open states driven by body class for clean sequencing */
body.is-menu-open .mobile-overlay {
  opacity: 1;
  visibility: visible;
  transition: opacity .25s ease, visibility 0s; /* show immediately */
  pointer-events: auto;
}

/* Delay the drawer slightly so overlay appears first */
body.is-menu-open .mobile-menu-panel {
  transform: translateX(0);
  transition-delay: .10s;
}

.menu-close {
  align-self: flex-end;
  font-size: 28px;
  color: #000;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-bottom: 20px;
}

.main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.main-menu li a {
  text-decoration: none;
  color: #000;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-menu li a:hover { color: #207a4e; }

.main-menu li.current-menu-item a,
.main-menu li.current_page_item a {
  color: #207a4e;
  font-weight: 700;
}

/* Prevent background scroll when menu is open */
body.no-scroll { overflow: hidden; }

/* ====== Mobile ====== */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .desktop-menu { display: none; }

  /* 50px top space inside the drawer on mobile */
  .mobile-menu-panel { padding-top: 50px; }
}

/* ====== Desktop ====== */
@media (min-width: 769px) {
  .menu-toggle, .mobile-menu-panel, .mobile-overlay { display: none !important; }
  .desktop-menu { display: block; }

  .main-menu {
    flex-direction: row;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .main-menu li a {
    text-decoration: none;
    font-size: 18px;
    color: #000;
    font-weight: 500;
    transition: color 0.3s ease;
  }

  .main-menu li a:hover { color: #207a4e; }

  .main-menu li.current-menu-item a,
  .main-menu li.current_page_item a {
    color: #207a4e;
    font-weight: 700;
  }
}



/* Header area close */






/* Footer Styles */
.site-footer {
    background-color: #1e2b2b;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    padding-top: 40px;
}

/* Footer Top */
.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 390px 1fr; /* Newsletter has fixed width */
    max-width: 1720px;
    margin: 0 auto;
    padding: 0 30px 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    gap: 20px;
}

/* Common Footer Column Style */
.footer-column-1,
.footer-column-2,
.footer-column-3,
.footer-column-4 {
    display: flex;
    flex-direction: column;
}

.footer-column-1 h4,
.footer-column-2 h4,
.footer-column-3 h4,
.footer-column-4 h4 {
    font-size: 18px;
    color: #b6a167;
    margin-bottom: 15px;
    text-transform: uppercase;
    border-bottom: 1px dashed #ffffff; /* Dashed white line */
    padding-bottom: 6px;
}

.footer-column-1 ul,
.footer-column-2 ul,
.footer-column-4 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Footer list spacing */
.footer-column-1 ul li,
.footer-column-2 ul li,
.footer-column-4 ul li {
    margin-bottom: 10px; /* 10px gap between each item */
}

.footer-column-1 ul li:last-child,
.footer-column-2 ul li:last-child,
.footer-column-4 ul li:last-child {
    margin-bottom: 0;
}

.footer-column-1 ul li a,
.footer-column-2 ul li a,
.footer-column-4 ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-column-1 ul li a:hover,
.footer-column-2 ul li a:hover,
.footer-column-4 ul li a:hover {
    color: #b6a167;
}

/* 1st Column */
.footer-column-1 {
    max-width: 250px;
}

/* 2nd Column */
.footer-column-2 {
    max-width: 200px; /* Smaller width for ALL REGIONS */
}

/* 3rd Column (Newsletter) */
.footer-column-3 {
    max-width: 390px;
    margin-right: 20px; /* Gap between 3rd and 4th column */
}

.footer-column-3 p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #ddd;
}

.newsletter-form {
    display: flex;
    margin-top: 12px;
}

.newsletter-form input {
    flex: 1;
    padding: 20px;
    border: none;
    border-radius: 5px 0 0 5px;
    outline: none;
    font-size: 14px;
}

.newsletter-form button {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #207A4E;
}

/* 4th Column (Quick Navigation) */
.footer-column-4 {
    padding-left: 30px; /* Left padding for quick navigation column */
}

/* Footer Bottom (Aligned Left) */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 1720px;
    margin: 0 auto;
    padding: 20px 30px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    color: #BFBFBF;
}

.footer-social {
    margin-bottom: 10px;
}

.footer-social a img {
    width: 24px;
    margin-right: 10px;
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: #BFBFBF;
    font-size: 16px;
    text-decoration: none;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copy {
    font-size: 16px;
    color: #BFBFBF;
}

/* Responsive Footer */
@media (max-width: 1200px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-column-3 {
        max-width: 100%;
        margin-right: 0;
    }

    .footer-column-4 {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        text-align: left; /* Align text to left */
        gap: 20px;
    }

    .footer-column-1,
    .footer-column-2,
    .footer-column-3,
    .footer-column-4 {
        max-width: 100%;
        margin-right: 0;
        padding-left: 0;
        text-align: left; /* Ensure all footer columns align left */
    }

    .footer-bottom {
        align-items: flex-start;
        text-align: left;
    }

.newsletter-form {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .newsletter-form input {
        width: 100%;       /* Fixed width */
        max-width: 100%;    /* Prevents overflow */
        border-radius: 5px;
        margin-bottom: 10px;
    }

    .newsletter-form button {
        width: 100%;       /* Match input width */
        max-width: 100%;    /* Prevents overflow */
        border-radius: 5px;
    }
    .footer-social {
        justify-content: flex-start;
    }
}

/* Newsletter Loading Animation */
.newsletter-wrapper {
    position: relative;
    display: inline-block;
}

.newsletter-blur {
    filter: blur(2px);
    pointer-events: none;
    opacity: 0.6;
}

.loading-dots {
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: #207A4E;
    border-radius: 50%;
    display: inline-block;
    animation: bounce 0.6s infinite alternate;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0% { transform: translateY(0); opacity: 0.5; }
    100% { transform: translateY(-6px); opacity: 1; }
}

#newsletter-message {
    margin-top: 10px;
    font-size: 14px;
    background: rgba(32, 122, 78, 0.1);
    color: #207A4E;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

/* Footer Social Style */
.footer-social {
    display: flex;
    gap: 0.5em;
    margin-bottom: 10px;
    font-size: 33px;
}

.footer-social a {
    font-size: 1em;
    color: #BFBFBF;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    color: #fff;
}




/* ===========================
   PAGE TEMPLATE STYLES
=========================== */
.site-content {
    padding: 40px 20px;
    text-align: left; /* Force left alignment */
}

.container {
    max-width: 1400px; /* Updated width */
    margin: 0 auto;
}

.page-title {
    font-size: 36px; /* Slightly larger for wide screens */
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    text-align: left; /* Ensure title is left-aligned */
}

.page-content {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    text-align: left; /* Ensure text is aligned left */
}

/* Remove underline from links */
.page-content a {
    text-decoration: none;
    color: #207a4e;
    transition: color 0.3s ease;
}

.page-content a:hover {
    color: #000;
}

/* Optional inner-box class for boxed layouts */
.inner-boxed {
    max-width: 1400px; /* Updated */
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   RESPONSIVE STYLES
=========================== */

/* Large screens (default is fine up to 1400px) */
@media (max-width: 1200px) {
    .container, .inner-boxed {
        max-width: 95%; /* Fluid layout */
    }
    .page-title {
        font-size: 32px;
    }
    .page-content {
        font-size: 17px;
    }
}

@media (max-width: 992px) {
    .page-title {
        font-size: 28px;
    }
    .page-content {
        font-size: 16px;
        line-height: 1.6;
    }
}

@media (max-width: 768px) {
    .site-content {
        padding: 30px 15px;
    }
    .page-title {
        font-size: 24px;
    }
    .page-content {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .site-content {
        padding: 20px 10px;
    }
    .page-title {
        font-size: 20px;
    }
    .page-content {
        font-size: 14px;
        line-height: 1.5;
    }
}



/* Backend block editing feature add */



/* Privacy Policy and other pages */
.page-content.alignfull {
    max-width: 1400px;
    margin: 0 auto;
    text-align: left;
    padding: 20px;
    box-sizing: border-box;
}

/* Homepage only – full width */
body.home .page-content.alignfull {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0;
    padding: 0 0px; /* optional side padding */
}


.site-content {
    margin: 0;
    padding: 0;
}


/* Overlay support for background image (if added via custom class) */
.has-bg-overlay::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.4); /* Adjust as needed */
    z-index: 1;
}
.has-bg-overlay > * {
    position: relative;
    z-index: 2;
}

/* Responsive visibility helper classes */
.hide-desktop {
    display: none !important;
}
@media (max-width: 1024px) {
    .hide-desktop {
        display: block !important;
    }
    .hide-tablet {
        display: none !important;
    }
}
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}


/* -------x----------- */
