/* === BASE GLOBAL & RESET === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #fcfaf7;
  font-family: 'Inter', sans-serif;
  color: #2c2c2c;
  line-height: 1.6;               /* increased for readability */
  overflow-x: hidden;
  min-height: 100vh;
  font-size: 16px;                 /* base size */
}
@media (min-width: 1200px) {
  body { font-size: 17px; }        /* slightly larger on big screens */
}

/* === PREMIUM COMPANY PROFILE – ENHANCED === */
.company-root {
  --gold: #C6A15B;
  --charcoal: #1E1E1E;
  --light-bg: #F8F6F2;
  --off-white: #FFFFFF;
  --glass: rgba(255,255,255,0.75);
  --spacer: clamp(3rem, 8vh, 6rem);  /* refined spacer */
}

.company-profile-main {
  background-color: #fcfaf7;
  color: #2c2c2c;
  overflow-x: hidden;
}

/* section containers */
.cp-container {
  max-width: 1440px;
  margin: 20px auto;
  padding: 0 5vw;
}
@media (max-width: 480px) {
  .cp-container { padding: 0 4vw; }
}

/* typography luxury - refined */
.cp-eyebrow {
  font-size: 0.85rem;              /* slightly smaller */
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #8f7f6a;                  /* darker for contrast */
  font-weight: 500;
  margin-bottom: 1rem;
  display: block;
}

.cp-title-xl {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 600;
  line-height: 1.0;
  color: #1e1e1e;
  margin: 0.5rem 0 0.5rem;
  letter-spacing: -0.02em;
  opacity: 1 !important; /* ensure visible for animation */
}

.hero-subtitle {
  font-size: 1.2rem;
  max-width: 500px;
  color: #4a4a4a;
  font-weight: 300;
}

.cp-title-lg {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cp-divider {
  width: 80px;
  height: 2px;
  background: #C6A15B;
  margin: 2rem 0 1.5rem;           /* adjusted spacing */
  transition: width 0.5s ease;
}

/* cards & glass - enhanced transitions */
.cp-glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.08);
  padding: 2.2rem 1.8rem;
  transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1), 
              box-shadow 0.3s ease, 
              border-color 0.2s;
  will-change: transform, box-shadow;
  height: 100%;                    /* make cards equal height */
  display: flex;
  flex-direction: column;
}

.cp-glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 55px -18px rgba(0, 0, 0, 0.15);
  border-color: rgba(198, 161, 91, 0.4);
}

/* icon style */
.cp-icon {
  font-size: 2.2rem;
  color: #C6A15B;
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s;
}

.cp-glass-card:hover .cp-icon {
  transform: scale(1.1) rotate(2deg);
  color: #b18c4a;
}

/* stat numbers */
.cp-stat-number {
  font-size: 2.5rem;
  font-weight: 600;
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: #1e1e1e;
}
.cp-stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b6b6b;
  margin-top: 0.3rem;
}

/* grid systems - consistent gaps */
.cp-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 30px;
}
.cp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 30px;
}
.cp-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 30px;
  margin-top: 30px;
}

