/* ============================================
   P.K Finance — Premium Layout Stylesheet
   ============================================ */

/* ── Variables ───────────────────────────── */
:root {
  --primary: #111111;         /* Matte Black */
  --primary-dark: #000000;    /* Pure Black */
  --accent: #C5A059;          /* Metallic Gold */
  --accent-light: rgba(197, 160, 89, 0.15);
  --gold: #C5A059;
  --gold-dark: #A67C00;
  --text-dark: #111111;
  --text-muted: #666666;
  --white: #ffffff;
  --bg-light: #fdfdfd;
  --border: rgba(0, 0, 0, 0.05);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(197, 160, 89, 0.2);
  
  /* Spacing System */
  --space-xs: 0.5rem;   /* 8px */
  --space-sm: 1rem;     /* 16px */
  --space-md: 1.5rem;   /* 24px */
  --space-lg: 3rem;     /* 48px */
  --space-xl: 6rem;     /* 96px */
  
  --radius: 12px;
  --radius-lg: 24px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.12);
  --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ── Global Styles ───────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

section {
  padding: var(--space-xl) 0;
}

.container {
  max-width: 1320px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', serif;
  font-weight: 900;
  line-height: 1.2;
}

p {
  font-size: 1.05rem;
}

/* ── Typography Hierarchy ────────────────── */
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }

/* ── Navbar ──────────────────────────────── */
.main-navbar {
  background: #ffffff !important;
  padding: 20px 0;
  transition: var(--transition);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.main-navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  padding: 12px 0;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

.navbar-nav .nav-link {
  color: #333333 !important;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 15px !important;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--accent) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  right: 15px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

/* ── Hero Section ────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(17,17,17,0.9) 100%), url('../images/hero-bg.jpg') center/cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.hero-company-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.company-title {
  color: #fff;
  border-bottom: 4px solid var(--accent);
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.company-sub {
  color: var(--accent);
  letter-spacing: 4px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
}

.hero-title {
  color: #fff;
  margin-bottom: var(--space-md);
  max-width: 600px;
}

.hero-title span {
  color: var(--accent);
}

.hero-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  margin-bottom: var(--space-lg);
  max-width: 550px;
}

.hero-card {
  background: var(--glass);
  backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 10;
}

.hero-card .form-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-card .form-control, .hero-card .form-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 12px 15px;
  border-radius: 8px;
}

.hero-card .form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* ── Section UI ──────────────────────────── */
.section-badge {
  background: var(--accent-light);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.section-title {
  max-width: 700px;
  margin-bottom: var(--space-md);
}

.section-title span {
  color: var(--accent);
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: var(--space-lg);
}

/* ── Service Cards ───────────────────────── */
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--border);
  transition: var(--transition);
  padding: var(--space-sm);
}

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

.service-img-wrap {
  background: #fdfdfd;
  height: 250px;
  border-radius: var(--radius);
  margin-bottom: var(--space-md);
  padding: 30px;
  transition: var(--transition);
}

.service-card:hover .service-img-wrap {
  background: var(--accent-light);
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card-body {
  padding: 10px;
}

.service-card-body h4 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.service-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.card-link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

/* ── Why Choose Us ───────────────────────── */
.why-section {
  background: var(--primary);
  color: #fff;
}

.feature-item {
  display: flex;
  gap: 20px;
  margin-bottom: var(--space-md);
}

.feature-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  background: var(--accent);
  color: #000;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.stat-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.stat-card .number {
  color: var(--accent);
  font-size: 3rem;
  font-weight: 900;
}

/* ── Testimonials ────────────────────────── */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-card::after {
  content: '"';
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 5rem;
  color: var(--accent-light);
  font-family: serif;
}

/* ── Footer ──────────────────────────────── */
.main-footer {
  background: #000;
  color: #fff;
  padding-top: var(--space-xl);
}

.footer-heading {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 10px;
}

/* ── Buttons ─────────────────────────────── */
.btn {
  padding: 16px 35px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
}

.btn-warning {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

.btn-warning:hover {
  background: #d4af37;
  border-color: #d4af37;
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(197, 160, 89, 0.3);
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 991px) {
  section { padding: var(--space-lg) 0; }
  .hero-section { text-align: center; }
  .hero-company-name { align-items: center; }
  .hero-title, .hero-text { margin-left: auto; margin-right: auto; }
}

/* Header & Navigation Enhancements */
.main-navbar {
    padding: 1.25rem 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: transparent;
}

.main-navbar.scrolled {
    padding: 0.75rem 0;
    background: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand img {
    transition: transform 0.4s ease;
}

.scrolled .navbar-brand img {
    transform: scale(0.9);
}

.nav-link {
    position: relative;
    font-weight: 600;
    color: var(--platinum) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-apply-pill {
    background: #c5a059;
    color: #111111 !important;
    border-radius: 50px;
    padding: 12px 30px !important;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
    border: none;
    transition: all 0.3s ease;
}

.btn-apply-pill:hover {
    background: #b8924b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
    color: #000 !important;
}


/* Footer Enhancements */
.main-footer {
    background: linear-gradient(180deg, #111111 0%, #0a0a0a 100%);
    border-top: 1px solid rgba(197, 160, 89, 0.1);
    color: var(--platinum);
}

.footer-heading {
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
    font-size: 1.15rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

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

.footer-links a {
    color: rgba(234, 234, 234, 0.7);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

/* Newsletter Section */
.footer-newsletter {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(197, 160, 89, 0.1);
}

.newsletter-form .form-control {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.75rem 1.25rem;
}

.newsletter-form .form-control:focus {
    border-color: var(--accent);
    box-shadow: none;
}

.footer-legal-link {
    color: rgba(234, 234, 234, 0.5);
    margin-left: 1.5rem;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: var(--accent);
}

/* Premium Unified Form Styles */
.premium-form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.1);
}

.premium-form-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #111111;
    text-align: center;
}

.premium-form-title span {
    color: var(--accent);
}

.premium-form-subtitle {
    color: #666666;
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.premium-form-card .form-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333333;
    margin-bottom: 0.75rem;
}

.premium-form-card .form-control, 
.premium-form-card .form-select {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    color: #333333;
    transition: all 0.3s ease;
}

.premium-form-card .form-control:focus, 
.premium-form-card .form-select:focus {
    background: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1);
    outline: none;
}

.premium-form-card .form-control::placeholder {
    color: #adb5bd;
}

.btn-submit-premium {
    background: var(--accent);
    color: #111111;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 1.15rem 2rem;
    border-radius: 12px;
    border: none;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1.5rem;
}

.btn-submit-premium:hover {
    background: #b8924b;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.4);
}

@media (max-width: 768px) {
    .premium-form-card {
        padding: 2rem 1.5rem;
    }
    .premium-form-title {
        font-size: 1.75rem;
    }
}

/* Global Inner Page Hero Background */
.page-hero {
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(17,17,17,0.9) 100%), url('../images/hero-bg.jpg') center/cover no-repeat !important;
}
