/* ============================================================
   PageOne Consult - Main Stylesheet
   Colors: Navy #1a2744 | Gold #c9a84c | White #ffffff
   Font: Open Sans
   ============================================================ */

:root {
  --primary:    #1a2744;
  --primary-dk: #111c33;
  --primary-lt: #243256;
  --accent:     #c9a84c;
  --accent-dk:  #a8883a;
  --accent-lt:  #e2c46a;
  --white:      #ffffff;
  --light:      #f8f9fb;
  --mid:        #e9ecef;
  --dark:       #212529;
  --muted:      #6c757d;
  --font:       'Open Sans', sans-serif;
  --radius:     6px;
  --shadow:     0 4px 24px rgba(26,39,68,.10);
  --shadow-lg:  0 8px 40px rgba(26,39,68,.16);
  --transition: all .3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-dk); }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--primary-dk);
  padding: 8px 0;
  font-size: 13px;
  color: rgba(255,255,255,.75);
}
.topbar a {
  color: rgba(255,255,255,.75);
  font-size: 13px;
}
.topbar a:hover { color: var(--accent); }
.topbar-right a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: rgba(255,255,255,.1);
  border-radius: 4px;
  margin-left: 4px;
  font-size: 13px;
  color: rgba(255,255,255,.8);
}
.topbar-right a:hover {
  background: var(--accent);
  color: var(--white);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  background: var(--primary);
  padding: 0;
  border-bottom: 3px solid var(--accent);
  transition: var(--transition);
  z-index: 1040;
}
.site-nav.scrolled {
  box-shadow: var(--shadow-lg);
  padding: 0;
}
.logo-img { transition: var(--transition); }
.navbar-nav .nav-link {
  color: rgba(255,255,255,.85) !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  padding: 28px 14px !important;
  position: relative;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 3px;
  background: var(--accent);
  transition: var(--transition);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  left: 14px; right: 14px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--white) !important;
}

/* Buttons */
.btn-accent-outline {
  border: 2px solid var(--accent);
  color: var(--accent) !important;
  padding: 8px 22px !important;
  border-radius: var(--radius);
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.btn-accent-outline:hover {
  background: var(--accent);
  color: var(--primary) !important;
}
.btn-accent-outline::after { display: none !important; }

.btn-primary-site {
  background: var(--primary);
  color: var(--white);
  padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  border: none;
  display: inline-block;
  transition: var(--transition);
}
.btn-primary-site:hover {
  background: var(--primary-lt);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-accent {
  background: var(--accent);
  color: var(--primary);
  padding: 12px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  border: none;
  display: inline-block;
  transition: var(--transition);
}
.btn-accent:hover {
  background: var(--accent-dk);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider { position: relative; overflow: hidden; }
.hero-slide {
  position: relative;
  height: 620px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,39,68,.85) 0%, rgba(26,39,68,.50) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-content .eyebrow {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.hero-content h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-content p {
  color: rgba(255,255,255,.85);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 32px;
}

/* Carousel controls */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 48px; height: 48px;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 50%;
  top: 50%; transform: translateY(-50%);
  opacity: 1;
}
.hero-slider .carousel-control-prev { left: 20px; }
.hero-slider .carousel-control-next { right: 20px; }
.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.hero-slider .carousel-indicators [data-bs-target] {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none;
  margin: 0 4px;
}
.hero-slider .carousel-indicators .active {
  background: var(--accent);
  transform: scale(1.2);
}

/* ============================================================
   SECTION STYLES
   ============================================================ */
section { padding: 90px 0; }
section.section-light { background: var(--light); }
section.section-primary { background: var(--primary); }

.section-label {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-title span { color: var(--accent); }
.section-title.white, .section-label.white-label { color: var(--white); }
.section-divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 0 20px 0;
}
.section-divider.centered { margin: 0 auto 20px; }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--accent);
  padding: 48px 0;
}
.stat-item { text-align: center; }
.stat-item .stat-number {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-item .stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
  background: var(--white);
  border: 1px solid var(--mid);
  border-radius: 10px;
  padding: 36px 28px;
  transition: var(--transition);
  height: 100%;
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lt) 100%);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 26px;
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--primary);
}
.service-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card p { color: var(--muted); font-size: 14px; margin: 0; }

/* ============================================================
   EVENT CARDS
   ============================================================ */
