/*
Theme Name: Baisifu Bio
Theme URI: https://www.weightlose.cn
Author: Shaanxi Baisifu Biological Engineering
Author URI: https://www.bsfhealth.com
Description: Professional B2B WordPress theme for functional plant extracts - inspired by Treatt, Indena, Sabinsa. Blue theme, structured layout, clean and modern.
Version: 1.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GPL v2
Text Domain: baisifu-bio
*/

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif; color: #2d3436; background: #fff; line-height: 1.7; font-size: 16px; }
a { color: #1565c0; text-decoration: none; transition: color .2s; }
a:hover { color: #0d47a1; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.3; }

/* ===== Typography ===== */
.font-serif { font-family: 'Playfair Display', Georgia, serif; }
.font-sans { font-family: 'Roboto', sans-serif; }
.font-display { font-family: 'DM Sans', sans-serif; }
.font-grotesk { font-family: 'Space Grotesk', sans-serif; }
.font-card { font-family: 'Poppins', sans-serif; }

/* ===== Colors ===== */
:root {
  --primary: #1565c0;
  --primary-dark: #0d47a1;
  --primary-light: #42a5f5;
  --accent-green: #2e7d32;
  --accent-purple: #7b1fa2;
  --accent-amber: #ff8f00;
  --text-dark: #2d3436;
  --text-light: #636e72;
  --text-white: #fff;
  --bg-light: #f8f9fa;
  --bg-blue: #e3f2fd;
  --bg-card: #fff;
  --border-light: #e0e0e0;
  --border-blue: #bbdefb;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

/* ===== Layout ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-bg { background: var(--bg-light); }
.section-blue { background: var(--bg-blue); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }
}

/* ===== Header ===== */
.site-header { background: #fff; border-bottom: 1px solid var(--border-light); position: relative; z-index: 100; box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 72px; }
.site-logo { display: flex; align-items: center; gap: 12px; }
.site-logo-img { height: 48px; width: auto; display: block; }

.site-logo img { height: 40px; }
.nav-main { display: flex; gap: 32px; }
.nav-main a { font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 500; color: var(--text-dark); padding: 8px 0; position: relative; }
.nav-main a:hover, .nav-main a.active { color: var(--primary); }
.nav-main a.active::after, .nav-main a:hover::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: var(--primary); border-radius: 1px; }

.nav-cta { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; background: var(--primary); color: #fff; padding: 10px 24px; border-radius: var(--radius-sm); text-transform: uppercase; letter-spacing: .5px; transition: all .2s; }
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle svg { width: 24px; height: 24px; stroke: var(--text-dark); }

/* Mobile nav - always hidden by default, only shown when toggled on mobile */
.mobile-nav { display: none; }

@media (max-width: 900px) {
  .nav-main { display: none; }
  .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  .mobile-nav { flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: #fff; padding: 24px; box-shadow: var(--shadow-md); transform: translateY(-100%); transition: transform .3s; z-index: 999; max-height: calc(100vh - 72px); overflow-y: auto; }
  .mobile-nav.open { display: flex; transform: translateY(0); }
  .mobile-nav a { padding: 12px 0; font-size: 18px; border-bottom: 1px solid var(--border-light); }
}

/* ===== Hero ===== */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(21,101,192,.85) 0%, rgba(13,71,161,.95) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hero-title { font-family: 'Playfair Display', serif; font-size: 48px; font-weight: 700; color: #fff; margin-bottom: 16px; line-height: 1.2; }
.hero-subtitle { font-size: 20px; color: rgba(255,255,255,.9); margin-bottom: 32px; max-width: 600px; line-height: 1.6; }
.hero-btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--primary); padding: 14px 32px; border-radius: var(--radius-md); font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: .5px; transition: all .2s; }
.hero-btn:hover { background: var(--bg-blue); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.hero-btn svg { width: 20px; height: 20px; }

@media (max-width: 768px) {
  .hero { min-height: 400px; }
  .hero-title { font-size: 32px; }
  .hero-subtitle { font-size: 16px; }
}

/* ===== Stats Bar ===== */
.stats-bar { background: var(--primary-dark); padding: 32px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.stat-item { text-align: center; }
.stat-number { font-family: 'Space Grotesk', sans-serif; font-size: 36px; font-weight: 700; color: #fff; }
.stat-label { font-size: 14px; color: rgba(255,255,255,.8); margin-top: 4px; }
@media (max-width: 768px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } }

/* ===== Section Headers ===== */
.section-header { text-align: center; margin-bottom: 48px; }
.section-title { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.section-subtitle { font-size: 18px; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.section-label { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.section-divider { width: 60px; height: 3px; background: var(--primary); margin: 16px auto 0; border-radius: 2px; }

/* ===== About Section ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-image img { width: 100%; height: 320px; object-fit: cover; }
.about-text .section-label { margin-bottom: 8px; }
.about-text .section-title { font-size: 32px; margin-bottom: 16px; }
.about-text p { color: var(--text-light); margin-bottom: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.about-feature { display: flex; align-items: flex-start; gap: 12px; }
.about-feature-icon { width: 40px; height: 40px; background: var(--bg-blue); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.about-feature-text { font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 500; color: var(--text-dark); }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } .about-features { grid-template-columns: 1fr; } }

/* ===== Product Series ===== */
.series-tabs { display: flex; justify-content: center; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.series-tab { font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 600; padding: 12px 28px; border-radius: var(--radius-sm); cursor: pointer; transition: all .2s; border: 2px solid var(--border-light); color: var(--text-light); background: #fff; }
.series-tab:hover { border-color: var(--primary); color: var(--primary); }
.series-tab.active-blue { background: var(--primary); border-color: var(--primary); color: #fff; }
.series-tab.active-green { background: var(--accent-green); border-color: var(--accent-green); color: #fff; }
.series-tab.active-purple { background: var(--accent-purple); border-color: var(--accent-purple); color: #fff; }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; transition: all .3s; box-shadow: var(--shadow-sm); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.product-img { position: relative; height: 220px; background: #f5f5f5; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-badge { position: absolute; top: 12px; left: 12px; font-family: 'DM Sans', sans-serif; font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 4px; text-transform: uppercase; letter-spacing: .5px; }
.badge-blue { background: var(--primary); color: #fff; }
.badge-green { background: var(--accent-green); color: #fff; }
.badge-purple { background: var(--accent-purple); color: #fff; }
.product-body { padding: 20px; }
.product-name { font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 600; color: var(--text-dark); margin-bottom: 4px; }
.product-spec { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.product-btn { display: inline-flex; align-items: center; gap: 6px; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; color: var(--primary); padding: 8px 0; }
.product-btn:hover { color: var(--primary-dark); }

.series-empty { text-align: center; padding: 48px 0; color: var(--text-light); }
.series-empty-icon { font-size: 48px; margin-bottom: 12px; }
.series-empty-text { font-size: 16px; }

@media (max-width: 900px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .products-grid { grid-template-columns: 1fr; } }

/* ===== Why Choose ===== */
.why-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.why-card { background: #fff; border-radius: var(--radius-md); padding: 32px 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); text-align: center; transition: all .2s; flex: 0 0 calc((100% - 48px) / 3); max-width: calc((100% - 48px) / 3); box-sizing: border-box; }
.why-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.why-icon { width: 56px; height: 56px; background: var(--bg-blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.why-icon svg { width: 28px; height: 28px; stroke: var(--primary); }
.why-title { font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.why-text { font-size: 14px; color: var(--text-light); }
@media (max-width: 900px) { .why-card { flex: 0 0 calc((100% - 24px) / 2); max-width: calc((100% - 24px) / 2); } }
@media (max-width: 600px) { .why-card { flex: 0 0 100%; max-width: 100%; } }

/* ===== CTA ===== */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 64px 0; text-align: center; }
.cta-title { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.cta-text { font-size: 18px; color: rgba(255,255,255,.9); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--primary); padding: 14px 32px; border-radius: var(--radius-md); font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 16px; text-transform: uppercase; letter-spacing: .5px; transition: all .2s; }
.cta-btn:hover { background: var(--bg-blue); transform: translateY(-2px); }

/* ===== Page Hero (Inner pages) ===== */
.page-hero { position: relative; min-height: 320px; display: flex; align-items: center; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(21,101,192,.75) 0%, rgba(13,71,161,.90) 100%); }
.page-hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.page-hero-title { font-family: 'Playfair Display', serif; font-size: 40px; font-weight: 700; color: #fff; }
.page-hero-subtitle { font-size: 18px; color: rgba(255,255,255,.85); margin-top: 8px; }

/* ===== Contact Form ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-card { background: var(--bg-blue); border-radius: var(--radius-md); padding: 32px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.contact-info-icon { width: 44px; height: 44px; background: var(--primary); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: #fff; }
.contact-info-label { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.contact-info-value { font-size: 15px; color: var(--text-dark); }

.bsf-contact-form .wpcf7 { max-width: 100%; }
.bsf-contact-form .wpcf7-form { display: flex; flex-direction: column; gap: 20px; }
.bsf-contact-form label { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.bsf-contact-form input, .bsf-contact-form textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--border-light); border-radius: var(--radius-sm); font-size: 16px; font-family: 'Roboto', sans-serif; transition: all .2s; }
.bsf-contact-form input:focus, .bsf-contact-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(21,101,192,.15); }
.bsf-contact-form textarea { min-height: 120px; resize: vertical; }
.bsf-contact-form .wpcf7-submit { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; padding: 14px 32px; border: none; border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; cursor: pointer; transition: all .2s; }
.bsf-contact-form .wpcf7-submit:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.bsf-contact-form .wpcf7-not-valid-tip { color: #d32f2f; font-size: 13px; }
.bsf-contact-form .wpcf7-response-output { border-radius: var(--radius-sm); padding: 12px 16px; }
.bsf-contact-form .wpcf7-mail-sent-ok { background: #e8f5e9; color: #2e7d32; border-color: #2e7d32; }
.bsf-contact-form .wpcf7-validation-errors { background: #ffebee; color: #d32f2f; border-color: #d32f2f; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* ===== Single Product ===== */
.product-detail { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; padding: 48px 0; }
.product-detail-img { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); background: #f5f5f5; }
.product-detail-img img { width: 100%; height: 400px; object-fit: cover; }
.product-detail-btns { display: flex; gap: 16px; margin-top: 24px; }
.btn-inquire { background: var(--primary); color: #fff; padding: 12px 24px; border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.btn-coa { background: var(--bg-blue); color: var(--primary); padding: 12px 24px; border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.series-tag { font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 600; padding: 6px 16px; border-radius: 4px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px; display: inline-block; }

.breadcrumb { padding: 16px 0; font-size: 14px; color: var(--text-light); }
.breadcrumb a { color: var(--primary); }

.product-content-section { margin: 32px 0; }
.product-content-section h3 { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--text-dark); margin-bottom: 16px; border-bottom: 2px solid var(--primary); padding-bottom: 8px; }
.product-content-section p { color: var(--text-light); margin-bottom: 12px; }
.product-content-section ul { padding-left: 24px; }
.product-content-section li { color: var(--text-light); margin-bottom: 8px; list-style: disc; }

.specs-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.specs-table th { background: var(--bg-blue); font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; color: var(--primary); padding: 12px 16px; text-align: left; }
.specs-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-light); font-size: 14px; color: var(--text-dark); }
.specs-table tr:hover td { background: rgba(21,101,192,.04); }

.cert-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.cert-item { background: var(--bg-blue); padding: 8px 16px; border-radius: var(--radius-sm); font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--primary); }

@media (max-width: 768px) { .product-detail { grid-template-columns: 1fr; } }

/* ===== News ===== */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.content-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; transition: all .2s; box-shadow: var(--shadow-sm); }
.content-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.content-card-body { padding: 24px; }
.content-card-date { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.content-card-title { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 600; color: var(--text-dark); margin-bottom: 12px; }
.content-card-title a { color: var(--text-dark); }
.content-card-title a:hover { color: var(--primary); }
.content-card-excerpt { font-size: 14px; color: var(--text-light); margin-bottom: 16px; line-height: 1.6; }
.content-card-link { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; color: var(--primary); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.pagination a, .pagination span { padding: 10px 16px; border: 1px solid var(--border-light); border-radius: var(--radius-sm); font-size: 14px; color: var(--text-dark); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination a:hover { background: var(--bg-blue); border-color: var(--primary); color: var(--primary); }
@media (max-width: 768px) { .news-grid { grid-template-columns: 1fr; } }

/* ===== Footer ===== */
.site-footer { background: var(--primary-dark); color: #fff; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; max-width: 1200px; margin: 0 auto; padding: 48px 24px; }
.footer-brand .footer-logo { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: #fff; }
.footer-brand p { color: rgba(255,255,255,.7); margin-top: 8px; font-size: 14px; line-height: 1.6; }
.footer-heading { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; color: rgba(255,255,255,.9); }
.footer-links a { display: block; color: rgba(255,255,255,.7); font-size: 14px; margin-bottom: 8px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 24px; text-align: center; font-size: 13px; color: rgba(255,255,255,.5); }

@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; } }

/* ===== Misc ===== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.hidden { display: none; }



/* ========== HERO CAROUSEL ========== */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: #0d47a1;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 71, 161, .75) 0%, rgba(21, 101, 192, .55) 50%, rgba(0, 0, 0, .35) 100%);
  z-index: 1;
}

.carousel-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 60px;
  color: #fff;
}

.carousel-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255,255,255,.95);
  margin-bottom: 20px;
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 100px;
  backdrop-filter: blur(10px);
}

.carousel-title {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
  max-width: 800px;
}

.carousel-sub {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,.95);
  max-width: 650px;
  margin: 0 0 36px;
  text-shadow: 0 1px 8px rgba(0,0,0,.25);
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #1565c0;
  padding: 16px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all .3s;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.carousel-btn:hover {
  background: #1565c0;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}

.carousel-arrow:hover {
  background: rgba(255,255,255,.95);
  color: #1565c0;
  transform: translateY(-50%) scale(1.05);
}

.carousel-arrow svg {
  width: 28px;
  height: 28px;
}

.carousel-arrow.prev { left: 24px; }
.carousel-arrow.next { right: 24px; }

.carousel-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: 2px solid rgba(255,255,255,.6);
  cursor: pointer;
  padding: 0;
  transition: all .3s;
}

.dot.active {
  background: #fff;
  width: 32px;
  border-radius: 6px;
}

.dot:hover {
  background: rgba(255,255,255,.8);
}

/* ========== SITE LOGO WITH IMAGE ========== */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

/* ========== FOOTER LOGO IMAGE ========== */
.footer-logo-img {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
  display: block;
  filter: brightness(0) invert(1);
}

/* ========== SERIES CARDS ========== */
.series-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  border: 1px solid #e0e0e0;
  transition: all .3s;
}

.series-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
  border-color: #1565c0;
}

.series-card-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.series-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,.15), transparent 60%);
}

.series-emoji {
  font-size: 64px;
  z-index: 1;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.2));
}

.series-card-body {
  padding: 24px;
}

.series-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #1565c0;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.series-tag-green { color: #2e7d32; }
.series-tag-purple { color: #7b1fa2; }

.series-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #2d3436;
  margin: 0 0 12px;
  line-height: 1.3;
}

.series-desc {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #636e72;
  line-height: 1.6;
  margin: 0 0 16px;
}

.series-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1565c0;
  text-decoration: none;
  transition: all .3s;
}

.series-link-green { color: #2e7d32; }
.series-link-purple { color: #7b1fa2; }

.series-link:hover {
  opacity: .75;
}

/* ========== ABOUT IMAGE ========== */
.about-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
}

/* ========== ABOUT US PAGE (ID=9) ========== */
.about-hero {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8eef7 100%);
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}

.about-hero .section-label {
  margin-bottom: 16px;
}

.about-h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: #1565c0;
  line-height: 1.2;
  margin: 0 0 24px;
}

.about-lead {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #636e72;
  max-width: 800px;
  margin: 0 auto;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #1565c0, rgba(21,101,192,0));
}

.timeline-item {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
}

.timeline-year {
  flex-shrink: 0;
  width: 100px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1565c0;
  text-align: right;
  padding-top: 4px;
}

.timeline-content {
  background: #fff;
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  flex: 1;
  position: relative;
  margin-left: 30px;
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 24px;
  width: 12px;
  height: 12px;
  background: #1565c0;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #1565c0;
}

.timeline-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #2d3436;
  margin: 0 0 8px;
}

.timeline-content p {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #636e72;
  line-height: 1.6;
  margin: 0;
}

/* ========== CONTACT PAGE (ID=12) ========== */
.contact-hero {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8eef7 100%);
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}

.contact-h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 700;
  color: #1565c0;
  line-height: 1.2;
  margin: 0 0 24px;
}

.contact-lead {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #636e72;
  max-width: 700px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-block {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: all .3s;
}

.contact-block:hover {
  border-color: #1565c0;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21,101,192,.1);
}

.contact-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.contact-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #1565c0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.contact-value {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #2d3436;
  line-height: 1.7;
}

.contact-value a {
  color: #2d3436;
  text-decoration: none;
  transition: color .2s;
}

.contact-value a:hover {
  color: #1565c0;
}

.contact-form-wrap {
  background: #fff;
  padding: 36px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
  border: 1px solid #e0e0e0;
}

.contact-form-wrap h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #2d3436;
  margin: 0 0 8px;
}

.form-intro {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #636e72;
  margin: 0 0 24px;
  line-height: 1.6;
}

.location-card {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  text-align: center;
}

.location-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: #2d3436;
  margin: 0 0 12px;
}

.location-addr {
  font-family: 'Roboto', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #1565c0;
  margin: 0 0 16px;
}

.location-info p {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  color: #636e72;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 24px;
}

@media (max-width: 768px) {
  .hero-carousel { height: 480px; }
  .carousel-content { padding: 0 24px; }
  .carousel-title { font-size: 32px; }
  .carousel-sub { font-size: 15px; }
  .carousel-arrow { width: 44px; height: 44px; }
  .carousel-arrow.prev { left: 12px; }
  .carousel-arrow.next { right: 12px; }
  .carousel-arrow svg { width: 22px; height: 22px; }
  .carousel-btn { padding: 12px 24px; font-size: 14px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-h1, .contact-h1 { font-size: 32px; }
  .about-hero, .contact-hero { padding: 60px 0 40px; }
  .timeline::before { left: 60px; }
  .timeline-year { width: 60px; font-size: 22px; }
  .timeline-item { gap: 20px; }
  .timeline-content { margin-left: 20px; padding: 16px; }
}


/* ============================================
   NEW: Plant-Based Badges Bar (under hero)
   ============================================ */
.promise-bar {
  background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 100%);
  border-top: 1px solid #c8e6c9;
  border-bottom: 1px solid #c8e6c9;
  padding: 32px 0;
}
.promise-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.promise-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.6);
  border-radius: 12px;
  border: 1px solid rgba(46,125,50,0.15);
  transition: all 0.3s ease;
}
.promise-badge:hover {
  background: rgba(255,255,255,0.95);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(46,125,50,0.12);
}
.promise-badge-icon {
  font-size: 32px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2e7d32, #1b5e20);
  color: white;
  border-radius: 50%;
}
.promise-badge-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1b5e20;
  line-height: 1.3;
}
.promise-badge-sub {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: #558b2f;
  font-weight: 400;
  margin-top: 2px;
}

