/* -----------------------------------------------------
   GRANDIX INTERNATIONAL
   Modern One-Page Website Stylesheet
   Colors: navy (#001f3f), red (#e02127), white (#ffffff)
   ----------------------------------------------------- */

:root {
  --navy: #001f3f;
  --red: #e02127;
  --white: #ffffff;
  --muted: #6b7280;
  --max-width: 1200px;
}

/* Remove blue click/tap highlight on links, buttons, etc */
* {
  -webkit-tap-highlight-color: transparent;
}

a, button {
  outline: none;
}

a:focus, button:focus {
  outline: none !important;
}


/* ------------------------------
   RESET / BASE STYLES
------------------------------ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Make all images scale to their containers to prevent overflow */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #0b1220;
  background: #fafafa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ------------------------------
   CONTAINER
------------------------------ */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 0;
}

.container.narrow {
  max-width: 900px;
}

/* ------------------------------
   HEADER
------------------------------ */

.logo{
  height: 48px;
  width: 48px;
  object-fit: contain;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 6px 26px rgba(2, 6, 23, 0.06);
  z-index: 1100;
  transition: top 0.28s ease, background 0.28s ease;
}

.site-header.hide {
  top: -120px;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  letter-spacing: 1px;
}

.brand-sub {
  font-size: 0.78rem;
  color: #e02127;
  margin-top: 1px;
  font-weight: 700;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-style: italic;
}

/* ------------------------------
   NAVIGATION LINKS (DESKTOP)
------------------------------ */
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 6px;
  border-radius: 6px;
  transition: color 0.18s, background 0.18s;
}

.nav-links a:hover {
  color: var(--red);
  background: rgba(224, 33, 39, 0.04);
}

/* ------------------------------
   HAMBURGER MENU
------------------------------ */
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle .bar {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--navy);
  margin: 4px 0;
  border-radius: 3px;
  transition: all 0.28s ease;
}

.menu-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
  background: var(--red);
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
  background: var(--red);
}

/* ------------------------------
   HERO SECTION
------------------------------ */
.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.45)),
    url('happy-professional-young-african-female-600nw-2454390647.webp') center/cover no-repeat;
}

.hero-inner {
  text-align: center;
  max-width: 980px;
  padding: 40px;
  z-index: 2;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.25rem;
  margin: 0 0 10px;
  color: var(--white);
  letter-spacing: 1px;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ------------------------------
   BUTTONS
------------------------------ */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  background: var(--red);
  color: #ffffff;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(224, 33, 39, 0.12);
  transition: all 0.3s ease-in-out;
}

.btn-primary:hover{
  background: #c91c23;
  transform: translateY(-2x);
  box-shadow: 0 10px 24px rgba(224, 33, 39, 0.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255,255,255,0.25);
  transition: all 0.3s ease;
}

/* ------------------------------
   SECTION BASE STYLES
------------------------------ */
.section {
  padding: 80px 0;
  background: transparent;
}

.section-alt {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.center {
  text-align: center;
}

.lead {
  color: var(--muted);
  max-width: 820px;
  margin: 10px auto 24px;
}

/* ------------------------------
   ABOUT SECTION
------------------------------ */
/*
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.about-grid .about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.06);
}
*/
.about-content h2 {
  color: var(--navy);
  margin-top: 0;
}

/* Team section */
.team-section {
  padding: 72px 0;
}

.team-section .center {
  margin-bottom: 6px;
}

.team-section .lead {
  margin-bottom: 28px;
  color: #555;
}

/* Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Text-only card */
.team-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform .28s ease, box-shadow .28s ease;
  border-left: 4px solid var(--gold); /* little touch of gold */
}

.team-card h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
}

.team-card .role {
  margin: 0;
  font-weight: 600;
  color: var(--red);
  font-size: .95rem;
}

.team-card .bio {
  margin-top: 10px;
  color: #444;
  line-height: 1.55;
  font-size: .95rem;
}