@media (max-width: 900px) {
  .cp-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cp-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cp-grid-4, .cp-grid-3, .cp-grid-2 { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* timeline – refined spacing */
.cp-timeline {
  position: relative;
  padding-left: 2rem;
}
.cp-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: linear-gradient(to bottom, #C6A15B 20%, #ddd 80%);
}
.cp-timeline-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem;             /* reduced from 2.5rem */
}
.cp-timeline-dot {
  position: absolute;
  left: -0.3rem;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #C6A15B;
  border: 3px solid white;
  box-shadow: 0 0 0 1px #e0d6c5;
  transition: box-shadow 0.3s ease, transform 0.2s;
}
.cp-timeline-item:hover .cp-timeline-dot {
  box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.25);
  transform: scale(1.2);
}
.cp-timeline-date {
  font-size: 0.9rem;
  font-weight: 500;
  color: #C6A15B;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}
.cp-timeline-title {
  font-weight: 600;
  font-size: 1.3rem;
  margin: 0 0 0.25rem;
}
.cp-timeline-desc {
  color: #4a4a4a;
  font-size: 1rem;
}

/* leader card */
.cp-leader {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: white;
  border-radius: 32px;
  padding: 2rem;
  box-shadow: 0 15px 30px -12px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  height: 100%;
}
.cp-leader:hover {
  box-shadow: 0 25px 45px -15px rgba(0, 0, 0, 0.15);
  transform: scale(1.01);
}
.cp-leader-icon {
  width: 100px;
  height: 100px;
  background: #ece7df;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #C6A15B;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.cp-leader:hover .cp-leader-icon {
  background: #e2d6c8;
  color: #a77e44;
  transform: rotate(2deg) scale(1.05);
}
.leader-birth {
  font-size: 1.1rem; 
  color: #C6A15B; 
  margin: 0.2rem 0;
}
.leader-location {
  display: flex; 
  gap: 0.5rem; 
  align-items: center; 
  margin-top: 0.8rem;
  color: #4a4a4a;
}
.activity-main {
  font-size: 1.5rem; 
  font-weight: 500; 
  line-height: 1.3;
}
.activity-secondary {
  margin-top: 1rem;
}

/* address block */
.cp-address-block {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  transition: box-shadow 0.3s;
  height: 100%;
}
.cp-address-block:hover {
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
}
.address-street {
  font-size: 2rem; 
  font-weight: 500; 
  margin: 0.5rem 0 0.25rem;
}
.address-city {
  font-size: 1.3rem; 
  color: #2c2c2c;
}
.address-details {
  margin-top: 1.5rem; 
  border-top: 1px dashed #ddd; 
  padding-top: 1.5rem;
}
.cp-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: #1e1e1e;
  font-weight: 500;
  border-bottom: 1px solid #C6A15B;
  padding-bottom: 0.2rem;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  text-decoration: none;
}
.cp-map-link:hover {
  border-color: #1e1e1e;
  color: #C6A15B;
  transform: translateX(3px);
}

/* badge */
.cp-rne-badge {
  background: #1e1e1e;
  color: white;
  border-radius: 100px;
  padding: 0.5rem 1.5rem 0.5rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.cp-rne-badge:hover {
  background: #2c2c2c;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

/* trust card */
.trust-card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.trust-content {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.trust-content i {
  font-size: 2.8rem; 
  color: #C6A15B;
}
.trust-content h3 {
  font-size: 1.6rem; 
  font-weight: 500;
}
.trust-content p {
  max-width: 600px;
}
.trust-link {
  background: none; 
  border: 1px solid #C6A15B; 
  border-radius: 50px; 
  padding: 0.8rem 2rem; 
  font-weight: 500; 
  color: #1e1e1e; 
  text-decoration: none; 
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.trust-link:hover {
  background: #C6A15B;
  color: white;
  transform: scale(1.02);
}

/* spacing sections */
.cp-section {
  padding: var(--spacer) 0;
}
.cp-section:first-of-type {
  padding-top: calc(2rem + 2vh);
}

/* responsive fine-tuning */
@media (max-width: 600px) {
  .cp-leader { flex-direction: column; text-align: center; }
  .cp-divider { margin: 1.5rem 0 1rem; }
  .cp-stat-number { font-size: 2rem; }
  .cp-title-xl { line-height: 1.1; }
  .address-street { font-size: 1.6rem; }
  .address-city { font-size: 1.1rem; }
  .trust-card { flex-direction: column; align-items: flex-start; }
  .trust-content { flex-direction: column; text-align: center; }
}

/* === ANIMATION UTILITIES (for GSAP) === */
.gs_reveal {
  opacity: 0;
  visibility: hidden;
}
.gs_reveal_fromLeft {
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
}
.gs_reveal_fromRight {
  clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%);
}
.parallax-bg {
  transition: transform 0.1s linear;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #C6A15B;
  outline-offset: 2px;
}