﻿/*
 Theme Name:   SLW Funds
 Author:       Tanupriya
 Version:      1.0
 Description:  Custom WordPress theme for SLW Funds (Wisdom Funds)
*/
    
    :root {
      /* Brand Colors - Official Palette */
      --navy-deep: #1a2e4a;
      --navy: #536277;
      --navy-light: #6c9acd;
      --gold: #2d6fb7;
      --gold-light: #6c9acd;
      --gold-muted: #536277;
      --cream: #eaf1f8;
      --cream-dark: #c0d4e9;

      /* Supporting Colors */
      --white: #ffffff;
      --text-dark: #1a2e4a;
      --text-muted: #536277;
      --text-light: #8d97a5;
      
      /* Typography */
      --font-display: 'Almarai', sans-serif;
      --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
      
      /* Spacing & Layout */
      --container-max: 1200px;
      --section-gap: 100px;
      
      /* Transitions */
      --transition-fast: 0.15s ease;
      --transition-base: 0.25s ease;
      --transition-slow: 0.4s ease;
      
      /* Shadows */
      --shadow-sm: 0 2px 8px rgba(26, 46, 74, 0.06);
      --shadow-md: 0 4px 16px rgba(26, 46, 74, 0.08);
      --shadow-lg: 0 8px 32px rgba(26, 46, 74, 0.12);
      --shadow-xl: 0 16px 48px rgba(26, 46, 74, 0.16);
    }
    
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    html {
      scroll-behavior: smooth;
    }
    
    body {
      font-family: var(--font-body);
      font-size: 16px;
      font-weight: 400;
      line-height: 1.7;
      color: var(--text-dark);
      background: var(--white);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }
    
    /* ─── HEADER / NAVIGATION ─── */
    .site-header {
      position: sticky;
      top: 0;
      left: 0;
      right: 0;
      background: #1A2E4A;
      border-bottom: none;
      z-index: 1000;
      transition: box-shadow var(--transition-base);
    }

    .site-header.scrolled {
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    /* WordPress admin bar offset */
    body.admin-bar .site-header {
      top: 32px;
    }

    @media screen and (max-width: 782px) {
      body.admin-bar .site-header {
        top: 46px;
      }
    }
    
    .header-inner {
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 32px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 88px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 14px;
      text-decoration: none;
      transition: opacity var(--transition-base);
    }
    
    .logo:hover {
      opacity: 0.9;
    }
    
    .logo-icon {
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    /* Header logo image - responsive */
    .logo-icon img {
      height: 45px;
      width: auto;
      max-width: 245px;
      display: block;
      filter: brightness(0) invert(1);
    }
    
    .logo-icon svg {
      width: 24px;
      height: 24px;
      color: var(--navy-deep);
    }
    
    .logo-text-group {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    
    .logo-text {
      font-family: var(--font-display);
      font-size: 24px;
      font-weight: 600;
      color: var(--white);
      letter-spacing: -0.3px;
      line-height: 1.1;
    }
    
    .logo-sub {
      font-family: var(--font-body);
      font-size: 11px;
      color: var(--navy);
      font-weight: 500;
      letter-spacing: 1.5px;
      text-transform: uppercase;
    }
    
    .nav-links {
      display: flex;
      gap: 32px;
      list-style: none;
      align-items: center;
      margin: 0;
      padding: 0;
    }

    .nav-links > li {
      position: relative;
    }

    /* All nav links — white, DM Sans, ria style */
    .nav-links > li > a {
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      font-weight: 400;
      color: #FFFFFF;
      text-decoration: none;
      letter-spacing: 0.01em;
      white-space: nowrap;
      transition: color 0.2s ease;
      display: flex;
      align-items: center;
      gap: 4px;
      padding: 0;
    }

    .nav-links > li > a:hover {
      color: #6C9ACD;
      text-decoration: none;
    }

    .nav-links > li > a svg {
      width: 14px;
      height: 14px;
      stroke: currentColor;
      transition: transform 0.2s ease;
      flex-shrink: 0;
    }

    .nav-links > li:hover > a svg {
      transform: rotate(180deg);
    }

    /* Contact Us — ria CTA button style (last nav item) */
    .nav-links > li:last-child > a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 45px;
      padding: 0 24px;
      background: transparent;
      color: #FFFFFF;
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      font-weight: 600;
      border: 2px solid #FFFFFF;
      letter-spacing: 0.02em;
      transition: background 0.2s ease, color 0.2s ease;
    }

    .nav-links > li:last-child > a:hover {
      background: rgba(255, 255, 255, 0.1);
      color: #FFFFFF;
    }

    /* Dropdown */
    .nav-dropdown {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%) translateY(-4px);
      background: #FFFFFF;
      min-width: 260px;
      box-shadow: 0 8px 32px rgba(26, 46, 74, 0.15);
      padding-top: 12px;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease 0.15s, transform 0.2s ease 0.15s;
      z-index: 200;
    }

    .nav-dropdown::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 12px;
      background: transparent;
    }

    .nav-links > li:hover .nav-dropdown {
      opacity: 1;
      pointer-events: auto;
      transform: translateX(-50%) translateY(0);
      transition-delay: 0s;
    }

    .nav-dropdown a {
      display: block;
      padding: 14px 20px;
      color: #1A2E4A;
      text-decoration: none;
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      font-weight: 600;
      border-bottom: 1px solid rgba(26, 46, 74, 0.08);
      transition: background 0.15s ease, color 0.15s ease;
    }

    .nav-dropdown a:last-child {
      border-bottom: none;
    }

    .nav-dropdown a:hover {
      background: #F5F8FB;
      color: #2D6FB7;
    }

    .nav-dropdown a span {
      display: block;
      font-size: 12px;
      font-weight: 400;
      color: #526074;
      margin-top: 2px;
    }

    .mobile-menu-btn {
      display: none;
      background: none;
      border: none;
      color: var(--navy-deep);
      cursor: pointer;
      padding: 8px;
    }
    
    /* ─── HERO SECTION ─── */
    .hero-home {
      min-height: 100vh;
      background:
        linear-gradient(135deg, rgba(26, 46, 74, 0.93) 0%, rgba(45, 111, 183, 0.72) 100%),
        url('/wp-content/uploads/2026/03/dallas-skyline.png') center / cover fixed;
      position: relative;
      display: flex;
      align-items: center;
      overflow: hidden;
    }

    @media (max-width: 768px) {
      .hero-home {
        background-attachment: scroll, scroll;
      }
    }
    
    .hero-home::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: radial-gradient(ellipse at 70% 20%, rgba(45, 111, 183, 0.08) 0%, transparent 50%);
      pointer-events: none;
    }
    
    .hero-home::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 200px;
      background: linear-gradient(to top, rgba(26, 46, 74, 0.3), transparent);
      pointer-events: none;
    }
    
    .hero-home .hero-inner {
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 32px 32px 32px;
      position: relative;
      z-index: 1;
    }
    
    .hero-home .hero-content {
      max-width: 800px;
    }
    
    .hero-home .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 100px;
      padding: 10px 20px;
      margin-bottom: 32px;
    }

    .hero-home .hero-badge span {
      font-family: var(--font-body);
      font-size: 13px;
      font-weight: 600;
      color: var(--white);
      letter-spacing: 1px;
      text-transform: uppercase;
    }
    
    .hero-home .hero-title {
      font-family: var(--font-display);
      font-size: clamp(42px, 6vw, 64px);
      font-weight: 600;
      color: var(--white);
      line-height: 1.1;
      letter-spacing: -0.5px;
      margin-bottom: 24px;
    }
    
    .hero-home .hero-title em {
      font-style: italic;
      color: var(--navy-light);
    }

    .hero-home .hero-subtitle {
      font-family: var(--font-display);
      font-size: clamp(20px, 2.5vw, 26px);
      font-weight: 400;
      font-style: italic;
      color: rgba(255, 255, 255, 0.78);
      line-height: 1.4;
      margin-bottom: 48px;
      max-width: 600px;
    }
    
    .hero-home .hero-cta {
      display: flex;
      gap: 20px;
      flex-wrap: wrap;
    }
    
    .btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 16px 32px;
      font-family: var(--font-body);
      font-size: 15px;
      font-weight: 600;
      text-decoration: none;
      border-radius: 8px;
      transition: all var(--transition-base);
      cursor: pointer;
      border: none;
    }
    
    .btn-primary {
      background: var(--gold);
      color: var(--white);
    }
    
    .btn-primary:hover {
      background: var(--gold-light);
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(45, 111, 183, 0.3);
    }
    
    .btn-secondary {
      background: rgba(255, 255, 255, 0.08);
      color: var(--white);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.12);
      border-color: rgba(255, 255, 255, 0.3);
    }
    
    .btn svg {
      width: 18px;
      height: 18px;
    }
    
    /* ─── FUNDS SECTION ─── */
    .funds-section {
      padding: var(--section-gap) 0;
      background: var(--white);
    }

    
    .container {
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 32px;
    }
    
    .section-header {
      text-align: center;
      margin-bottom: 64px;
    }
    
    .section-label {
      font-family: 'DM Sans', sans-serif;
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: #2D6FB7;
      margin-bottom: 12px;
    }

    .section-title {
      font-family: 'Almarai', sans-serif;
      font-size: 42px;
      font-weight: 400;
      color: #1A2E4A;
      line-height: 1.1;
      margin: 0 0 16px;
    }

    .section-subtitle {
      font-family: 'DM Sans', sans-serif;
      font-size: 16px;
      font-weight: 400;
      color: #526074;
      max-width: 680px;
      margin: 0 auto;
      line-height: 1.75;
    }
    
    .funds-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 32px;
    }
    
    .fund-card {
      background: #EAF1F8;
      border-radius: 0;
      padding: 36px 32px;
      text-decoration: none;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
      border: 1px solid transparent;
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .fund-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, #2D6FB7, #7CAFCD);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.25s ease;
    }

    .fund-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 16px 40px rgba(26, 46, 74, 0.12);
    }

    .fund-card:hover::before {
      transform: scaleX(1);
    }

    .fund-header {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 6px;
      margin-bottom: 20px;
    }

    .fund-ticker {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 6px;
    }

    .fund-ticker span {
      display: inline-block;
      font-family: 'DM Sans', sans-serif;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: #2D6FB7;
      background: #ffffff;
      border: 1px solid #2D6FB7;
      border-radius: 0;
      padding: 3px 10px;
    }

    .fund-ticker small {
      display: inline-block;
      font-family: 'DM Sans', sans-serif;
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #526074;
      background: rgba(255,255,255,0.55);
      border: 1px solid #B8CCE0;
      border-radius: 0;
      padding: 3px 10px;
    }

    .fund-type {
      display: inline-block;
      font-family: 'DM Sans', sans-serif;
      font-size: 12px;
      font-weight: 500;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #526074;
      background: rgba(255,255,255,0.55);
      border: 1px solid #B8CCE0;
      border-radius: 0;
      padding: 3px 10px;
    }

    .funds-section .fund-name {
      font-family: 'Almarai', sans-serif;
      font-size: 19px;
      font-weight: 400;
      color: #2D6FB7;
      margin: 0 0 12px;
      line-height: 1.25;
    }

    .fund-description {
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      color: #526074;
      line-height: 1.65;
      margin: 0 0 24px;
      flex: 1;
    }

    .fund-metrics {
      display: none;
    }

    .fund-cta {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      font-weight: 600;
      color: #2D6FB7;
      margin-top: auto;
      transition: gap 0.2s ease, color 0.2s ease;
    }

    .fund-card:hover .fund-cta {
      color: #1A2E4A;
      gap: 10px;
    }

    .fund-cta svg {
      width: 16px;
      height: 16px;
      transition: transform 0.2s ease;
    }

    .fund-card:hover .fund-cta svg {
      transform: translateX(4px);
    }
    
    /* ─── VALUE PROPOSITION ─── */
    .value-section {
      background: #EAF1F8;
      padding: var(--section-gap) 0;
    }

    .value-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .value-card {
      background: #ffffff;
      border-radius: 0;
      padding: 36px 24px;
      text-align: center;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .value-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 32px rgba(26, 46, 74, 0.1);
    }

    .value-icon {
      width: 68px;
      height: 68px;
      margin: 0 auto 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      border: 4.5px solid #2D6FB7;
      background: transparent;
      transition: border-color 0.25s ease, transform 0.25s ease;
    }

    .value-card:hover .value-icon {
      transform: scale(1.08);
    }

    .value-icon svg {
      width: 34px;
      height: 34px;
      transition: color 0.25s ease;
    }

    /* Card 1 — Red */
    .value-card:nth-child(1) .value-icon {
      border-color: #C0392B;
    }
    .value-card:nth-child(1) .value-icon svg {
      color: #C0392B;
    }

    /* Card 2 — Blue */
    .value-card:nth-child(2) .value-icon {
      border-color: #2D6FB7;
    }
    .value-card:nth-child(2) .value-icon svg {
      color: #2D6FB7;
    }

    /* Card 3 — Green */
    .value-card:nth-child(3) .value-icon {
      border-color: #27AE60;
    }
    .value-card:nth-child(3) .value-icon svg {
      color: #27AE60;
    }

    .value-title {
      font-family: 'Almarai', sans-serif;
      font-size: 18px;
      font-weight: 400;
      color: #1A2E4A;
      margin: 0 0 10px;
      line-height: 1.2;
    }

    .value-description {
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      color: #526074;
      line-height: 1.65;
      margin: 0;
    }
    
    /* ─── TAGLINE SECTION ─── */
    .tagline-section {
      padding: 100px 0;
      background:
        linear-gradient(rgba(26, 46, 74, 0.82), rgba(26, 46, 74, 0.82)),
        url('/wp-content/uploads/2026/03/oklahoma-city.png') center / cover;
      position: relative;
      overflow: hidden;
    }

    .tagline-content {
      max-width: 860px;
      margin: 0 auto;
      text-align: center;
      position: relative;
      z-index: 1;
    }

    .tagline-text {
      font-family: 'Almarai', sans-serif;
      font-size: 38px;
      font-weight: 300;
      color: #ffffff;
      line-height: 1.3;
      margin-bottom: 10px;
    }

    .tagline-emphasis {
      font-family: 'Almarai', sans-serif;
      font-size: 38px;
      font-weight: 400;
      font-style: normal;
      color: #7CAFCD;
    }
    
    /* ─── CONTACT SECTION ─── */
    .contact-section {
      padding: var(--section-gap) 0;
      background: var(--cream);
    }
    
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      align-items: center;
    }
    
    .contact-content h2 {
      font-family: var(--font-display);
      font-size: 36px;
      font-weight: 600;
      color: var(--navy-deep);
      margin-bottom: 20px;
    }
    
    .contact-content p {
      font-size: 17px;
      color: var(--text-muted);
      line-height: 1.8;
      margin-bottom: 32px;
    }
    
    .contact-info {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    
    .contact-item {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    
    .contact-item-icon {
      width: 48px;
      height: 48px;
      background: linear-gradient(135deg, var(--navy-deep), var(--gold));
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .contact-item-icon svg {
      width: 22px;
      height: 22px;
      color: var(--white);
    }
    
    .contact-item-text {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    
    .contact-item-label {
      font-size: 12px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: var(--gold);
    }
    
    .contact-item-value {
      font-size: 17px;
      font-weight: 500;
      color: var(--navy-deep);
    }
    
    .contact-item-value a {
      color: inherit;
      text-decoration: none;
      transition: color var(--transition-base);
    }
    
    .contact-item-value a:hover {
      color: var(--gold-muted);
    }
    
    .contact-card {
      background: var(--white);
      border-radius: 16px;
      padding: 48px;
      box-shadow: var(--shadow-md);
    }
    
    .contact-card h3 {
      font-family: var(--font-display);
      font-size: 24px;
      font-weight: 600;
      color: var(--navy-deep);
      margin-bottom: 12px;
    }
    
    .contact-card p {
      font-size: 15px;
      color: var(--text-muted);
      margin-bottom: 28px;
    }
    
    .contact-card .btn {
      width: 100%;
      justify-content: center;
    }
    
    /* ─── CONTACT PAGE ─── */
    .contact-hero {
      position: relative;
      padding: 140px 0 90px;
      min-height: 380px;
      background:
        linear-gradient(rgba(26, 46, 74, 0.82), rgba(26, 46, 74, 0.82)),
        url('/wp-content/uploads/2026/03/dallas-skyline.png') center / cover;
      text-align: center;
      color: var(--white);
    }

    body.admin-bar .contact-hero {
      padding-top: 172px;
    }

    .contact-hero-inner {
      max-width: 680px;
      margin: 0 auto;
      padding: 0 24px;
    }

    .contact-hero .section-label {
      color: #7CAFCD;
      font-family: 'DM Sans', sans-serif;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      margin-bottom: 20px;
    }

    .contact-hero-title {
      font-family: 'Almarai', sans-serif;
      font-size: clamp(38px, 5vw, 58px);
      font-weight: 400;
      line-height: 1.1;
      color: var(--white);
      margin-bottom: 22px;
    }

    .contact-hero-title em {
      font-style: normal;
      color: #7CAFCD;
    }

    .contact-hero-sub {
      font-size: 17px;
      line-height: 1.75;
      color: rgba(248, 246, 241, 0.78);
    }

    .contact-page-section {
      padding: 80px 0 100px;
      background: #ffffff;
    }

    /* Info cards row */
    .contact-info-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
      margin-bottom: 72px;
    }

    .contact-info-card {
      background: #EAF1F8;
      border-radius: 0;
      padding: 40px 32px;
      text-align: center;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .contact-info-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 32px rgba(26, 46, 74, 0.1);
    }

    .cic-icon {
      width: 64px;
      height: 64px;
      background: transparent;
      border-radius: 50%;
      border: 4.5px solid #2D6FB7;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
    }

    .cic-icon svg {
      width: 26px;
      height: 26px;
      color: #2D6FB7;
    }

    .cic-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 10px;
    }

    .cic-value {
      display: block;
      font-size: 18px;
      font-weight: 600;
      color: var(--navy-deep);
      text-decoration: none;
      line-height: 1.4;
      margin-bottom: 8px;
      transition: color var(--transition-base);
    }

    a.cic-value:hover {
      color: var(--gold-muted);
    }

    .cic-note {
      font-size: 13px;
      color: var(--text-light);
      margin: 0;
    }

    /* Form section */
    .contact-form-wrap {
      max-width: 760px;
      margin: 0 auto;
      background: var(--white);
      border-radius: 0;
      box-shadow: 0 8px 40px rgba(26, 46, 74, 0.1);
      overflow: hidden;
    }

    .contact-form-header {
      background: #1A2E4A;
      padding: 44px 52px 40px;
      text-align: center;
    }

    .contact-form-header h2 {
      font-family: 'Almarai', sans-serif;
      font-size: 34px;
      font-weight: 400;
      color: var(--white);
      margin-bottom: 10px;
    }

    .contact-form-header p {
      font-size: 16px;
      color: rgba(248, 246, 241, 0.72);
      margin: 0;
    }

    .contact-form-body {
      padding: 44px 52px 52px;
    }

    /* ── Custom contact form ── */
    .slw-form-message {
      padding: 14px 18px;
      border-radius: 0;
      font-size: 15px;
      font-weight: 500;
      margin-bottom: 24px;
    }

    .slw-form-message--success {
      background: #ecfdf5;
      border: 1px solid #6ee7b7;
      color: #065f46;
    }

    .slw-form-message--error {
      background: #fef2f2;
      border: 1px solid #fca5a5;
      color: #991b1b;
    }

    .slw-form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px 24px;
    }

    .slw-form-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .slw-form-group--full {
      grid-column: 1 / -1;
    }

    .slw-form-label {
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.5px;
      color: var(--navy-deep);
    }

    .slw-required { color: var(--gold); margin-left: 2px; }

    .slw-optional {
      font-size: 12px;
      font-weight: 400;
      color: var(--navy);
    }

    .slw-form-control {
      width: 100%;
      padding: 12px 16px;
      border: 1.5px solid rgba(26, 46, 74, 0.14);
      border-radius: 0;
      font-family: 'DM Sans', sans-serif;
      font-size: 15px;
      color: #1A2E4A;
      background: #EAF1F8;
      transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
      outline: none;
      appearance: none;
    }

    .slw-form-control:focus {
      border-color: #2D6FB7;
      box-shadow: 0 0 0 3px rgba(45, 111, 183, 0.12);
      background: var(--white);
    }

    .slw-form-control.slw-invalid {
      border-color: #f87171;
      box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
    }

    .slw-form-textarea {
      resize: vertical;
      min-height: 130px;
    }

    .slw-field-error {
      font-size: 12px;
      color: #dc2626;
      font-weight: 500;
    }

    .slw-form-footer {
      margin-top: 24px;
    }

    .slw-form-submit {
      width: 100%;
      padding: 15px 32px;
      background: #2D6FB7;
      color: var(--white);
      border: none;
      border-radius: 0;
      font-family: 'DM Sans', sans-serif;
      font-size: 15px;
      font-weight: 600;
      letter-spacing: 0.5px;
      cursor: pointer;
      transition: background 0.2s ease, transform 0.15s ease;
    }

    .slw-form-submit:hover {
      background: #1A2E4A;
      transform: translateY(-1px);
    }

    .slw-form-submit:disabled {
      opacity: 0.6;
      cursor: not-allowed;
      transform: none;
    }

    .slw-form-privacy {
      font-size: 12px;
      color: var(--navy);
      margin-top: 12px;
      line-height: 1.5;
    }

    /* ─── FOOTER ─── */
    .site-footer {
      background: #1A2E4A;
      color: var(--white);
      padding: 64px 0 40px;
    }
    
    .footer-inner {
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 32px;
    }
    
    .footer-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 48px;
      padding-bottom: 48px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-brand {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    
    .footer-logo {
      display: flex;
      align-items: center;
    }
    
    /* Footer logo image - responsive */
    .footer-logo img {
      height: 80px;
      width: auto;
      max-width: 100%;
      display: block;
    }
    
    .footer-tagline {
      font-family: var(--font-display);
      font-size: 16px;
      color: var(--cream);
      font-weight: 500;
      font-style: italic;
    }

    .footer-contact {
      text-align: right;
    }

    .footer-phone {
      font-family: var(--font-display);
      font-size: 22px;
      font-weight: 600;
      color: var(--cream);
      text-decoration: none;
      transition: color var(--transition-base);
    }

    .footer-phone:hover {
      color: var(--white);
    }
    
    .footer-address {
      font-size: 14px;
      color: rgba(255, 255, 255, 0.6);
      margin-top: 10px;
      line-height: 1.6;
    }
    
    .footer-legal {
      font-size: 12px;
      color: rgba(255, 255, 255, 0.5);
      line-height: 1.8;
      margin-bottom: 32px;
    }
    
    .footer-legal p {
      margin-bottom: 16px;
    }
    
    .footer-legal strong {
      color: rgba(255, 255, 255, 0.7);
    }
    
    .footer-legal a {
      color: var(--navy-light);
      text-decoration: underline;
    }

    .footer-legal a:hover {
      color: var(--white);
    }
    
    .fdic-notice {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      padding-top: 24px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .fdic-item {
      font-size: 11px;
      color: rgba(255, 255, 255, 0.7);
      padding: 10px 16px;
      background: rgba(255, 255, 255, 0.04);
      border-radius: 6px;
      font-weight: 500;
    }
    
    .footer-bottom {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-top: 24px;
      font-size: 13px;
      color: rgba(255, 255, 255, 0.5);
    }
	
	.contact-wrapper{
		padding: 140px 0;
      	background: var(--cream);
	}
    
    /* ─── HERO TEXT ANIMATIONS (page load) ─── */
    @keyframes heroFadeUp {
      from { opacity: 0; transform: translateY(22px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .hero-badge    { animation: heroFadeUp 0.55s ease 0.15s both; }
    .hero-title    { animation: heroFadeUp 0.65s ease 0.35s both; }
    .hero-subtitle { animation: heroFadeUp 0.55s ease 0.55s both; }
    .hero-cta      { animation: heroFadeUp 0.55s ease 0.70s both; }

    /* ─── SCROLL ANIMATIONS ─── */
    .animate-ready {
      opacity: 0;
      transform: translateY(28px);
      transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
                  transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .animate-ready.in-view {
      opacity: 1;
      transform: translateY(0);
    }

    .animate-ready.delay-1 { transition-delay: 0.10s; }
    .animate-ready.delay-2 { transition-delay: 0.20s; }
    .animate-ready.delay-3 { transition-delay: 0.32s; }
    .animate-ready.delay-4 { transition-delay: 0.44s; }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 1024px) {
      .value-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
      }

      .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
      }

      /* reduce 140px desktop padding to something more balanced at tablet */
      .contact-wrapper {
        padding: 80px 0;
      }
    }
    
    @media (max-width: 768px) {
      .header-inner {
        height: 72px;
        padding: 0 20px;
      }
      
      .logo-text {
        font-size: 20px;
      }
      
      .nav-links {
        display: none;
      }
      
      .mobile-menu-btn {
        display: block;
      }
      
      .hero-inner {
        padding: 120px 20px 80px;
      }
      
      .hero-cta {
        flex-direction: column;
      }
      
      .btn {
        width: 100%;
        justify-content: center;
      }
      
      .container {
        padding: 0 20px;
      }
      
      .fund-card {
        padding: 28px;
      }
      
      .fund-metrics {
        grid-template-columns: 1fr;
        gap: 16px;
      }
      
      .fund-metric {
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      
      .footer-top {
        flex-direction: column;
        gap: 32px;
      }
      
      .footer-contact {
        text-align: left;
      }
      
      .fdic-notice {
        flex-direction: column;
      }
      
      .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
      }

      .funds-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .value-grid {
        grid-template-columns: 1fr;
        gap: 24px;
      }

      .contact-wrapper {
        padding: 60px 0;
      }

      .contact-page-section {
        padding: 52px 0 64px;
      }

      .footer-logo img {
        height: 48px;
      }

      .footer-inner {
        padding: 0 20px;
      }

      /* Disable CSS parallax on mobile (iOS doesn't support background-attachment:fixed) */
      .tagline-section,
      .value-section {
        background-attachment: scroll, scroll;
      }

      .tagline-section {
        padding: 80px 0;
      }
    }

/* ─── DESKTOP LOGO ─── */
.logo-icon img {
  height: 60px !important;
  width: auto !important;
  display: block !important;
  max-width: none !important;
}

.logo-icon {
  width: auto !important;
  height: auto !important;
  background: none !important;
  border-radius: 0 !important;
}


/* ─── MOBILE MENU ─── */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn svg line {
  stroke: #ffffff;
}

/* Hamburger button active state (X icon) */
.mobile-menu-btn svg {
  transition: transform var(--transition-base);
}

.mobile-menu-btn.active svg {
  transform: rotate(90deg);
}

/* Mobile nav overlay */
@media (max-width: 768px) {
  /* Mobile menu button shown */
  .mobile-menu-btn {
    display: block;
  }

  /* Nav panel - hidden by default */
  nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #1A2E4A;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
    z-index: 998;
  }

  /* Nav open state */
  nav.mobile-open {
    max-height: 600px;
    padding: 8px 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  }
  
  .nav-links {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }
  
  /* Top-level nav items */
  .nav-links > li > a {
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--white) !important;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background var(--transition-fast), color var(--transition-fast);
  }

  .nav-links > li > a:hover,
  .nav-links > li.open > a {
    background: rgba(255, 255, 255, 0.07);
    color: var(--cream) !important;
  }
  
  /* Reset Contact Us button to plain nav-link on mobile */
  .nav-links > li:last-child > a {
    display: flex;
    width: 100%;
    height: auto;
    padding: 16px 24px;
    border: none;
    border-bottom: none;
    justify-content: flex-start;
  }

  /* Chevron arrow */
  .nav-links > li > a svg {
    width: 14px;
    height: 14px;
    color: var(--white);
    stroke: var(--white);
    flex-shrink: 0;
  }

  /* Rotate arrow when open */
  .nav-links > li.open > a svg {
    transform: rotate(180deg);
  }
  
  /* Mobile dropdown - desktop-inspired styling */
  .nav-dropdown {
    position: static !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    min-width: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: rgba(255, 255, 255, 0.05) !important;
    margin: 0 !important;
    transition: none !important;
    display: none !important;
    border-left: 3px solid var(--gold) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  }
  
  .nav-links > li.open .nav-dropdown {
    display: block !important;
  }
  
  /* Dropdown links - desktop card feel */
  .nav-dropdown a {
    display: flex !important;
    flex-direction: column !important;
    padding: 14px 24px 14px 28px !important;
    color: var(--cream) !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-left: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: transparent !important;
    transition: background var(--transition-fast), color var(--transition-fast) !important;
  }

  .nav-dropdown a:last-child {
    border-bottom: none !important;
  }

  .nav-dropdown a:hover {
    background: rgba(255, 255, 255, 0.07) !important;
    color: var(--white) !important;
  }

  /* Sub-item description text */
  .nav-dropdown a span {
    display: block !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.5) !important;
    margin-top: 3px !important;
  }

  .nav-dropdown a:hover span {
    color: rgba(255, 255, 255, 0.65) !important;
  }
  
  .nav-dropdown::before {
    display: none !important;
  }
  
  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }
  
  /* Logo sizing on mobile */
  .logo-icon img {
    height: 44px !important;
    width: auto !important;
  }

  /* Contact page - mobile */
  .contact-hero {
    padding: 108px 0 60px;
    background-attachment: scroll, scroll;
  }

  .contact-hero-title {
    font-size: 38px;
  }

  .contact-info-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 48px;
  }

  .contact-info-card {
    padding: 32px 24px;
  }

  .contact-form-wrap {
    border-radius: 14px;
  }

  .contact-form-header {
    padding: 32px 28px 28px;
  }

  .contact-form-header h2 {
    font-size: 26px;
  }

  .contact-form-body {
    padding: 28px 24px 36px;
  }

  .slw-form-grid {
    grid-template-columns: 1fr;
  }

  /* Home page section headers */
  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 34px;
  }

  .section-subtitle {
    font-size: 15px;
  }

  .hero-home .hero-inner {
    padding: 110px 20px 80px;
  }

  .hero-home .hero-badge {
    margin-bottom: 24px;
    padding: 8px 16px;
  }

  /* Value cards layout */
  .value-grid {
    gap: 16px;
  }

  .value-card {
    padding: 28px 20px;
  }

  /* Contact section */
  .contact-grid {
    gap: 36px;
  }

  .tagline-text,
  .tagline-emphasis {
    font-size: 28px;
  }
}

/* ── Extra-small phones (≤ 480px) ── */
@media (max-width: 480px) {
  .header-inner {
    padding: 0 16px;
    height: 64px;
  }

  .logo-icon img {
    height: 36px !important;
  }

  .hero-home .hero-inner {
    padding: 96px 16px 64px;
  }

  .hero-home .hero-title {
    font-size: clamp(30px, 8vw, 42px);
  }

  .hero-home .hero-subtitle {
    font-size: 17px;
    margin-bottom: 36px;
  }

  .hero-home .hero-badge span {
    font-size: 11px;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-title {
    font-size: 32px;
  }

  .fund-card {
    padding: 24px 20px;
  }

  .fund-metrics {
    gap: 12px;
  }

  .value-card {
    padding: 24px 16px;
  }

  .btn {
    padding: 14px 24px;
    font-size: 14px;
  }

  .container {
    padding: 0 16px;
  }

  .funds-section,
  .value-section {
    padding: 60px 0;
  }

  .tagline-section {
    padding: 60px 0;
  }

  nav {
    top: 64px;
  }

  .footer-inner {
    padding: 0 16px;
  }

  .contact-page-section {
    padding: 40px 0 52px;
  }
}
