/* ======================================================
   FINSEC EXPERT — Official Web Design System
   Exact Logo Blue Color: #0e4b88
   ====================================================== */

:root {
  /* Brand Blue extracted directly from uploaded logo */
  --brand-blue: #0e4b88;
  --brand-blue-hover: #0a3866;
  --brand-blue-light: #eaf2fa;
  --brand-blue-border: #bcd5ee;

  /* Neutral palette */
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --border-color: #e2e8f0;

  /* Fonts */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Shadows */
  --max-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(14, 75, 136, 0.08);
  --shadow-lg: 0 12px 24px rgba(14, 75, 136, 0.12);
  --transition: all 0.25s ease;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-white);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--brand-blue-hover);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--brand-blue); /* Font color set to blue as requested */
  font-weight: 700;
  line-height: 1.25;
}

.brand-text {
  color: var(--brand-blue) !important;
  font-weight: 800;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-blue);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-blue);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.btn-nav {
  background: var(--brand-blue);
  color: #ffffff !important;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-nav::after {
  display: none !important;
}

.btn-nav:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--brand-blue);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0e4b88 0%, #082d52 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero h1, .hero h2, .hero h3 {
  color: #ffffff !important;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.2);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-blue);
  color: #ffffff !important;
}

.btn-primary:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 75, 136, 0.3);
}

.btn-white {
  background: #ffffff;
  color: var(--brand-blue) !important;
}

.btn-white:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--brand-blue); /* Finsec Expert blue */
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-blue-border);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
  color: var(--brand-blue);
}

.service-text {
  color: var(--text-body);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-link {
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
}

.value-title {
  font-size: 1.25rem;
  color: var(--brand-blue);
  margin-bottom: 0.75rem;
}

/* Credentials */
.credentials-box {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.credential-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem 2.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.credential-icon {
  font-size: 2.25rem;
}

.credential-info h4 {
  font-size: 1.05rem;
  color: var(--brand-blue);
  margin-bottom: 0.25rem;
}

.credential-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Page Banner */
.page-banner {
  background: linear-gradient(135deg, #0e4b88 0%, #082d52 100%);
  color: #ffffff;
  padding: 4rem 0 3.5rem;
  text-align: center;
}

.page-banner h1 {
  color: #ffffff !important;
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Cards (No form, purely info as requested) */
.contact-info-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.contact-detail-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: var(--transition);
}

.contact-detail-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue-border);
}

.contact-detail-icon {
  width: 50px;
  height: 50px;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.contact-detail-card h3 {
  color: var(--brand-blue);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.contact-detail-card p, .contact-detail-card a {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-detail-card a {
  color: var(--brand-blue);
  font-weight: 600;
}

.contact-detail-card a:hover {
  text-decoration: underline;
}

/* FAQ Accordion */
.faq-box {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  margin-top: 3rem;
  box-shadow: var(--shadow-sm);
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  color: var(--brand-blue);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.faq-answer {
  color: var(--text-body);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Blog Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-tag {
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--brand-blue);
}

.blog-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
}

/* Article Page */
.article-container {
  max-width: 800px;
  margin: 3rem auto 5rem;
  padding: 0 1.5rem;
}

.article-header {
  margin-bottom: 2.5rem;
}

.article-header h1 {
  font-size: 2.5rem;
  color: var(--brand-blue);
  margin-bottom: 1rem;
}

.article-body h2 {
  font-size: 1.6rem;
  color: var(--brand-blue);
  margin: 2rem 0 1rem;
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  color: var(--text-body);
}

.article-body ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
  font-size: 1.02rem;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 750px;
  margin: 0 auto;
}

.team-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.team-avatar {
  width: 90px;
  height: 90px;
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 auto 1.5rem;
}

.team-card h3 {
  font-size: 1.35rem;
  color: var(--brand-blue);
  margin-bottom: 0.35rem;
}

.team-role {
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.team-badge {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-body);
  margin-bottom: 0.5rem;
}

/* CTA Box */
.cta-banner {
  background: linear-gradient(135deg, #0e4b88 0%, #082d52 100%);
  color: #ffffff;
  padding: 4rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 4rem 0;
}

.cta-banner h2 {
  color: #ffffff !important;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background: #092038;
  color: #94a3b8;
  padding: 4rem 0 2rem;
}

.footer h4 {
  color: #ffffff !important;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .footer-logo-img {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 70px;
  }
  .logo-img {
    height: 42px;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-color);
  }
  .nav-menu.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