@media (max-width: 968px) {
  .promise-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .promise-inner { grid-template-columns: 1fr; }
}

/* ============================================
   NEW: How Nature Helps (4 Mechanisms)
   ============================================ */
.mechanisms-section {
  padding: 80px 0;
  background: #ffffff;
}
.mechanisms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.mechanism-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf7 100%);
  border: 1px solid #e8f0e8;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.mechanism-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2e7d32, #66bb6a);
  transform: scaleX(0);
  transition: transform 0.35s ease;
  transform-origin: left;
}
.mechanism-card:hover {
  border-color: #66bb6a;
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(46,125,50,0.12);
}
.mechanism-card:hover::before {
  transform: scaleX(1);
}
.mechanism-emoji {
  font-size: 48px;
  margin-bottom: 18px;
  display: inline-block;
}
.mechanism-step {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #2e7d32;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.mechanism-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #1565c0;
  margin: 0 0 12px;
  line-height: 1.25;
}
.mechanism-text {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #636e72;
  line-height: 1.6;
  margin: 0;
}
.mechanism-examples {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: #2e7d32;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #c8e6c9;
  font-weight: 500;
}

@media (max-width: 968px) {
  .mechanisms-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .mechanisms-grid { grid-template-columns: 1fr; }
}

/* ============================================
   NEW: Plant Sources Showcase
   ============================================ */
