/* =========================================================================
   PANA CONSULTING - styles.css
   A Journey of Averages....

   Sections:
   1. CSS Variables & Reset
   2. Typography
   3. Layout Components (Nav, Footer)
   4. Hero Section
   5. Approach Section
   6. Services Section
   7. Why Pana? (Carousel)
   8. Gallery & Testimonials
   9. Core Team
   10. Footer
   11. Animations
   12. Responsive Media Queries
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. CSS VARIABLES & RESET
   ------------------------------------------------------------------------- */

:root {
  --teal: #1a9e8f;
  --teal-dark: #157a6e;
  --teal-light: #e8f7f5;
  --gold: #f5a623;
  --gold-light: #fff8ec;
  --pink: #f4a0b5;
  --pink-light: #fff0f4;
  --purple: #a78bca;
  --purple-light: #f3eefb;
  --blue-light: #e8f4ff;
  --green-light: #edf7ee;
  --yellow-light: #fffbe8;
  --text-dark: #1a2e2c;
  --text-mid: #3d5c58;
  --text-light: #6b8c88;
  --bg: #ffffff;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(26, 158, 143, 0.10);
  --shadow-hover: 0 12px 32px rgba(26, 158, 143, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

/* -------------------------------------------------------------------------
   2. TYPOGRAPHY
   ------------------------------------------------------------------------- */

h1,
h2,
h3,
.brand-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
}

/* -------------------------------------------------------------------------
   3. NAVIGATION
   ------------------------------------------------------------------------- */

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 60px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-img {
  height: 56px;
  width: auto;
  display: block;
}

.nav-logo-fallback {
  display: none;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--teal), var(--purple));
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  font-weight: 900;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 20px;
  color: var(--teal);
  line-height: 1.2;
}

.brand-tagline {
  font-size: 11px;
  color: var(--gold);
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-mid);
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--teal);
}

/* -------------------------------------------------------------------------
   4. HERO SECTION
   ------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------
   4. HERO — 3-column layout matching sample design
   ------------------------------------------------------------------------- */
.hero {
  padding: 48px 40px 40px;
  display: grid;
  grid-template-columns: 165px 1fr 165px;
  gap: 20px;
  align-items: start;
  background: #f7fffe;
}

/* Side columns */
.hero-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Photo cards */
.hero-photo-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
  background: #fff;
  transition: transform .3s ease, box-shadow .3s ease;
  flex-shrink: 0;
}

.hero-photo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
}

.hero-photo-card img {
  width: 100%;
  height: 138px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-photo-card--tall img {
  height: 210px;
}

.hero-photo-card--nocrop img {
  height: auto;
  object-fit: contain;
  background: #f0f8f7;
}

.hero-card-label {
  padding: 8px 12px 10px;
  font-size: 10.5px;
  font-style: italic;
  color: var(--teal-dark);
  font-weight: 600;
  line-height: 1.65;
  border-top: 2px solid var(--teal-light);
  background: #fff;
}

/* Center column */
.hero-center {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-video-placeholder {
  border-radius: 16px;
  height: 300px;
  background: linear-gradient(135deg, #0e3b35 0%, #1a9e8f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.hero-video-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 1px,
    transparent 1px,
    transparent 12px
  );
}

.hero-video-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.hero-video-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  padding-left: 4px;
  transition: background .25s, transform .25s;
}

.hero-video-placeholder:hover .hero-video-icon {
  background: rgba(255,255,255,0.28);
  transform: scale(1.08);
}

.hero-video-label {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
  margin: 0;
}

.hero-video-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

.hero-text {
  text-align: center;
  padding: 52px 16px 0;
}

.hero-text h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--teal);
  line-height: 1.2;
  margin-bottom: 16px;
  animation: fadeUp .7s ease both;
}

.hero-text p {
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 28px;
  animation: fadeUp .7s .15s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(245, 166, 35, 0.35);
  transition: transform .2s, box-shadow .2s;
  animation: fadeUp .7s .3s ease both;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.45);
}

/* -------------------------------------------------------------------------
   5. APPROACH SECTION
   ------------------------------------------------------------------------- */

.approach {
  padding: 80px 60px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
  background: var(--green-light);
}

.approach-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.approach-img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}

.approach-content h2 {
  font-size: 32px;
  color: var(--teal);
  margin-bottom: 18px;
}

.approach-content p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 14px;
}

/* -------------------------------------------------------------------------
   6. WHAT DO WE OFFER (Services)
   ------------------------------------------------------------------------- */

.services {
  padding: 80px 60px;
  background: #fff;
}

.section-title {
  text-align: center;
  font-size: 32px;
  color: var(--teal);
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.services-row2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 75%;
  margin: 0 auto;
}

.service-card {
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform .2s, box-shadow .2s;
  background: #fff;
  cursor: pointer;
  position: relative;
}

.service-card::after {
  content: 'Tap to explore →';
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 10px;
  font-weight: 600;
  opacity: 0;
  letter-spacing: .4px;
  transition: opacity .2s;
  color: #888;
}

.service-card:hover::after { opacity: 1; }

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

.service-card.blue { background: var(--blue-light); }
.service-card.yellow { background: var(--yellow-light); }
.service-card.green { background: var(--green-light); }
.service-card.purple { background: var(--purple-light); }
.service-card.pink { background: var(--pink-light); }
.service-card.teal { background: var(--teal-light); }
.service-card.peach { background: #fff3ef; }

.service-icon {
  font-size: 40px;
  margin-bottom: 12px;
  display: block;
}

.service-num {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 6px;
}

.service-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--teal-dark);
  line-height: 1.4;
}

/* -------------------------------------------------------------------------
   7. WHY PANA? (Carousel Section)
   ------------------------------------------------------------------------- */

