/* ============================================================
   PT Insight Investments Management - Template 12
   Colors: Deep Navy #0B1D3A, Gold #C8963E, White, Warm Gray
   Fonts: Playfair Display + Lato
   ============================================================ */

:root {
  --navy: #0B1D3A;
  --navy-light: #122D5C;
  --gold: #C8963E;
  --gold-light: #D4A84E;
  --gold-dark: #A67B2E;
  --white: #FFFFFF;
  --warm-gray: #F8F6F1;
  --gray-100: #F0EDE8;
  --gray-200: #E0DCD5;
  --gray-300: #B0ACA5;
  --gray-500: #6B6760;
  --gray-700: #3D3A35;
  --gray-900: #1A1A2E;
  --text: #2C2C3A;
  --text-light: #6B6760;
  --shadow-sm: 0 2px 8px rgba(11, 29, 58, 0.06);
  --shadow-md: 0 4px 16px rgba(11, 29, 58, 0.10);
  --shadow-lg: 0 8px 32px rgba(11, 29, 58, 0.14);
  --shadow-xl: 0 16px 48px rgba(11, 29, 58, 0.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-weight: 700;
}

a { color: var(--gold-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

/* ========== NAVBAR (Fix 1: navbar-expand-lg required) ========== */
.navbar {
  transition: var(--transition);
  padding: 16px 0;
  z-index: 1000;
}
.navbar.scrolled {
  background: rgba(11, 29, 58, 0.97) !important;
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}
.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white) !important;
  letter-spacing: 0.5px;
}
.navbar-brand .gold-dot {
  color: var(--gold);
}
.navbar .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  padding: 8px 16px !important;
  margin: 0 2px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--gold) !important;
  background: rgba(200, 150, 62, 0.08);
}
.navbar .btn-nav {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 700;
  padding: 10px 24px !important;
  border-radius: 30px;
  transition: var(--transition);
}
.navbar .btn-nav:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}
.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 10px;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
  .navbar {
    background: rgba(11, 29, 58, 0.97) !important;
  }
  .navbar .navbar-collapse {
    background: rgba(11, 29, 58, 0.98);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-top: 12px;
  }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,29,58,0.92) 0%, rgba(11,29,58,0.78) 50%, rgba(11,29,58,0.65) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
}
.hero-content .badge {
  display: inline-block;
  background: rgba(200, 150, 62, 0.15);
  border: 1px solid rgba(200, 150, 62, 0.35);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 30px;
  margin-bottom: 28px;
}
.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-content h1 .gold {
  color: var(--gold);
}
.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 30px;
  border: none;
  font-size: 1rem;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,150,62,0.35);
}
.btn-outline-light-custom {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  padding: 14px 36px;
  border-radius: 30px;
  border: 2px solid rgba(255,255,255,0.4);
  font-size: 1rem;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.btn-outline-light-custom:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}
.hero-scroll a {
  color: rgba(255,255,255,0.6);
  font-size: 1.5rem;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

@media (max-width: 768px) {
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1rem; }
  .btn-gold, .btn-outline-light-custom { padding: 12px 28px; font-size: 0.92rem; }
}

/* ========== SECTIONS ========== */
.section { padding: 100px 0; }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  line-height: 1.25;
}
.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.75;
}
.bg-warm { background: var(--warm-gray); }
.bg-navy { background: var(--navy); }

/* ========== ABOUT SECTION ========== */
.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: var(--transition);
}
.about-img-wrapper:hover img {
  transform: scale(1.03);
}
.about-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--gold);
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: var(--shadow-md);
}
.about-accent .number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.about-accent .label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.about-features { list-style: none; padding: 0; margin-top: 20px; }
.about-features li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.about-features li i {
  color: var(--gold);
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ========== SERVICES CARDS ========== */
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--gray-200);
}
.service-card:hover::before {
  opacity: 1;
}
.service-icon {
  width: 62px;
  height: 62px;
  background: var(--warm-gray);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-size: 1.6rem;
  color: var(--gold);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--navy);
  color: var(--gold);
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--navy);
}
.service-card p {
  font-size: 0.93rem;
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.7;
}

