/* ===================================
   All About Finance - Exact Replica
   Colors: #27477C (primary blue), #fcd214 (accent yellow)
   Fonts: Raleway (headings), Poppins (nav), Roboto (body)
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Raleway:wght@400;500;600;700;800;900&family=Roboto:wght@300;400;500;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --primary: #27477C;
  --primary-light: #0073b9;
  --primary-dark: #1a3260;
  --accent: #fcd214;
  --accent-hover: #e5be00;
  --white: #ffffff;
  --light-bg: #f5f5f5;
  --text-dark: #27477C;
  --text-body: #444444;
  --text-muted: #6c757d;
  --heading-font: 'Raleway', sans-serif;
  --nav-font: 'Poppins', sans-serif;
  --body-font: 'Roboto', sans-serif;
  --shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --radius: 8px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---- Section Common ---- */
.section { padding: 80px 0; position: relative; }

.section-title {
  text-align: left;
  margin-bottom: 50px;
}

.section-title .subtitle {
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 2px;
}

.section-title .subtitle::after {
  content: '';
  display: inline-block;
  width: 60px;
  height: 3px;
  background: var(--accent);
}

.section-title h2 {
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 2px 0 10px;
  color: var(--text-dark);
}

.section-title p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 700px;
}

.light-background { background: var(--light-bg); position: relative; }

/* Decorative brushes on secondary pages - 3 singles, spread out */
.page-hero ~ .section { overflow: hidden; }

/* Section 3: ORANGE - bottom left */
.page-hero ~ .section:nth-of-type(3)::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 300px;
  background: url('../assets/img/left-orange-brush.png') bottom left / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}

/* Section 6: BLUE - top right */
.page-hero ~ .section:nth-of-type(6)::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 280px;
  background: url('../assets/img/left-blue-brush.png') top right / contain no-repeat;
  transform: scaleX(-1);
  pointer-events: none;
  z-index: 0;
}

/* Section 9: ORANGE - top right (mirrored) */
.page-hero ~ .section:nth-of-type(9)::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 300px;
  background: url('../assets/img/left-orange-brush.png') bottom right / contain no-repeat;
  transform: scaleX(-1);
  pointer-events: none;
  z-index: 0;
}

/* CTA sections: only white brush left, no orange/blue */
.cta-section::before {
  background: url('../assets/img/left-white-brush.png') top left / contain no-repeat !important;
  transform: scaleY(-1) !important;
  bottom: auto !important;
  top: 0 !important;
  width: 200px !important;
  height: 300px !important;
}
.cta-section::after {
  background: url('../assets/img/left-white-brush.png') bottom right / contain no-repeat !important;
  transform: scaleX(-1) !important;
  top: auto !important;
  bottom: 0 !important;
  width: 200px !important;
  height: 300px !important;
}

/* Hide brushes on mobile */
@media (max-width: 767px) {
  .page-hero ~ .section::after,
  .page-hero ~ .section::before { display: none !important; }
}

/* ===== HEADER / NAVBAR ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: transparent;
  padding: 18px 0;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(20, 35, 55, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
  padding: 8px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .logo img {
  height: 55px;
}

.header .logo {
  display: flex;
  align-items: center;
}

/* Navigation */
.navmenu ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navmenu a {
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  padding: 8px 18px;
  border-radius: 4px;
  transition: var(--transition);
}

.navmenu a:hover,
.navmenu a.active {
  color: var(--accent);
}

.btn-getstarted {
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary) !important;
  background: var(--accent);
  padding: 10px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.btn-getstarted:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(252, 210, 20, 0.4);
}

/* Mobile menu toggle */
.mobile-nav-toggle {
  display: none;
  font-size: 28px;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
}

.hero-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(39, 71, 124, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-size: 52px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

/* Hero Category Cards */
.hero-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 25px;
  text-align: center;
  width: 160px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.hero-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.hero-card:hover .card-title {
  color: var(--accent);
}

.hero-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 12px;
  object-fit: contain;
}

.hero-card .card-title {
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
  transition: var(--transition);
}

/* Hero SVG Wave */
.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 5;
  min-height: 40px;
}