.why-pana {
  padding: 80px 60px;
  background: var(--teal-light);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: center;
}

.why-pana-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.why-pana-left h2 {
  font-size: 32px;
  color: var(--teal);
  text-align: center;
}

.why-icon {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3px dashed var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  background: #fff;
}

.why-dots {
  display: flex;
  gap: 8px;
}

.why-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  opacity: .3;
  cursor: pointer;
  transition: opacity .25s;
}

.why-dot.active {
  opacity: 1;
}

.why-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 40px;
  box-shadow: var(--shadow);
  max-width: 640px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-mid);
}

.why-card strong {
  color: var(--teal-dark);
}

/* -------------------------------------------------------------------------
   8. GALLERY & TESTIMONIALS
   ------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------
   8. GALLERY — carousel layout
   ------------------------------------------------------------------------- */
.gallery {
  padding: 72px 0 60px;
  background: #fff;
  text-align: center;
  overflow: hidden;
}

.gallery h2 {
  font-size: 32px;
  color: var(--teal);
  margin-bottom: 14px;
}

/* dot nav */
.gallery-nav-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}

.g-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #c5dbd8;
  cursor: pointer;
  padding: 0;
  transition: background .25s, transform .2s;
}

.g-dot--active,
.g-dot:hover {
  background: var(--teal);
  transform: scale(1.2);
}

/* carousel */
.gallery-carousel-outer {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 48px;
  position: relative;
}

.carousel-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #d0e4e1;
  background: #fff;
  color: var(--teal);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  z-index: 2;
}

.carousel-arrow:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.gallery-viewport {
  flex: 1;
  overflow: hidden;
  margin: 0 12px;
}

.gallery-track {
  display: flex;
  gap: 12px;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}

.gallery-slide {
  flex: 0 0 calc(20% - 10px);
  border-radius: 14px;
  overflow: hidden;
  height: 190px;
  cursor: zoom-in;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.gallery-slide:hover img {
  transform: scale(1.06);
}

/* testimonial strip */
.testimonial-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 32px 60px 0;
  background: #fffbee;
  border-radius: 16px;
  padding: 28px 48px;
  min-height: 90px;
}

.t-quote {
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 1;
  color: var(--gold, #c8a84b);
  flex-shrink: 0;
  user-select: none;
}

.t-quote--close {
  align-self: flex-end;
}

.t-body {
  text-align: center;
}

.t-text {
  font-size: 17px;
  font-weight: 700;
  color: var(--teal-dark, #0e3b35);
  margin: 0 0 6px;
  transition: opacity .3s;
}

.t-attr {
  font-size: 13px;
  color: #666;
  margin: 0;
  font-style: italic;
  transition: opacity .3s;
}

/* -------------------------------------------------------------------------
   9. CORE TEAM
   ------------------------------------------------------------------------- */

.core-team {
  padding: 80px 60px;
  background: var(--gold-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.core-team-content h2 {
  font-size: 32px;
  color: var(--teal);
  margin-bottom: 10px;
}

.core-team-content p {
  font-size: 14.5px;
  color: var(--text-mid);
  margin-bottom: 28px;
}

.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(26, 158, 143, 0.30);
  transition: transform .2s;
}

.btn-teal:hover {
  transform: translateY(-2px);
}

.team-photos {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.team-photo {
  width: 140px;
  height: 180px;
  border-radius: 100px 100px 16px 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* -------------------------------------------------------------------------
   10. FOOTER
   ------------------------------------------------------------------------- */

footer {
  background: #1a2e2c;
  color: #b8d4d0;
  padding: 60px 60px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 52px;
  width: auto;
}

.footer-logo-text .brand-name {
  font-size: 18px;
  color: #4dd9c7;
}

.footer-logo-text .brand-tagline {
  font-size: 11px;
  color: var(--gold);
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.8;
  color: #8aafaa;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  font-size: 13.5px;
  color: #8aafaa;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color .2s;
}

.footer-col a:hover {
  color: #fff;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #8aafaa;
  margin-bottom: 12px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform .2s, filter .2s;
}

.social-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.social-btn.li { background: #0077b5; color: #fff; }
.social-btn.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }
.social-btn.yt { background: #ff0000; color: #fff; }

.footer-bottom {
  border-top: 1px solid #2d4a46;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: #5a7a76;
}

/* -------------------------------------------------------------------------
   11. ANIMATIONS
   ------------------------------------------------------------------------- */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------------------------------------------------------
   12. RESPONSIVE
   ------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  nav { padding: 14px 30px; }
  .hero, .approach, .services, .why-pana, .gallery, .core-team, footer {
    padding-left: 30px;
    padding-right: 30px;
  }
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-photos-right { display: none; }
}

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photos-left { display: none; }
  .approach, .core-team { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-row2 {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .why-pana {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .why-pana-left {
    flex-direction: row;
    justify-content: center;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 200px);
  }
}

@media (max-width: 480px) {
  nav { padding: 12px 20px; }
  .hero-center h1 { font-size: 32px; }
  .hero-center p { font-size: 14px; }
  .section-title { font-size: 26px; }
  .services-grid { grid-template-columns: 1fr; }
  .approach-img img { height: 240px; }
  .why-pana-left { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .team-photos {
    justify-content: center;
    flex-wrap: wrap;
  }
  .team-photo {
    width: 120px;
    height: 150px;
  }
}

/* -------------------------------------------------------------------------
   UTILITY CLASSES
   ------------------------------------------------------------------------- */

.text-teal { color: var(--teal); }
.text-gold { color: var(--gold); }
.mt-20 { margin-top: 20px; }
.mb-40 { margin-bottom: 40px; }

.reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* -------------------------------------------------------------------------
   END OF STYLESHEET
   ------------------------------------------------------------------------- */