/* ============================================================
   GVTO — additions.css
   NEW sections only. Loaded AFTER style.css so it inherits every
   existing design token (colors, fonts, radius, shadows, spacing).
   Nothing here overrides or redefines existing rules or :root vars.
   Undefined-on-some-pages vars use safe fallbacks: e.g.
   var(--border-navy, rgba(30,48,80,0.12)).
   Components:
     1. Home "About GVTO" section        .about-home
     2. Testimonials                      .testimonials / .testimonial-card
     3. Partners logo marquee             .partners / .partners-track
     4. Services page                     .services-hero / .service-card
     5. Events timeline helpers           .events-year
   ============================================================ */


/* ============================================================
   1. HOME — ABOUT GVTO  (two-column: text left, image right)
   ============================================================ */
.about-home-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.about-home-text .section-eyebrow { margin-bottom: 1rem; }

.about-home-text p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.15rem;
  max-width: 620px;
}
.about-home-text p:last-of-type { margin-bottom: 2rem; }

/* Media column — image with layered accent frame */
.about-home-media {
  position: relative;
}
.about-home-media img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}
/* Subtle gold/blue accent block behind the image */
.about-home-media::before {
  content: '';
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-xl);
  opacity: 0.35;
  z-index: 1;
}
/* Soft ambient glow */
.about-home-media::after {
  content: '';
  position: absolute;
  width: 180px; height: 180px;
  right: -40px; top: -40px;
  background: radial-gradient(circle, rgba(43,127,212,0.18), transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

@media (max-width: 992px) {
  .about-home-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-home-media { order: -1; }
  .about-home-media::before { inset: 14px -14px -14px 14px; }
  .about-home-text p { max-width: none; }
}



.about-home-media{
    position:relative;
}

/* Responsive YouTube Video */
.about-video{
    position:relative;
    width:100%;
    aspect-ratio:16/9;
    border-radius:var(--radius-xl);
    overflow:hidden;
    box-shadow:var(--shadow-xl);
    z-index:2;
}

.about-video iframe{
    width:100%;
    height:100%;
    border:0;
    display:block;
}

/* Decorative Frame */
.about-home-media::before{
    content:"";
    position:absolute;
    inset:22px -22px -22px 22px;
    border:2px solid var(--gold);
    border-radius:var(--radius-xl);
    opacity:.35;
    z-index:1;
}

/* Glow */
.about-home-media::after{
    content:"";
    position:absolute;
    width:180px;
    height:180px;
    top:-40px;
    right:-40px;
    background:radial-gradient(circle,rgba(43,127,212,.18),transparent 70%);
    border-radius:50%;
    z-index:0;
}

@media(max-width:992px){

    .about-home-grid{
        grid-template-columns:1fr;
        gap:2.5rem;
    }

    .about-home-media{
        order:-1;
    }

    .about-home-media::before{
        inset:14px -14px -14px 14px;
    }

}

/* ============================================================
   2. TESTIMONIALS
   ============================================================ */
.testimonials-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.testimonials-head .section-eyebrow { justify-content: center; }
.testimonials-head .section-subtitle {
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border-navy, rgba(30,48,80,0.12));
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* Top accent line reveals on hover — mirrors .why-card behaviour */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(43,127,212,0.30);
}
.testimonial-card:hover::before { opacity: 1; }

/* Decorative quote mark */
.testimonial-card .quote-mark {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 0.8;
  color: rgba(43,127,212,0.16);
  margin-bottom: 0.25rem;
}

.testimonial-stars {
  color: #F6B93B;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-navy, rgba(30,48,80,0.12));
}
.testimonial-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(43,127,212,0.25);
}
.testimonial-meta .t-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.2;
}
.testimonial-meta .t-company {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.testimonial-meta .t-country {
  font-size: 0.75rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

@media (max-width: 992px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   3. PARTNERS — infinite auto-scrolling logo marquee
   Pure CSS. Track holds the logo set TWICE; translating -50%
   loops seamlessly. Pauses on hover.
   ============================================================ */
.partners-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.partners-head .section-eyebrow { justify-content: center; }

.partners-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: partners-scroll 40s linear infinite;
}
.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}
.partner-logo {
  flex-shrink: 0;
  height: 70px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: var(--transition);
}
.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .partners-track { gap: 2.5rem; animation-duration: 28s; }
  .partner-logo { height: 52px; max-width: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; }
}


/* ============================================================
   4. SERVICES PAGE
   ============================================================ */

/* --- Hero banner (self-contained navy gradient) --- */
.services-hero {
  background:
    linear-gradient(135deg, rgba(11,26,49,0.90) 0%, rgba(13,35,71,0.86) 55%, rgba(30,74,133,0.80) 100%),
    linear-gradient(135deg, #0b1a31, #1e4a85);
  padding: 12rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.services-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 40%, rgba(43,127,212,0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(43,127,212,0.12) 0%, transparent 55%);
}
.services-hero .container { position: relative; z-index: 2; }
.services-hero .section-eyebrow { justify-content: center; color: var(--gold-light); }
.services-hero .section-eyebrow::before { background: var(--gold-light); }
.services-hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}
.services-hero p {
  color: rgba(255,255,255,0.72);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* --- Service cards grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border-navy, rgba(30,48,80,0.12));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(43,127,212,0.30);
}

