/* ============================================
   FUNDER | ADVISOR — ZOHO SITES CUSTOM CSS
   Updated to target Zoho's actual class structure
   ============================================ */

/* ----- Import Google Font ----- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ----- CSS Variables ----- */
:root {
  --fa-primary: #164e63;
  --fa-secondary: #22d3ee;
  --fa-accent: #67e8f9;
  --fa-dark: #0f172a;
  --fa-light: #f8fafc;
  --fa-white: #ffffff;
  --fa-gray-200: #e2e8f0;
  --fa-gray-500: #64748b;
  --fa-gray-700: #334155;
}

/* ----- Global Typography Override ----- */
body,
.zpcontent-container,
.zptext,
.zpheading,
.zpicon-heading,
.zpicon-text-container,
.zpform-container {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* ----- All Headings ----- */
h1.zpheading,
h2.zpheading,
h3.zpheading,
h4.zpheading,
h5.zpheading,
h6.zpheading,
.zpicon-heading,
.zpform-container h2 {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  letter-spacing: -0.02em !important;
  color: var(--fa-dark) !important;
  font-weight: 700 !important;
}

/* ----- Body Text ----- */
.zptext,
.zptext p,
.zpicon-text-container,
.zpicon-text-container p {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  color: var(--fa-gray-700) !important;
  line-height: 1.6 !important;
}

/* ----- Header Styling ----- */
.theme-header,
[data-header="zptheme-data-header"] {
  background-color: var(--fa-white) !important;
  border-bottom: 1px solid var(--fa-gray-200) !important;
}

/* ----- Top Bar ----- */
.theme-header-topbar {
  background-color: var(--fa-primary) !important;
}

.theme-topbar-info-icon-text,
.theme-topbar-info a {
  color: var(--fa-white) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* ----- Navigation Links ----- */
.theme-menu-name,
[data-theme-menu-name] {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 500 !important;
  color: var(--fa-dark) !important;
}

.theme-menu a:hover .theme-menu-name {
  color: var(--fa-secondary) !important;
}

/* ----- Buttons ----- */
.zpbutton,
.zpbutton-type-primary,
input[type="submit"].zpbutton {
  background-color: var(--fa-secondary) !important;
  color: var(--fa-dark) !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  border: none !important;
  padding: 14px 32px !important;
  transition: all 0.3s ease !important;
}

.zpbutton:hover,
.zpbutton-type-primary:hover,
input[type="submit"].zpbutton:hover {
  background-color: var(--fa-accent) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 211, 238, 0.3) !important;
}

.zpbutton-type-secondary,
input[type="reset"].zpbutton {
  background-color: transparent !important;
  color: var(--fa-primary) !important;
  border: 2px solid var(--fa-primary) !important;
  border-radius: 8px !important;
}

.zpbutton-type-secondary:hover,
input[type="reset"].zpbutton:hover {
  background-color: var(--fa-primary) !important;
  color: var(--fa-white) !important;
}

/* ----- Section Backgrounds ----- */
.zpsection.zpdefault-section {
  background-color: var(--fa-white) !important;
}

.zpsection.zplight-section {
  background-color: var(--fa-light) !important;
}

.zpsection.zpdark-section {
  background-color: var(--fa-primary) !important;
}

/* ----- Dark Section Text ----- */
.zpdark-section .zptext,
.zpdark-section .zptext p,
.zpdark-section .zpheading,
.zpdark-section h1,
.zpdark-section h2,
.zpdark-section h3 {
  color: var(--fa-white) !important;
}

/* ----- Icon Heading Text Blocks ----- */
.zpicon-container {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.zpicon-heading {
  color: var(--fa-primary) !important;
  font-weight: 600 !important;
}

.zpicon.zpicon-common svg {
  fill: var(--fa-secondary) !important;
}

/* ----- Links ----- */
.zptext a,
.zpicon-text-container a {
  color: var(--fa-secondary) !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.zptext a:hover,
.zpicon-text-container a:hover {
  color: var(--fa-accent) !important;
}

/* ----- Form Styling ----- */
.zpform-container {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.zpform-container label,
.zpform-label-container label {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 500 !important;
  color: var(--fa-white) !important;
}

.zpform-container input[type="text"],
.zpform-container input[type="email"],
.zpform-container textarea,
.zpform-container select {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  border-radius: 8px !important;
  border: 1px solid var(--fa-gray-200) !important;
  padding: 12px 16px !important;
}

.zpform-container input[type="text"]:focus,
.zpform-container input[type="email"]:focus,
.zpform-container textarea:focus,
.zpform-container select:focus {
  border-color: var(--fa-secondary) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2) !important;
}

/* ----- Footer ----- */
.theme-footer-area {
  background-color: var(--fa-dark) !important;
}

.theme-footer-area .zptext,
.theme-footer-area .zptext p {
  color: var(--fa-gray-200) !important;
}

.theme-footer-area a {
  color: var(--fa-gray-200) !important;
}

.theme-footer-area a:hover {
  color: var(--fa-secondary) !important;
}

/* ----- Social Icons ----- */
.theme-socialicon-list a svg {
  fill: var(--fa-white) !important;
  transition: fill 0.3s ease !important;
}

.theme-socialicon-list a:hover svg {
  fill: var(--fa-secondary) !important;
}

/* ----- Dividers ----- */
.zpdivider-common {
  border-color: var(--fa-gray-200) !important;
}

/* ----- Images ----- */
.zpimage.zpimage-style-roundcorner {
  border-radius: 12px !important;
}

/* ----- Column Cards (for value props) ----- */
.zpelem-col {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

/* ----- Hero Section Specific ----- */
/* Target the first section (hero) */
.zpcontent-container .zpsection:first-of-type {
  background-color: var(--fa-light) !important;
  padding-top: 80px !important;
  padding-bottom: 60px !important;
}

.zpcontent-container .zpsection:first-of-type .zpheading {
  color: var(--fa-primary) !important;
}

/* ----- Responsive Adjustments ----- */
@media (max-width: 767px) {
  h1.zpheading {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  
  h2.zpheading {
    font-size: 1.5rem !important;
  }
  
  .zpbutton,
  .zpbutton-type-primary {
    width: 100% !important;
    text-align: center !important;
  }
  
  .zpsection {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ----- Utility Classes (add to elements manually) ----- */
.fa-hero-section {
  background-color: var(--fa-light) !important;
  padding: 100px 20px !important;
  text-align: center !important;
}

.fa-section-gray {
  background-color: var(--fa-light) !important;
}

.fa-section-dark {
  background-color: var(--fa-primary) !important;
}

.fa-text-primary {
  color: var(--fa-primary) !important;
}

.fa-text-secondary {
  color: var(--fa-secondary) !important;
}

.fa-text-white {
  color: var(--fa-white) !important;
}

.fa-text-center {
  text-align: center !important;
}

/* ----- CTA Banner Section ----- */
.fa-cta-banner {
  background: linear-gradient(135deg, var(--fa-primary) 0%, #0d3d4d 100%) !important;
  padding: 80px 20px !important;
  text-align: center !important;
}

/* ----- Credential Badges ----- */
.fa-credential {
  background-color: var(--fa-light) !important;
  padding: 20px !important;
  border-radius: 8px !important;
  text-align: center !important;
  font-weight: 500 !important;
}

/* ----- Tagline Style ----- */
.fa-tagline {
  font-style: italic !important;
  color: var(--fa-gray-500) !important;
  font-size: 1rem !important;
  letter-spacing: 0.02em !important;
}

/* ----- Step Numbers ----- */
.fa-step-number {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 56px !important;
  height: 56px !important;
  background-color: var(--fa-secondary) !important;
  color: var(--fa-dark) !important;
  font-weight: 700 !important;
  font-size: 1.5rem !important;
  border-radius: 50% !important;
  margin-bottom: 20px !important;
}

/* ----- Approach Cards ----- */
.fa-approach-card {
  padding: 32px !important;
  border-left: 4px solid var(--fa-secondary) !important;
  background: var(--fa-white) !important;
}

/* ----- Footer Disclaimer ----- */
.fa-footer-disclaimer {
  border-top: 1px solid var(--fa-gray-700) !important;
  margin-top: 40px !important;
  padding-top: 24px !important;
  font-size: 0.8rem !important;
  color: var(--fa-gray-500) !important;
  line-height: 1.6 !important;
}