.hero-waves .wave1 use { fill: rgba(255,255,255,0.15); animation: wave-move 25s linear infinite; }
.hero-waves .wave2 use { fill: rgba(255,255,255,0.08); animation: wave-move 20s linear infinite reverse; }
.hero-waves .wave3 use { fill: var(--white); animation: wave-move 15s linear infinite; }

@keyframes wave-move {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== FINANCIAL STEPS (Baby Steps) ===== */
.baby-steps-section {
  padding: 80px 0;
  position: relative;
  background: url('../assets/img/white-brush-large.png') center center / contain no-repeat;
  min-height: 600px;
}

.baby-steps-section .section-title {
  text-align: center;
}

.baby-steps-section .section-title h2 {
  display: inline;
}

.baby-steps-section .section-title .subtitle {
  display: block;
  text-align: left;
  max-width: 560px;
  margin: 0 auto 2px;
}

.baby-steps-section .section-title p {
  max-width: 520px;
  margin: 0 auto;
}

.baby-steps-section .section-title h2 {
  font-size: 32px;
  display: block;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  max-width: 880px;
  margin: 0 auto;
  align-items: center;
  row-gap: 8px;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 15px;
}

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 0;
}

/* Outlined block arrow style */
.step-arrow svg {
  width: 38px;
  height: 28px;
  fill: none;
  stroke: var(--text-dark);
  stroke-width: 2;
  opacity: 0.3;
}

/* Grid placement: 1→2, ↓, 3, ↓, 5←4, ↓, 6, ↓, 7→8 */
.steps-grid > *:nth-child(1)  { grid-row: 1; grid-column: 1; }  /* step 1 */
.steps-grid > *:nth-child(2)  { grid-row: 1; grid-column: 2; }  /* → */
.steps-grid > *:nth-child(3)  { grid-row: 1; grid-column: 3; }  /* step 2 */
.steps-grid > *:nth-child(4)  { grid-row: 2; grid-column: 3; justify-self: center; }  /* ↓ */
.steps-grid > *:nth-child(5)  { grid-row: 3; grid-column: 3; }  /* step 3 */
.steps-grid > *:nth-child(6)  { grid-row: 4; grid-column: 3; justify-self: center; }  /* ↓ between 3→4 */
.steps-grid > *:nth-child(7)  { grid-row: 5; grid-column: 1; }  /* step 5 */
.steps-grid > *:nth-child(8)  { grid-row: 5; grid-column: 2; }  /* ← */
.steps-grid > *:nth-child(9)  { grid-row: 5; grid-column: 3; }  /* step 4 */
.steps-grid > *:nth-child(10) { grid-row: 6; grid-column: 1; justify-self: center; }  /* ↓ */
.steps-grid > *:nth-child(11) { grid-row: 7; grid-column: 1; }  /* step 6 */
.steps-grid > *:nth-child(12) { grid-row: 8; grid-column: 1; justify-self: center; }  /* ↓ */
.steps-grid > *:nth-child(13) { grid-row: 9; grid-column: 1; }  /* step 7 */
.steps-grid > *:nth-child(14) { grid-row: 9; grid-column: 2; }  /* → */
.steps-grid > *:nth-child(15) { grid-row: 9; grid-column: 3; }  /* step 8 */