.sources-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8fbf7 0%, #ffffff 100%);
}
.sources-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: #636e72;
  line-height: 1.7;
}
.sources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.source-card {
  background: white;
  border-radius: 14px;
  padding: 28px 20px 24px;
  text-align: center;
  border: 1px solid #e8f0e8;
  transition: all 0.3s ease;
  position: relative;
}
.source-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(21,101,192,0.10);
  border-color: #1565c0;
}
.source-emoji {
  font-size: 56px;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
}
.source-name {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #2d3436;
  margin: 0 0 6px;
}
.source-latin {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 12px;
  color: #2e7d32;
  margin: 0 0 12px;
}
.source-benefit {
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: #636e72;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 968px) {
  .sources-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .sources-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .sources-grid { grid-template-columns: 1fr; }
}

/* ============================================
   NEW: Nature-Powered Promise Banner
   ============================================ */
.promise-banner {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #1565c0 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.promise-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 50%),
                    radial-gradient(circle at 80% 30%, rgba(255,255,255,0.06) 0%, transparent 40%);
}
.promise-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.promise-banner-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #a5d6a7;
  margin-bottom: 16px;
}
.promise-banner-title {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.2;
}
.promise-banner-text {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  max-width: 720px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.promise-banner-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.promise-banner-tag {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
}
.promise-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #1b5e20;
  padding: 16px 36px;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.promise-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
  background: #f1f8e9;
}