/* Supporting image */
.service-card-img {
  height: 200px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,26,49,0.55), transparent 55%);
}

/* Floating icon badge */
.service-icon {
  position: absolute;
  left: 1.25rem;
  bottom: -26px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: var(--shadow-md);
  z-index: 3;
}

.service-card-body {
  padding: 2.25rem 1.75rem 1.75rem;
  flex-grow: 1;
}
.service-card-body h3 {
  font-size: 1.12rem;
  color: var(--navy);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}
.service-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-hero { padding: 10rem 0 5rem; }
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}


/* ============================================================
   5. EVENTS TIMELINE HELPERS
   Reuses existing .events-grid / .event-card styling; adds only
   a chronological year divider so nothing existing is altered.
   ============================================================ */
.events-year {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0 1.75rem;
}
.events-year:first-of-type { margin-top: 0.5rem; }
.events-year .yr {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.events-year .yr-line {
  flex-grow: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 1px;
}


/* ============================================================
   6. NEWS & MEDIA — article detail pages
   Self-contained, theme-token based. Loaded on news-*.html.
   ============================================================ */

/* --- Article hero banner --- */
.article-hero {
  background:
    linear-gradient(135deg, rgba(11,26,49,0.92) 0%, rgba(13,35,71,0.88) 55%, rgba(30,74,133,0.82) 100%),
    linear-gradient(135deg, #0b1a31, #1e4a85);
  padding: 11rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 40%, rgba(43,127,212,0.18) 0%, transparent 55%),
    radial-gradient(circle at 82% 30%, rgba(43,127,212,0.12) 0%, transparent 55%);
}
.article-hero .container { position: relative; z-index: 2; }
.article-breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}
.article-breadcrumb a { color: var(--gold-light); }
.article-breadcrumb a:hover { color: var(--white); }
.article-hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  max-width: 900px;
  margin-bottom: 1.25rem;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}
.article-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.article-meta i { color: var(--gold-light); }

/* --- Article body layout --- */
.article-layout { padding: 4rem 0 5rem; }
.article-wrap { max-width: 820px; margin: 0 auto; }

.article-figure {
  margin: 0 0 2.5rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.article-figure img { width: 100%; height: auto; display: block; }

.article-body p {
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 1.4rem;
}
.article-body h2 {
  font-size: 1.5rem;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
}
.article-body ul {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
}
.article-body ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.7rem;
  line-height: 1.75;
  color: var(--text-body);
}
.article-body ul li::before {
  content: "\f058"; /* fa check-circle */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0; top: 2px;
  color: var(--gold);
  font-size: 0.95rem;
}

/* --- Related links box --- */
.article-related {
  margin-top: 2.5rem;
  background: var(--off-white);
  border: 1px solid var(--border-navy, rgba(30,48,80,0.12));
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
}
.article-related h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.9rem;
  letter-spacing: 0.02em;
}
.article-related ul { list-style: none; margin: 0; padding: 0; }
.article-related li { margin-bottom: 0.55rem; }
.article-related a {
  color: var(--gold-dark);
  font-weight: 500;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  word-break: break-word;
}
.article-related a:hover { color: var(--gold); text-decoration: underline; }

/* --- Share buttons --- */
.article-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-navy, rgba(30,48,80,0.12));
}
.article-share .share-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 0.35rem;
}
.share-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  border: 1px solid var(--border-navy, rgba(30,48,80,0.12));
  color: var(--navy);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}
.share-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Prev / Next / Back nav --- */
.article-nav {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.article-nav .art-nav-link {
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-navy, rgba(30,48,80,0.12));
  border-radius: var(--radius-md);
  transition: var(--transition);
  background: var(--white);
}
.article-nav .art-nav-link:hover {
  border-color: rgba(43,127,212,0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.article-nav .art-nav-link.next { text-align: right; align-items: flex-end; }
.article-nav .art-nav-link.disabled {
  opacity: 0.4;
  pointer-events: none;
}
.article-nav .art-dir {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
}
.article-nav .art-title {
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-back-row {
  text-align: center;
  margin-top: 2.5rem;
}

/* News card location line (reuses .news-card) */
.news-card-location {
  font-size: 0.78rem;
  color: var(--gold-dark);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

@media (max-width: 768px) {
  .article-hero { padding: 9rem 0 3rem; }
  .article-layout { padding: 2.5rem 0 3.5rem; }
  .article-nav .art-nav-link { flex: 1 1 100%; }
  .article-nav .art-nav-link.next { text-align: left; align-items: flex-start; }
}