.step-number {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Step number colors */
.step-item[data-step="1"] .step-number { background: #2980b9; }
.step-item[data-step="2"] .step-number { background: #27ae60; }
.step-item[data-step="3"] .step-number { background: #2ecc71; }
.step-item[data-step="4"] .step-number { background: #f1c40f; }
.step-item[data-step="5"] .step-number { background: #e67e22; }
.step-item[data-step="6"] .step-number { background: #e74c3c; }
.step-item[data-step="7"] .step-number { background: #c0392b; }
.step-item[data-step="8"] .step-number { background: #8e6b3e; }

.step-content h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 3px;
}

.step-content p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .step-item {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
  .step-arrow { display: none; }
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  margin-top: 15px;
  position: relative;
  background:
    url('../assets/img/bg-swash.png') center center / 70% no-repeat scroll,
    url('../assets/img/white-brush-horizontal.png') center bottom -1px no-repeat scroll;
  background-color: rgb(0, 115, 185);
  overflow: hidden;
  padding: 100px 0 100px;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 50px;
  background: url('../assets/img/white-brush-horizontal.png') center top / cover no-repeat;
  transform: rotate(180deg);
  z-index: 1;
}

.testimonials .section-title .subtitle,
.testimonials .section-title h2,
.testimonials .section-title p,
.pricing .section-title .subtitle,
.pricing .section-title h2,
.pricing .section-title p {
  color: var(--white);
}

.testimonials .section-title .subtitle::after {
  background: var(--accent);
}

.testimonial-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius);
  padding: 30px 28px;
  border: 1px solid rgba(255,255,255,0.18);
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.testimonial-card .name {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.testimonial-card .role {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}

.testimonial-card .stars {
  color: var(--accent);
  font-size: 16px;
  margin-bottom: 18px;
  letter-spacing: 2px;
}

.testimonial-card .quote-open,
.testimonial-card .quote-close {
  display: none;
}

.testimonial-card .text {
  font-size: 14px;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  position: relative;
}

.testimonial-card .text::before {
  content: '\201C';
  color: var(--accent);
  font-size: 28px;
  font-family: Georgia, serif;
  opacity: 0.8;
  margin-right: 2px;
  vertical-align: text-top;
  line-height: 0.8;
}

.testimonial-card .text::after {
  content: '\201D';
  color: var(--accent);
  font-size: 28px;
  font-family: Georgia, serif;
  opacity: 0.8;
  margin-left: 2px;
  vertical-align: text-bottom;
  line-height: 0.8;
}

/* Swiper pagination bullets */
.testimonials .swiper-pagination-bullet {
  background: rgba(255,255,255,0.5);
  opacity: 1;
  width: 10px;
  height: 10px;
}
.testimonials .swiper-pagination-bullet-active {
  background: var(--accent);
}

/* ===== CONSULTATION FORM ===== */
.consultation {
  padding: 80px 0;
  position: relative;
  background: url('../assets/img/top-brush-white.svg') top center / 100% auto no-repeat,
              url('../assets/img/bottom-brush-white.svg') bottom center / 100% auto no-repeat;
  background-color: var(--light-bg);
}

.consultation-wrapper {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border-top: 4px solid var(--primary);
}

.consultation-left {
  padding: 50px 40px;
}

.consultation-left h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.consultation-left p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.7;
}

.stats-row {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.stat-item .number {
  font-family: var(--heading-font);
  font-size: 42px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.stat-item .label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 5px;
}

.consultation-right {
  padding: 50px 40px;
  background: var(--white);
}

.consultation-right h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.consultation-right .subtitle-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  font-family: var(--body-font);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(39, 71, 124, 0.1);
}

.form-group input::placeholder {
  color: #aaa;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: var(--primary);
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(252, 210, 20, 0.4);
}

/* ===== PRICING ===== */
.pricing {
  position: relative;
  background:
    url('../assets/img/white-brush-horizontal.png') center bottom -1px no-repeat scroll,
    url('../assets/img/background-global-2.jpg') center center / cover no-repeat scroll,
    linear-gradient(#0073b9, #005b98);
  background-color: #0073b9;
  margin-top: 10px;
  padding: 80px 0 80px;
}

.pricing::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 50px;
  background: url('../assets/img/white-brush-horizontal.png') center top / cover no-repeat;
  transform: rotate(180deg);
  z-index: 1;
}

.pricing .container { position: relative; z-index: 1; }

.pricing-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 35px 30px;
  height: 100%;
  color: var(--white);
  transition: var(--transition);
}

.pricing-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-5px);
}

.pricing-card .plan-name {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 15px;
}

.pricing-card .price {
  margin-bottom: 20px;
}

.pricing-card .price .currency {
  font-size: 16px;
  font-weight: 400;
  vertical-align: top;
}

.pricing-card .price .amount {
  font-family: var(--heading-font);
  font-size: 52px;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.pricing-card .price .period {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.pricing-card .features {
  list-style: none;
  padding: 0;
}

.pricing-card .features li {
  padding: 8px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  line-height: 1.6;
}

.pricing-card .features li:last-child { border-bottom: none; }

.pricing-card .features li i {
  color: var(--accent);
  margin-right: 8px;
}

/* ===== ABOUT ===== */
.about {
  padding: 80px 0;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.5;
}

.about-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 15px;
}

.about-text p strong {
  color: var(--text-dark);
}

/* Values Cards Section */
.values-section {
  background:
    url('../assets/img/left-orange-brush.png') bottom left / 300px no-repeat scroll,
    url('../assets/img/ramsey-bottom-brush.png') top -2px center / contain no-repeat scroll,
    url('../assets/img/ramsey-top-brush.png') bottom -2px center / contain no-repeat scroll,
    url('../assets/img/blue-grain-bg.png') top left / cover no-repeat scroll,
    #fff;
  padding: 80px 0;
  margin-top: 30px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid #eee;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.value-card .icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(252, 210, 20, 0.12);
}

.value-card .icon i {
  font-size: 28px;
  color: var(--accent);
}

.value-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.value-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ===== FAQ ===== */
.faq {
  padding: 80px 0;
}

.faq .section-title {
  text-align: center;
}

.faq .section-title .subtitle {
  justify-content: center;
  margin-bottom: 5px;
}

.faq .section-title h2 {
  white-space: normal;
  text-align: center;
}

.accordion-item {
  border: none;
  border-top: 1px solid #e0e0e0;
  background: transparent;
}

.accordion-item:last-child {
  border-bottom: 1px solid #e0e0e0;
}

.accordion-button {
  font-family: var(--heading-font);
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  padding: 22px 0;
  background: transparent;
  border: none;
  box-shadow: none !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-button:not(.collapsed) {
  color: var(--primary);
  background: transparent;
}

.accordion-button::after {
  content: '+';
  background-image: none !important;
  font-size: 24px;
  font-weight: 300;
  color: var(--text-dark);
  width: auto;
  height: auto;
  transform: none !important;
}

.accordion-button:not(.collapsed)::after {
  content: '\2013';
}

.accordion-body {
  padding: 0 0 22px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
}

/* ===== TEAM ===== */
.team {
  padding: 80px 0;
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
}

.team::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 400px;
  background: url('../assets/img/left-orange-brush.png') bottom right / contain no-repeat;
  transform: scaleX(-1);
  pointer-events: none;
  z-index: 0;
}

.team .container {
  position: relative;
  z-index: 1;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  position: relative;
  z-index: 1;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.team-card .photo {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.team-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-card:hover .photo img {
  transform: scale(1.05);
}

.team-card .social-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(39, 71, 124, 0.85);
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  transform: translateY(100%);
  transition: var(--transition);
  z-index: 5;
}

.team-card:hover .social-overlay,
.team-card .photo:hover .social-overlay {
  transform: translateY(0);
}

.team-card .social-overlay a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 16px;
  transition: var(--transition);
}

.team-card .social-overlay a:hover {
  background: var(--accent);
  color: var(--primary);
}

.team-card .info {
  padding: 25px;
}

.team-card .info h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.team-card .info .position {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}

.team-card .info p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ===== CONTACT ===== */
.contact {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 250px;
  height: 350px;
  background: url('../assets/img/left-blue-brush.png') bottom left / contain no-repeat;
  pointer-events: none;
  z-index: 0;
}
.contact .container {
  position: relative;
  z-index: 1;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-info-item .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(252, 210, 20, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item .icon i {
  font-size: 20px;
  color: var(--accent);
}

.contact-info-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-info-item p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(180deg, #1e2d3d 0%, #1a2732 100%);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 20px;
}

.footer-mobile { display: none; }

.footer h4 {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer p, .footer li {
  font-size: 14px;
  line-height: 1.8;
}

.footer ul li a {
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  transition: var(--transition);
  padding: 0;
}

.footer ul li a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer a:hover {
  color: var(--accent);
}

.footer .footer-logo img {
  height: 60px;
  margin-bottom: 15px;
}

.footer .social-links {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.footer .social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
}

.footer .social-links a:hover {
  background: var(--accent);
  color: var(--primary);
  padding-left: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  background: rgba(0,0,0,0.15);
  margin-left: -9999px;
  margin-right: -9999px;
  padding-left: 9999px;
  padding-right: 9999px;
  padding-bottom: 20px;
}

.footer-bottom strong {
  color: var(--accent);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 999;
  cursor: pointer;
  border: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
}

/* ===== SUBPAGE HERO ===== */
.page-hero {
  background: linear-gradient(rgba(39, 71, 124, 0.9), rgba(39, 71, 124, 0.9)),
              url('../assets/img/background-global-2.jpg') center / cover;
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 50px;
  background: url('../assets/img/white-brush-horizontal.png') center bottom / cover no-repeat;
  z-index: 1;
}
/* Default: brush on RIGHT side */
.page-hero::before {
  content: '';
  position: absolute;
  bottom: 20px;
  right: 0;
  width: 200px;
  height: 300px;
  background: url('../assets/img/left-white-brush.png') bottom right / contain no-repeat;
  transform: scaleX(-1);
  pointer-events: none;
  z-index: 0;
}
/* Variant: brush on LEFT side */
.page-hero.brush-left::before {
  right: auto;
  left: 0;
  transform: none;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 15px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 650px;
  margin: 0 auto;
}

/* Feature cards for subpages */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid #eee;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.feature-card .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.feature-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* CTA section for subpages */
.cta-section {
  background: linear-gradient(rgba(39, 71, 124, 0.92), rgba(39, 71, 124, 0.95)),
              url('../assets/img/background-global-2.jpg') center / cover;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 300px;
  background: url('../assets/img/left-white-brush.png') top left / contain no-repeat;
  transform: scaleY(-1);
  pointer-events: none;
  z-index: 0;
}

.cta-section h2 {
  color: var(--white);
  font-size: 32px;
  margin-bottom: 15px;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 25px;
  font-size: 16px;
}

/* ===== BLOG ===== */
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.blog-card-img {
  display: block;
  height: 220px;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}
.blog-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), #1d3660);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 50px;
}
.blog-card-body {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.blog-cat {
  background: rgba(39, 71, 124, 0.1);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.blog-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.blog-card-body h3 a {
  color: inherit;
  text-decoration: none;
}
.blog-card-body h3 a:hover {
  color: var(--primary);
}
.blog-card-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}
.blog-read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}
.blog-read-more:hover {
  color: var(--accent);
  gap: 10px;
}
.blog-single .blog-block-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
}
.blog-single .blog-block-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.blog-single .blog-block-content h2,
.blog-single .blog-block-content h3,
.blog-single .blog-block-content h4 {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 15px;
}
.blog-single .blog-block-content ul,
.blog-single .blog-block-content ol {
  padding-left: 20px;
}
.blog-single .blog-block-content p {
  margin-bottom: 15px;
}
.blog-row {
  margin-bottom: 20px;
}

/* ===== BLOG PREVIEW (Homepage - Ramsey Style) ===== */
#blog-preview {
  position: relative;
  padding: 0 0 80px;
  overflow: visible;
}
#blog-preview .blog-hero-band {
  background:
    url('../assets/img/re-brush-transition-bottom-white.png') bottom center / contain no-repeat,
    url('../assets/img/blog-hero-bg.jpg') center / cover no-repeat,
    #004477;
  padding: 80px 0 140px;
  position: relative;
  text-align: left;
}
#blog-preview .blog-hero-band .section-title {
  text-align: left !important;
  margin-bottom: 15px;
}
#blog-preview .blog-hero-band .section-title .subtitle {
  color: var(--white);
  display: inline-flex;
  margin: 0 0 5px 0;
}
#blog-preview .blog-hero-band .section-title h2 {
  color: var(--white);
  font-size: 36px;
  text-align: left !important;
}
#blog-preview .blog-hero-band .section-title .subtitle::after {
  background: var(--accent);
}
#blog-preview .blog-hero-band p.blog-hero-sub {
  color: rgba(255,255,255,0.8);
  font-size: 17px;
  max-width: 600px;
  margin: 0;
}
#blog-preview .blog-cards-area {
  position: relative;
  z-index: 3;
  margin-top: -60px;
  padding: 0 0 20px;
}
#blog-preview .blog-card {
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
#blog-preview .blog-bottom-cta {
  text-align: center;
  margin-top: 30px;
}
#blog-preview .blog-bottom-cta .btn-getstarted {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
#blog-preview .blog-bottom-cta .btn-getstarted:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .navmenu { display: none; }
  .mobile-nav-toggle { display: block; }
  .header .btn-getstarted { display: none; }

  .hero h1 { font-size: 34px; }
  .hero-card { width: 140px; padding: 20px 15px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { flex-wrap: wrap; gap: 20px; }
  .consultation-left, .consultation-right { padding: 30px 25px; }
  .section-title h2 { font-size: 28px; }

  /* Footer: hide desktop, show mobile accordion */
  .footer-desktop { display: none !important; }
  .footer-mobile { display: block !important; }
  .footer { padding: 30px 0 0; }
}