@media (max-width: 720px) {
  .promise-banner-title { font-size: 28px; }
  .promise-banner-text { font-size: 14px; }
}

@media (max-width: 720px) { .site-logo-img { height: 40px; } }

/* === News Cards with Featured Images === */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    padding: 32px 0;
}
.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.news-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.news-card-image a {
    display: block;
}
.news-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.news-card:hover .news-card-image img {
    transform: scale(1.05);
}
.news-card-body {
    padding: 20px;
}
.news-card-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #78909c;
}
.news-card-cat {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
}
.news-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #212121;
    margin: 8px 0;
    line-height: 1.4;
}
.news-card-title a {
    color: inherit;
    text-decoration: none;
}
.news-card-title a:hover {
    color: #1565c0;
}
.news-card-excerpt {
    font-size: 14px;
    color: #616161;
    line-height: 1.6;
    margin-bottom: 12px;
}
.news-card-link {
    color: #2e7d32;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}
.news-card-link:hover {
    color: #1565c0;
}

/* === Single Article Page === */
.single-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 0;
}
.article-breadcrumb {
    font-size: 14px;
    color: #78909c;
    margin-bottom: 16px;
    font-family: 'DM Sans', sans-serif;
}
.article-breadcrumb a {
    color: #1565c0;
    text-decoration: none;
}
.article-breadcrumb a:hover {
    text-decoration: underline;
}
.article-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #78909c;
}
.article-category a {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 2px 12px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    font-size: 13px;
}
.article-featured-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}
.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}
.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #212121;
    margin-bottom: 24px;
    line-height: 1.3;
}
.article-content {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #424242;
}
.article-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #1565c0;
    margin: 32px 0 16px;
}
.article-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2e7d32;
    margin: 24px 0 12px;
}
.article-content p {
    margin: 16px 0;
}
.article-content ul, .article-content ol {
    margin: 16px 0;
    padding-left: 24px;
}
.article-content li {
    margin: 8px 0;
    line-height: 1.6;
}
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}
.article-content th {
    background: #1565c0;
    color: #fff;
    padding: 10px 16px;
    text-align: left;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
}
.article-content td {
    padding: 8px 16px;
    border-bottom: 1px solid #e0e0e0;
}
.article-content tr:hover td {
    background: #f5f5f5;
}
.article-content strong {
    color: #1565c0;
}
.article-content em {
    color: #2e7d32;
}
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0;
}
.tag-pill {
    background: #e3f2fd;
    color: #1565c0;
    padding: 4px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
}
.article-cta {
    background: linear-gradient(135deg, #1565c0 0%, #2e7d32 100%);
    color: #fff;
    padding: 32px;
    border-radius: 12px;
    margin-top: 48px;
    text-align: center;
}
.article-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
}
.article-cta p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 16px;
}
.article-cta .btn {
    background: #fff;
    color: #1565c0;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
    transition: background 0.3s ease;
}
.article-cta .btn:hover {
    background: #e3f2fd;
}