/* Hover */
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 42px rgba(0,0,0,0.13);
}

/* Fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: all .6s cubic-bezier(.2,.9,.18,1);
}
.fade-in.in-view {
  opacity: 1;
  transform: translateY(0);
}

    .magazine-gallery {
      margin-top: 35px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
      gap: 18px;
    }
    .magazine-gallery img {
      width: 100%;
      border-radius: 10px;
      box-shadow: 0 6px 20px rgba(0,0,0,0.12);
      object-fit: cover;
    }
    .back-btn {
      margin-top: 40px;
      text-align: center;
    }

/* Responsive */
@media (max-width: 980px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------
   SERVICES (STONEPARK MEDIA)
------------------------------ */
.section-alt{
  background: linear-gradient(180deg, rgba(214, 225, 241, 0.336), rgba(0, 16, 40, 0.219));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.267);
  text-align: left;
}

.card h3 {
  margin-top: 8px;
  color: var(--navy);
}

.card-icon {
  font-size: 30px;
}

/* ------------------------------
   MAGAZINE SECTION
------------------------------ */
.mag-preview {
  display: flex;
  justify-content: center;
  margin: 20px 0 30px;
}

.mag-preview img {
  width: 320px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.12);
}

/* ------------------------------
   AWARDS SECTION
------------------------------ */
.section-awards {
  background: linear-gradient(180deg, rgba(0, 16, 40, 0.9), rgba(0, 16, 40, 0.95));
  color: #fff;
  padding: 80px 0;
}

.awards-inner {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
}

.awards-text h2 {
  color: #fff;
  margin-top: 0;
}

.awards-art img {
  width: 360px;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Award Gallery */
.award-gallery {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.award-item {
  text-align: center;
}

.award-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transition: transform .35s ease, box-shadow .35s ease;
}

.award-item:hover img {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.award-name {
  margin-top: 10px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: all .7s cubic-bezier(.16, .84, .44, 1);
}

.fade-in.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------
   CONTACT SECTION
------------------------------ */
  .contact-info {
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
  }

  .contact-info h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.8rem;
  }

  .contact-info p {
    margin: 8px 0;
    font-size: 1rem;
  }

  .contact-info a {
    color: #0073e6;
    text-decoration: none;
  }

  .contact-info a:hover {
    text-decoration: underline;
  }

  .contact-info i {
  margin-right: 8px;
  color: #555;
}

/* Fade-In Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all .6s cubic-bezier(.2,.9,.18,1);
}

.fade-in.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------
   FOOTER
------------------------------ */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 10px 0;
  text-align: center;
  margin-top: 30px;
}

/* ------------------------------
   ANIMATION HELPERS
------------------------------ */
.fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

.fade.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------
   RESPONSIVE STYLES
------------------------------ */
@media (max-width: 980px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .awards-inner {
    flex-direction: column-reverse;
    gap: 20px;
    text-align: center;
  }

  .awards-art img {
    width: 280px;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero {
    padding: 120px 18px 60px;
  }

  .site-header {
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
  }
}

@media (max-width: 900px) {
  .award-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .award-item img {
    height: 220px;
  }
}

@media (max-width: 600px) {
  .award-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  /* changed: stop forcing fixed width on small screens — let images size to grid cells */
  .award-item img {
    width: 100%;
    height: auto;
  }
}


/* ------------------------------
   MOBILE NAVIGATION
------------------------------ */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 18px 16px;
    gap: 6px;
    box-shadow: 0 12px 40px rgba(2, 6, 23, 0.08);
    border-top: 1px solid #f0f2f7;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle .bar {
    background: var(--navy);
  }
}

/* ------------------------------
   SMALL ELEMENTS / MISC
------------------------------ */
.muted {
  color: var(--muted);
  font-size: 0.98rem;
  margin-top: 8px;
}

.about-content .btn {
  margin-top: 14px;
}