/* ===== FOOTER MOBILE ACCORDION ===== */
.footer-accordion-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-accordion-btn {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}
.footer-accordion-btn:hover {
  color: var(--accent);
}
.footer-accordion-btn i {
  font-size: 14px;
  transition: transform 0.3s ease;
}
.footer-accordion-item.active .footer-accordion-btn i {
  transform: rotate(180deg);
}
.footer-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 20px;
}
.footer-accordion-item.active .footer-accordion-body {
  max-height: 400px;
  padding: 0 20px 18px;
}

/* ===== OFFCANVAS MOBILE MENU ===== */
.offcanvas {
  background: var(--primary-dark, #1a3260) !important;
  max-width: 300px;
}

.offcanvas .offcanvas-header {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 20px 25px;
}

.offcanvas .offcanvas-header img {
  height: 40px;
}

.offcanvas .btn-close {
  filter: invert(1);
  opacity: 0.7;
}

.offcanvas .btn-close:hover {
  opacity: 1;
}

.offcanvas .offcanvas-body {
  padding: 20px 25px;
}

.offcanvas .offcanvas-body .nav-link {
  color: var(--white) !important;
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}

.offcanvas .offcanvas-body .nav-link:hover {
  color: var(--accent) !important;
  padding-left: 8px;
}

.offcanvas .offcanvas-body .nav-link i {
  margin-right: 10px;
  color: var(--accent);
  font-size: 14px;
}

.offcanvas .offcanvas-body .sub-link {
  padding-left: 25px;
  font-size: 14px;
  border-bottom: none;
  padding: 10px 0 10px 25px;
}

.offcanvas .offcanvas-body .btn-cta-mobile {
  display: block;
  margin-top: 25px;
  text-align: center;
}

@media (max-width: 767px) {
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .hero-cards { gap: 10px; }
  .hero-card { width: 48%; padding: 20px 10px; }
  .steps-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 50px 0; }
  .section-title h2 { font-size: 24px; }
  .page-hero h1 { font-size: 28px; }
  .page-hero { padding: 120px 0 60px; }
  .stat-item .number { font-size: 32px; }
  .pricing-card .price .amount { font-size: 40px; }
  .footer { text-align: center; }
  .footer .social-links { justify-content: center; }
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--light-bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

html { scroll-behavior: smooth; }

/* ===== POLICY PAGES ===== */
.policy-content h2 {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  margin-top: 35px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}
.policy-content h3 {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 20px;
  margin-bottom: 10px;
}
.policy-content p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 12px;
}
.policy-content ul {
  padding-left: 20px;
  margin-bottom: 15px;
}
.policy-content ul li {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 6px;
}
.policy-content a {
  color: var(--primary);
  text-decoration: underline;
}
.policy-content a:hover {
  color: var(--accent);
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: #fff;
  padding: 18px 0;
  z-index: 99999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
  min-width: 250px;
}
.cookie-banner a {
  color: var(--accent);
  text-decoration: underline;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner .btn-accept {
  background: var(--accent);
  color: var(--primary);
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}
.cookie-banner .btn-accept:hover {
  background: #e5bd00;
  transform: translateY(-1px);
}
.cookie-banner .btn-decline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}
.cookie-banner .btn-decline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

@media (max-width: 576px) {
  .cookie-banner .container { flex-direction: column; text-align: center; }
  .cookie-banner .cookie-btns { width: 100%; justify-content: center; }
}

/* ===== FOOTER BOTTOM BAR ===== */
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom-left p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.footer-legal-links {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
}
.footer-legal-links a {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-legal-links a:hover {
  color: var(--accent);
}
.footer-legal-links span {
  color: rgba(255,255,255,0.3);
  font-size: 12px;
}
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-bottom-right img {
  height: 40px;
  border-radius: 4px;
  transition: transform 0.3s;
  opacity: 0.9;
}
.footer-bottom-right img:hover {
  transform: scale(1.05);
  opacity: 1;
}
@media (max-width: 768px) {
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-legal-links { justify-content: center; }
  .footer-bottom-right { justify-content: center; }
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s;
  text-decoration: none;
}
.whatsapp-float:hover {
  background: #128C7E;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}