/* === BSF News Cards (used in index.php) === */
.bsf-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    padding: 32px 0;
}
.bsf-news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bsf-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.bsf-news-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.bsf-news-card-image a {
    display: block;
}
.bsf-news-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.bsf-news-card:hover .bsf-news-card-image img {
    transform: scale(1.05);
}
.bsf-news-card-body {
    padding: 20px;
}
.bsf-news-card-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #78909c;
}
.bsf-news-card-cat {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 2px 10px;
    border-radius: 12px;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
}
.bsf-news-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #212121;
    margin: 8px 0;
    line-height: 1.4;
}
.bsf-news-card-title a {
    color: inherit;
    text-decoration: none;
}
.bsf-news-card-title a:hover {
    color: #1565c0;
}
.bsf-news-card-excerpt {
    font-size: 14px;
    color: #616161;
    line-height: 1.6;
    margin-bottom: 12px;
}
.bsf-news-card-link {
    color: #2e7d32;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}
.bsf-news-card-link:hover {
    color: #1565c0;
}






/* Why Us page */
.why-us-page { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.why-us-page .why-hero { text-align: center; padding: 80px 32px 56px; background: linear-gradient(135deg, #e3f2fd 0%, #e8f5e9 100%); border-radius: 20px; margin: 40px 0 16px; }
.why-us-page .why-hero .page-heading { font-family: 'Playfair Display', serif; color: #1565c0; font-size: 42px; font-weight: 700; margin: 0 0 16px; }
.why-us-page .why-hero .hero-subtitle { font-size: 18px; color: #555; max-width: 720px; margin: 0 auto; line-height: 1.65; }

/* 3 column grid + last row centered (matches homepage why-grid) */
.why-us-page .why-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin: 48px 0; }
.why-us-page .why-card { background: #fff; border-radius: 16px; padding: 36px 28px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); border: 1px solid #e8eef5; text-align: center; transition: all 0.3s; flex: 0 0 calc((100% - 48px) / 3); max-width: calc((100% - 48px) / 3); box-sizing: border-box; }
.why-us-page .why-card:hover { transform: translateY(-6px); box-shadow: 0 14px 32px rgba(21,101,192,0.18); border-color: #1565c0; }
.why-us-page .why-icon { width: 68px; height: 68px; font-size: 32px; background: linear-gradient(135deg, #e3f2fd 0%, #e8f5e9 100%); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin: 0 auto 20px; transition: all 0.3s; line-height: 1; }
.why-us-page .why-card:hover .why-icon { background: linear-gradient(135deg, #1565c0 0%, #2e7d32 100%); transform: scale(1.1); }
.why-us-page .why-card h3 { color: #1565c0; margin: 0 0 12px; font-family: 'Poppins', sans-serif; font-size: 19px; font-weight: 600; }
.why-us-page .why-card p { color: #555; font-size: 14.5px; line-height: 1.65; margin: 0; }

@media (max-width: 900px) { .why-us-page .why-card { flex: 0 0 calc((100% - 24px) / 2); max-width: calc((100% - 24px) / 2); } .why-us-page .why-hero { padding: 60px 24px 40px; } .why-us-page .why-hero .page-heading { font-size: 32px; } }
@media (max-width: 600px) { .why-us-page .why-card { flex: 0 0 100%; max-width: 100%; } }

/* Comparison table */
.why-us-page .why-comparison { margin: 56px 0 40px; }
.why-us-page .why-comparison h2 { font-family: 'Playfair Display', serif; color: #1565c0; font-size: 32px; text-align: center; margin: 0 0 28px; }
.why-us-page .comparison-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.06); margin: 0; }
.why-us-page .comparison-table th { background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%); color: #fff; padding: 16px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: 0.3px; text-align: left; }
.why-us-page .comparison-table th:first-child { width: 36%; }
.why-us-page .comparison-table td { padding: 14px 16px; border-bottom: 1px solid #f0f4f8; font-size: 14.5px; color: #444; }
.why-us-page .comparison-table td:first-child { font-weight: 600; color: #222; }
.why-us-page .comparison-table tbody tr:hover { background: #f8fbfd; }
.why-us-page .comparison-table tbody tr:last-child td { border-bottom: none; }

/* CTA section */
.why-us-page .why-cta { text-align: center; padding: 64px 40px; background: linear-gradient(135deg, #1565c0 0%, #2e7d32 100%); border-radius: 20px; margin: 50px 0 60px; color: #fff; }
.why-us-page .why-cta h2 { color: #fff; font-family: 'Playfair Display', serif; font-size: 32px; margin: 0 0 16px; }
.why-us-page .why-cta p { color: rgba(255,255,255,0.95); font-size: 17px; margin: 0 auto 28px; max-width: 620px; line-height: 1.6; }
.why-us-page .why-cta .cta-btn { background: #fff; color: #1565c0; padding: 16px 36px; border-radius: 30px; font-weight: 700; font-size: 16px; text-decoration: none; display: inline-block; transition: all 0.3s; letter-spacing: 0.5px; font-family: 'DM Sans', sans-serif; }
.why-us-page .why-cta .cta-btn:hover { background: #f0f4f8; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }

/* FAQ page */
.faq-page { max-width: 900px; }
.faq-hero { text-align: center; padding: 60px 0 40px; }
.faq-hero .page-heading { font-family: 'Playfair Display', serif; color: #1565c0; }
.faq-hero .hero-subtitle { font-size: 18px; color: #666; }
.faq-section { margin: 30px 0; }
.faq-cat-title { color: #2e7d32; font-size: 20px; border-bottom: 2px solid #2e7d32; padding-bottom: 8px; margin-bottom: 20px; }
.faq-item { background: #fff; border-radius: 8px; padding: 20px; margin-bottom: 15px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.faq-q { color: #1565c0; font-size: 16px; margin-bottom: 8px; }
.faq-a { color: #555; font-size: 14px; line-height: 1.6; }
.faq-cta { text-align: center; padding: 50px 0; background: linear-gradient(135deg, #e8f5e9 0%, #e3f2fd 100%); border-radius: 12px; margin: 40px 0; }

/* === Numbered Pagination (Products + News) === */
.pagination-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 32px 0;
    flex-wrap: wrap;
}
.page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1565c0;
    background: #fff;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    transition: all 0.2s ease;
}
.page-num:hover {
    background: #e3f2fd;
    border-color: #1565c0;
    transform: translateY(-1px);
}
.page-num.current {
    background: #1565c0;
    color: #fff;
    border-color: #1565c0;
    pointer-events: none;
}
.page-num.prev, .page-num.next {
    padding: 0 20px;
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: #fff;
    border: none;
    border-radius: 25px;
}
.page-num.prev:hover, .page-num.next:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21,101,192,0.3);
}
.page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #999;
}

/* WordPress paginate_links list style */
.pagination-numbers ul.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}
.pagination-numbers li {
    margin: 0;
    padding: 0;
    list-style: none;
}
.pagination-numbers a.page-numbers,
.pagination-numbers span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1565c0;
    background: #fff;
    border: 1px solid #e0e0e0;
    text-decoration: none;
    transition: all 0.2s ease;
}
.pagination-numbers a.page-numbers:hover {
    background: #e3f2fd;
    border-color: #1565c0;
    transform: translateY(-1px);
}
.pagination-numbers span.page-numbers.current {
    background: #1565c0;
    color: #fff;
    border-color: #1565c0;
}
.pagination-numbers a.prev, .pagination-numbers a.next,
.pagination-numbers span.prev, .pagination-numbers span.next {
    padding: 0 20px;
    border-radius: 25px;
}
.pagination-numbers a.prev, .pagination-numbers a.next {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: #fff;
    border: none;
}
.pagination-numbers a.prev:hover, .pagination-numbers a.next:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21,101,192,0.3);
}
.pagination-numbers span.dots {
    color: #999;
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}



/* Tab heading */
.tab-heading {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #1565c0;
    margin: 16px 0 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8f5e9;
}



@media (max-width: 968px) {
    .products-page .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-page .bsf-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .products-page .product-grid {
        grid-template-columns: 1fr;
    }
    .news-page .bsf-news-grid {
        grid-template-columns: 1fr;
    }
}

.products-pagination {
    margin: 24px 0 0;
    text-align: center;
}

/* Product grid 3x3 layout (9 per page) */
.products-page .product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

/* News grid 3x3 layout (9 per page) */
.news-page .bsf-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 32px 0;
}

@media (max-width: 968px) {
    .products-page .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-page .bsf-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .products-page .product-grid {
        grid-template-columns: 1fr;
    }
    .news-page .bsf-news-grid {
        grid-template-columns: 1fr;
    }
}

/* Product category badge on cards */
.card-series {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #1565c0;
    background: #e3f2fd;
    padding: 2px 10px;
    border-radius: 12px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/* ============================================
   TYPOGRAPHY SYSTEM - Unified & Harmonized
   ============================================
   
   Font roles (4 fonts only):
   - Playfair Display: Hero/Section titles (serif, premium)
   - Poppins: Card titles, sub-headings (clean geometric)
   - DM Sans: Labels, badges, buttons, nav (functional)
   - Roboto: Body text, descriptions (readable)
   
   Size hierarchy (7 levels only):
   - 40px: Page/Hero titles
   - 28px: Section titles
   - 20px: Sub-section headings, product detail h1
   - 16px: Card titles, prominent text
   - 14px: Body, descriptions, buttons
   - 12px: Labels, badges, meta info
   - 11px: Micro-badges, fine print
   ============================================ */

/* === Product Page Typography === */
.products-page .page-heading {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 700;
    color: #1565c0;
    margin-bottom: 12px;
    line-height: 1.25;
}
.products-page .page-description {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #636e72;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Product Card Typography - harmonized */
.product-card .card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    transition: transform 0.3s;
}
.product-card:hover .card-img {
    transform: scale(1.05);
}
.product-card .card-series {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #1565c0;
    background: #e3f2fd;
    padding: 3px 10px;
    border-radius: 12px;
    margin: 8px 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-card .card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #2d3436;
    margin: 4px 0;
    line-height: 1.3;
}
.product-card .card-excerpt {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    color: #636e72;
    line-height: 1.5;
    margin: 4px 0 8px;
}
.product-card .card-btn {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1565c0;
    display: inline-block;
    transition: all 0.2s;
}
.product-card:hover .card-btn {
    color: #0d47a1;
    transform: translateX(2px);
}

/* === Product Detail Page Typography === */
.product-detail h1 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 16px;
    line-height: 1.3;
}
.product-content-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #2d3436;
    margin: 32px 0 16px;
    line-height: 1.3;
}
.product-content-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1565c0;
    margin: 24px 0 12px;
}
.product-content-section p {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: #4a4a4a;
    margin: 16px 0;
}
.product-content-section ul, .product-content-section ol {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: #4a4a4a;
    margin: 16px 0;
    padding-left: 24px;
}
.product-content-section ul { list-style: disc; }
.product-content-section ol { list-style: decimal; }
.product-content-section li {
    margin: 8px 0;
    line-height: 1.6;
}
.product-content-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}
.product-content-section th {
    background: #1565c0;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
    text-align: left;
}
.product-content-section td {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #2d3436;
    padding: 8px 16px;
    border-bottom: 1px solid #e0e0e0;
}
.product-content-section strong {
    color: #1565c0;
    font-weight: 600;
}

/* === News Card Typography === */
.news-page .page-heading {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 700;
    color: #1565c0;
    margin-bottom: 12px;
    line-height: 1.25;
}
.news-page .page-description {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #636e72;
    line-height: 1.6;
    margin-bottom: 32px;
}
.bsf-news-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #212121;
    margin: 8px 0;
    line-height: 1.35;
}
.bsf-news-card-excerpt {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #616161;
    line-height: 1.55;
    margin-bottom: 10px;
}
.bsf-news-card-link {
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: #2e7d32;
    text-decoration: none;
}
.bsf-news-card-meta {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    color: #78909c;
    margin-bottom: 6px;
}
.bsf-news-card-cat {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 2px 8px;
    border-radius: 10px;
}

/* === CTA Section Typography === */
.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.cta-text {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-btn {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

/* === Section Headers Typography === */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 12px;
    line-height: 1.25;
}
.section-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.section-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    color: #636e72;
    line-height: 1.6;
}

/* === Footer Typography === */
.footer-heading {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-links a {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}
.footer-bottom {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
}


/* === Contact Form 7 - Floating Label Design === */
.wpcf7 {
    margin: 0;
}
.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.cf7-float {
    position: relative;
    width: 100%;
}
.cf7-float .wpcf7-form-control {
    width: 100%;
    padding: 22px 18px 10px 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #1a2942;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    outline: none;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    box-sizing: border-box;
    line-height: 1.5;
}
.cf7-float .wpcf7-form-control::placeholder {
    color: transparent;
}
.cf7-float .wpcf7-form-control:hover {
    border-color: #cbd5e0;
    background: #ffffff;
}
.cf7-float .wpcf7-form-control:focus {
    border-color: #1565c0;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(21, 101, 192, .12);
}

/* Textarea */
.cf7-float-textarea .wpcf7-form-control {
    min-height: 140px;
    padding: 28px 18px 14px 18px;
    resize: vertical;
    line-height: 1.6;
}

/* Floating label */
.cf7-float .cf7-label {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #64748b;
    pointer-events: none;
    transition: all .2s cubic-bezier(.4,0,.2,1);
    background: transparent;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.cf7-float .cf7-label em {
    color: #ef4444;
    font-style: normal;
    font-size: 15px;
    line-height: 1;
}

/* Float label when input is focused OR has content */
.cf7-float .wpcf7-form-control:focus + .cf7-label,
.cf7-float .wpcf7-form-control:not(:placeholder-shown) + .cf7-label {
    top: 12px;
    transform: translateY(0);
    font-size: 11px;
    font-weight: 600;
    color: #1565c0;
    letter-spacing: .3px;
    text-transform: uppercase;
}
.cf7-float .wpcf7-form-control:not(:focus):not(:placeholder-shown) + .cf7-label {
    color: #475569;
}

/* Textarea label special positioning */
.cf7-float-textarea .cf7-label {
    top: 22px;
    transform: none;
}
.cf7-float-textarea .wpcf7-form-control:focus + .cf7-label,
.cf7-float-textarea .wpcf7-form-control:not(:placeholder-shown) + .cf7-label {
    top: 8px;
    transform: none;
}

/* Validation states */
.cf7-float .wpcf7-form-control.wpcf7-not-valid {
    border-color: #ef4444;
    background: #fef2f2;
}
.cf7-float .wpcf7-form-control.wpcf7-not-valid:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, .12);
}
.cf7-float .wpcf7-form-control.wpcf7-not-valid + .cf7-label {
    color: #ef4444;
}

.wpcf7-not-valid-tip {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: #ef4444;
    margin-top: 6px;
    font-weight: 500;
    padding-left: 4px;
}

.wpcf7-response-output {
    margin: 8px 0 0 0 !important;
    padding: 14px 18px !important;
    border: none !important;
    border-radius: 10px !important;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}
.wpcf7-response-output.wpcf7-mail-sent-ok {
    background: #ecfdf5;
    color: #047857;
    border-left: 4px solid #10b981 !important;
}
.wpcf7-response-output.wpcf7-validation-errors {
    background: #fef2f2;
    color: #b91c1c;
    border-left: 4px solid #ef4444 !important;
}
.wpcf7-response-output.wpcf7-mail-sent-ng,
.wpcf7-response-output.wpcf7-spam-blocked,
.wpcf7-response-output.wpcf7-aborted {
    background: #fef2f2;
    color: #b91c1c;
    border-left: 4px solid #ef4444 !important;
}

/* Submit button - Big blue gradient */
.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"],
.wpcf7-form .wpcf7-submit {
    margin-top: 12px;
    padding: 18px 36px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(21, 101, 192, .35);
    transition: all .3s cubic-bezier(.4,0,.2,1);
    position: relative;
    overflow: hidden;
    align-self: flex-start;
    min-width: 200px;
}
.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit"]:hover,
.wpcf7-form .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(21, 101, 192, .45);
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
}
.wpcf7-form input[type="submit"]:active,
.wpcf7-form button[type="submit"]:active,
.wpcf7-form .wpcf7-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(21, 101, 192, .3);
}

/* Loading state */
.wpcf7-form.submitting input[type="submit"],
.wpcf7-form.submitting .wpcf7-submit {
    opacity: .7;
    cursor: wait;
    pointer-events: none;
}

/* Form intro section above */
.contact-form-wrap {
    background: #ffffff;
    padding: 48px 44px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, .08);
    border: 1px solid rgba(15, 23, 42, .04);
    position: relative;
    overflow: hidden;
}
.contact-form-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1565c0 0%, #26a69a 50%, #66bb6a 100%);
}
.contact-form-wrap h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #0f172a;
    margin: 0 0 8px 0;
    font-weight: 700;
}
.contact-form-wrap .form-intro {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #64748b;
    margin: 0 0 28px 0;
    line-height: 1.6;
    padding-bottom: 24px;
    border-bottom: 1px dashed #e2e8f0;
}

/* Ajax-loader spinner */
.wpcf7 .ajax-loader {
    position: absolute;
    width: 20px !important;
    height: 20px !important;
    margin-left: 8px !important;
    vertical-align: middle;
}

@media (max-width: 600px) {
    .contact-form-wrap {
        padding: 32px 24px;
    }
    .contact-form-wrap h3 {
        font-size: 24px;
    }
    .wpcf7-form input[type="submit"],
    .wpcf7-form .wpcf7-submit {
        width: 100%;
        align-self: stretch;
    }
}

/* === CF7 fixes for floating labels === */
.cf7-float p { margin: 0; }
.cf7-float br { display: none; }
.cf7-float .wpcf7-form-control-wrap { display: block; width: 100%; }
.cf7-float .cf7-label { display: block; }
.cf7-float p input,
.cf7-float p textarea { display: block; width: 100%; }