/* ========== STATS ========== */
.stat-item {
  text-align: center;
  padding: 30px 20px;
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.bg-navy .stat-number { color: var(--gold); }
.bg-navy .stat-label { color: rgba(255,255,255,0.7); }

/* ========== TEAM SECTION ========== */
.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}
.team-card:hover img {
  transform: scale(1.05);
}
.team-img-wrap {
  overflow: hidden;
  position: relative;
}
.team-social {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(11,29,58,0.85));
  padding: 40px 16px 16px;
  display: flex;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}
.team-card:hover .team-social {
  opacity: 1;
  transform: translateY(0);
}
.team-social a {
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
}
.team-social a:hover { color: var(--gold); }
.team-info { padding: 22px 16px; }
.team-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.team-info span {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}
.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--gold);
  opacity: 0.25;
  position: absolute;
  top: 20px;
  right: 30px;
}
.testimonial-card p {
  font-size: 0.95rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author .name {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
}
.testimonial-author .role {
  font-size: 0.82rem;
  color: var(--text-light);
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200,150,62,0.10) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 1.08rem;
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ========== CONTACT SECTION ========== */
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.contact-info-item .icon {
  width: 48px;
  height: 48px;
  background: var(--warm-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-item h5 {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact-info-item span {
  font-size: 0.92rem;
  color: var(--text-light);
}
.contact-form .form-control {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.93rem;
  transition: var(--transition);
  background: var(--warm-gray);
}
.contact-form .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,150,62,0.12);
  background: var(--white);
}
.contact-form textarea.form-control {
  min-height: 140px;
}

/* ========== MAP ========== */
.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-wrapper iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 30px;
}
.footer h5 {
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 22px;
}
.footer p { font-size: 0.9rem; line-height: 1.8; margin-bottom: 0; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links li a:hover { color: var(--gold); padding-left: 5px; }
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--navy);
}
.footer-newsletter .form-control {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  border-radius: 30px 0 0 30px;
  padding: 12px 18px;
  font-size: 0.88rem;
}
.footer-newsletter .form-control::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter .form-control:focus {
  background: rgba(255,255,255,0.12);
  border-color: var(--gold);
  box-shadow: none;
}
.footer-newsletter .btn-sub {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border-radius: 0 30px 30px 0;
  padding: 12px 20px;
  border: none;
  transition: var(--transition);
}
.footer-newsletter .btn-sub:hover { background: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 50px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

/* ========== PAGE HEADER (INNER PAGES) ========== */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
}
.page-header h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 12px;
}
.page-header .breadcrumb {
  margin: 0;
  justify-content: center;
}
.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.page-header .breadcrumb-item.active { color: var(--gold); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ========== SERVICE DETAIL CARDS (INNER PAGES) ========== */
.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  height: 100%;
  border-left: 3px solid var(--gold);
  transition: var(--transition);
}
.service-detail-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.service-detail-card .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--gold);
  opacity: 0.3;
  font-weight: 700;
  line-height: 1;
}
.service-detail-card h3 { font-size: 1.2rem; margin: 12px 0 10px; }

/* ========== LEGAL PAGES ========== */
.legal-content h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-top: 36px;
  margin-bottom: 14px;
}
.legal-content h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-top: 28px;
  margin-bottom: 10px;
}
.legal-content p, .legal-content li {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
}
.legal-content ul { padding-left: 24px; margin-bottom: 16px; }
.legal-content li { margin-bottom: 6px; }

/* ========== COOKIE CONSENT (Fix 2: rejectColor MUST be dark) ========== */
#cookieConsent {
  background: var(--white) !important;
  color: var(--text) !important;
  border-top: 3px solid var(--gold) !important;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12) !important;
}
#cookieConsent .cookie-consent__message {
  color: var(--text) !important;
}
#cookieConsent .cookie-consent__accept {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  border-radius: 30px !important;
  padding: 10px 28px !important;
  border: none !important;
}
#cookieConsent .cookie-consent__reject {
  background: transparent !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  border-radius: 30px !important;
  padding: 10px 28px !important;
  border: 2px solid var(--navy) !important;
}

/* ========== ANIMATIONS ========== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover { background: var(--gold-light); transform: translateY(-3px); }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-title { font-size: 1.8rem; }
  .stat-number { font-size: 2.2rem; }
  .page-header { padding: 120px 0 50px; }
  .page-header h1 { font-size: 2rem; }
  .about-accent { width: 90px; height: 90px; bottom: -15px; right: -15px; }
  .about-accent .number { font-size: 1.6rem; }
}