.event-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: var(--transition);
  height: 100%;
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.event-card .event-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.event-card .event-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.event-card:hover .event-img img { transform: scale(1.06); }
.event-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--accent);
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 3px;
}
.event-badge.past { background: var(--muted); color: var(--white); }
.event-date-box {
  position: absolute;
  bottom: 14px; right: 14px;
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 8px 14px;
  border-radius: 6px;
}
.event-date-box .day { font-size: 1.4rem; font-weight: 800; line-height: 1; }
.event-date-box .month { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.event-body { padding: 24px; }
.event-body h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.event-meta { font-size: 13px; color: var(--muted); }
.event-meta i { color: var(--accent); margin-right: 4px; }

/* ============================================================
   TEAM CARDS
   ============================================================ */
.team-card {
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: top;
}
.team-info { padding: 24px 20px; }
.team-info h5 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.team-info .position {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.team-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--light);
  border-radius: 50%;
  color: var(--primary);
  font-size: 14px;
  margin: 0 3px;
  transition: var(--transition);
}
.team-socials a:hover { background: var(--primary); color: var(--accent); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-filter .btn-filter {
  background: var(--white);
  border: 2px solid var(--mid);
  color: var(--muted);
  padding: 7px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin: 4px;
  transition: var(--transition);
  cursor: pointer;
}
.gallery-filter .btn-filter:hover,
.gallery-filter .btn-filter.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 30px; }
.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(26,39,68,.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: var(--accent); font-size: 2rem; }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(26,39,68,.9));
  color: var(--white);
  padding: 20px 16px 14px;
  font-size: 13px;
  font-weight: 600;
  transform: translateY(100%);
  transition: var(--transition);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* ============================================================
   PARTNERS
   ============================================================ */
.partner-card {
  background: var(--white);
  border: 1px solid var(--mid);
  border-radius: 10px;
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}
.partner-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.partner-logo {
  height: 70px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .6;
  transition: var(--transition);
}
.partner-card:hover .partner-logo { filter: none; opacity: 1; }
.partner-name { font-size: 14px; font-weight: 700; color: var(--primary); margin-top: 14px; }
.partner-cat { font-size: 12px; color: var(--muted); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-info-box {
  background: var(--primary);
  border-radius: 12px;
  padding: 40px 32px;
  color: var(--white);
  height: 100%;
}
.contact-info-box h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 8px; }
.contact-info-box p { color: rgba(255,255,255,.75); font-size: 14px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item-text small { display: block; color: rgba(255,255,255,.5); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.contact-item-text span, .contact-item-text a {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}
.contact-form-box {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}
.contact-form-box .form-label { font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.contact-form-box .form-control {
  border: 1.5px solid var(--mid);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 14px;
  transition: var(--transition);
}
.contact-form-box .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}
.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrapper iframe { display: block; }

/* ============================================================
   PAGE HERO BANNER
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lt) 100%);
  padding: 80px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="0,100 100,0 100,100" fill="rgba(201,168,76,0.06)"/></svg>') no-repeat bottom right;
  background-size: 500px;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
.breadcrumb-item a { color: rgba(255,255,255,.7); }
.breadcrumb-item.active, .breadcrumb-item+.breadcrumb-item::before { color: var(--accent); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.value-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: 8px;
  border-left: 4px solid var(--accent);
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}
.value-icon { color: var(--accent); font-size: 22px; flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 58px; height: 58px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: var(--transition);
}
.whatsapp-float:hover {
  background: #1ebe5d;
  color: var(--white);
  transform: scale(1.1);
}
.wa-tooltip {
  position: absolute;
  right: 66px;
  background: var(--primary);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  top: 50%; right: -6px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--primary);
  border-right: none;
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 96px; right: 28px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  z-index: 9998;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--accent); color: var(--primary); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--primary-dk); color: rgba(255,255,255,.75); }
.footer-top { padding: 70px 0 50px; }
.footer-logo { filter: brightness(0) invert(1); opacity: .9; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,.6); max-width: 300px; }
.footer-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  color: rgba(255,255,255,.7);
  font-size: 15px;
  margin-right: 6px;
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--accent); color: var(--primary); }
.footer-heading {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(201,168,76,.3);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.6); font-size: 14px; }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 14px;
  font-size: 14px;
  color: rgba(255,255,255,.65);
}
.footer-contact li i { color: var(--accent); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,.65); }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lt) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 300px; height: 300px;
  background: rgba(201,168,76,.08);
  border-radius: 50%;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
  .navbar-nav .nav-link { padding: 10px 16px !important; }
  .navbar-nav .nav-link::after { display: none; }
  .hero-slide { height: 480px; }
  section { padding: 60px 0; }
}
@media (max-width: 767.98px) {
  .hero-slide { height: 400px; }
  .hero-content h1 { font-size: 1.8rem; }
  .topbar { font-size: 12px; }
  section { padding: 50px 0; }
  .contact-form-box { padding: 28px 20px; }
}
