/* =============================================
   SHARED STYLES FOR PROFILE & PORTFOLIO PAGES
   ============================================= */

/* Active link indicator */
.active_link {
  color: var(--lime-green) !important;
  font-weight: 600;
}

.active_link::after {
  width: 100% !important;
  background-color: var(--lime-green) !important;
}

.list_btn a {
  text-decoration: none;
  color: inherit;
}

/* =============================================
   PAGE HERO
   ============================================= */
.page_hero {
  margin-top: 2rem;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--black) 0%, #2d2e3a 100%);
  border-radius: 45px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page_hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: var(--lime-green);
  opacity: 0.05;
  border-radius: 50%;
}

.page_hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: var(--lime-green);
  opacity: 0.08;
  border-radius: 50%;
}

.page_hero_content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.page_hero_content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.page_hero_content .highlight {
  color: var(--lime-green);
}

.page_hero_content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto;
}

/* =============================================
   SECTION HEADERS (reusable)
   ============================================= */
.section_header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  margin-bottom: 3rem;
}

.section_header h3 {
  font-size: 1.8rem;
  font-weight: 500;
  background-color: var(--lime-green);
  padding: 5px 10px;
  border-radius: 5px;
  text-transform: capitalize;
  white-space: nowrap;
}

.section_header p {
  text-wrap: pretty;
  max-width: 550px;
  font-size: 17px;
}

/* =============================================
   COMPANY OVERVIEW (Profile Page)
   ============================================= */
.company_overview {
  margin-top: 5rem;
}

.overview_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.overview_card {
  padding: 2rem;
  border: 1px solid var(--black);
  border-radius: 25px;
  box-shadow: 0 4px 0 0 var(--black);
  background-color: #fff;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.overview_card:hover {
  transform: translateY(-4px);
  background-color: var(--card-bg-grey);
}

.overview_icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.overview_card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.overview_card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

.overview_card p a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.overview_card p a:hover {
  color: #555;
}

/* =============================================
   LEADERSHIP SECTION (Profile Page)
   ============================================= */
.leadership_section {
  margin-top: 5rem;
}

.leadership_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.leader_card {
  display: flex;
  gap: 2rem;
  padding: 2.5rem;
  border: 1px solid var(--black);
  border-radius: 30px;
  box-shadow: 0 5px 0 0 var(--black);
  background-color: #fff;
  transition: transform 0.3s ease;
}

.leader_card:hover {
  transform: translateY(-4px);
}

.leader_avatar {
  flex-shrink: 0;
}

.avatar_placeholder {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--black) 0%, #3a3b47 100%);
  color: var(--lime-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.avatar_photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--lime-green);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.leader_info h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.leader_role {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 1rem;
}

.leader_bio {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #444;
  margin-bottom: 1.25rem;
}

.leader_links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social_link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--black);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social_link img {
  width: 16px;
  height: 16px;
}

.social_link:hover {
  background-color: var(--black);
  color: #fff;
}

.social_link:hover img {
  filter: brightness(10);
}

/* =============================================
   VERIFICATION / PROFILE LINKS (Profile Page)
   ============================================= */
.verification_section {
  margin-top: 5rem;
}

.profile_links_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.profile_link_card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  background-color: #fff;
  text-decoration: none;
  color: var(--black);
  transition: all 0.3s ease;
}

.profile_link_card:hover {
  border-color: var(--lime-green);
  box-shadow: 0 4px 20px rgba(185, 255, 102, 0.15);
  transform: translateY(-2px);
}

.profile_link_icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile_link_icon img {
  width: 32px;
  height: 32px;
}

.icon_text {
  width: 50px;
  height: 50px;
  background-color: var(--black);
  color: var(--lime-green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.profile_link_info h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.profile_link_info p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

.profile_link_arrow {
  flex-shrink: 0;
  margin-left: auto;
  width: 36px;
  height: 36px;
  background-color: var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.profile_link_card:hover .profile_link_arrow {
  background-color: var(--lime-green);
}

.profile_link_arrow img {
  width: 14px;
  height: 14px;
}

/* =============================================
   ARTICLES & ANNOUNCEMENTS (Profile Page)
   ============================================= */
.articles_section {
  margin-top: 5rem;
}

.articles_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article_card {
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  overflow: hidden;
  background-color: #fff;
  transition: all 0.3s ease;
  position: relative;
}

.article_card:hover {
  border-color: var(--lime-green);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.article_card.featured {
  grid-column: span 3;
  background: linear-gradient(135deg, var(--black) 0%, #2d2e3a 100%);
  color: #fff;
  border: none;
}

.article_card.featured .article_content {
  padding: 3rem 4rem;
}

.article_card.featured h4 {
  font-size: 1.6rem;
  color: #fff;
}

.article_card.featured p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 800px;
}

.article_card.featured .article_date {
  color: rgba(255, 255, 255, 0.6);
}

.article_card.featured .read_more {
  color: var(--lime-green);
}

.article_badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background-color: var(--lime-green);
  color: var(--black);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.article_content {
  padding: 2rem;
}

.article_meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.article_date {
  font-size: 0.85rem;
  color: #999;
}

.article_category {
  font-size: 0.8rem;
  background-color: var(--lime-green);
  color: var(--black);
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 500;
}

.article_card h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  color: var(--black);
}

.article_card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1rem;
}

.read_more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  transition: color 0.3s ease;
}

.read_more:hover {
  color: #666;
}

/* =============================================
   TRUST SECTION (Profile Page)
   ============================================= */
.trust_section {
  margin-top: 5rem;
}

.trust_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trust_card {
  padding: 2rem;
  background-color: var(--card-bg-grey);
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.trust_card:hover {
  transform: translateY(-4px);
}

.trust_icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.trust_card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.trust_card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
}

/* =============================================
   PAGE CTA (Shared)
   ============================================= */
.page_cta {
  margin-top: 5rem;
  padding: 4rem 2rem;
  background-color: var(--card-bg-grey);
  border-radius: 45px;
  text-align: center;
}

.page_cta_content {
  max-width: 600px;
  margin: 0 auto;
}

.page_cta_content h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.page_cta_content p {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.page_cta_buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta_btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.primary_btn {
  background-color: var(--black);
  color: #fff;
  border: 1px solid var(--black);
}

.primary_btn:hover {
  background-color: #fff;
  color: var(--black);
}

.secondary_btn {
  background-color: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}

.secondary_btn:hover {
  background-color: var(--black);
  color: #fff;
}

/* =============================================
   PORTFOLIO STATS
   ============================================= */
.portfolio_stats {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat_item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background-color: #fff;
  border: 1px solid var(--black);
  border-radius: 25px;
  box-shadow: 0 4px 0 0 var(--black);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.stat_item:hover {
  transform: translateY(-4px);
  background-color: var(--lime-green);
}

.stat_item h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.stat_item p {
  font-size: 0.95rem;
  color: #555;
  font-weight: 500;
}

.stat_item:hover p {
  color: var(--black);
}

/* =============================================
   PORTFOLIO FILTER TABS
   ============================================= */
.portfolio_filter {
  margin-top: 5rem;
}

.filter_tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: -1rem;
}

.filter_tab {
  padding: 0.65rem 1.5rem;
  border: 1px solid var(--black);
  border-radius: 25px;
  background-color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Space Grotesk", sans-serif;
}

.filter_tab:hover,
.filter_tab.active {
  background-color: var(--lime-green);
  border-color: var(--lime-green);
  color: var(--black);
}

/* =============================================
   PORTFOLIO GRID
   ============================================= */
.portfolio_grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio_card {
  border: 1px solid #e0e0e0;
  border-radius: 25px;
  overflow: hidden;
  background-color: #fff;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.portfolio_card:hover {
  border-color: var(--lime-green);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-6px);
}

.portfolio_card.hidden {
  display: none;
}

.portfolio_card_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem 0;
}

.project_category_tag {
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.seo_tag {
  background-color: var(--lime-green);
  color: var(--black);
}

.ppc_tag {
  background-color: #ffd166;
  color: var(--black);
}

.social_tag {
  background-color: #a0c4ff;
  color: var(--black);
}

.content_tag {
  background-color: #ffc6ff;
  color: var(--black);
}

.web_tag {
  background-color: #caffbf;
  color: var(--black);
}

.project_year {
  font-size: 0.85rem;
  color: #999;
  font-weight: 500;
}

.portfolio_card_body {
  padding: 1.25rem 2rem 1.5rem;
  flex: 1;
}

.portfolio_card_body h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--black);
}

.project_client {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.project_desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1.5rem;
}

.project_results {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.result_item {
  flex: 1;
  min-width: 80px;
  text-align: center;
  padding: 0.75rem 0.5rem;
  background-color: var(--card-bg-grey);
  border-radius: 12px;
}

.result_value {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.2rem;
}

.result_label {
  display: block;
  font-size: 0.72rem;
  color: #777;
  font-weight: 500;
}

.portfolio_card_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 2rem 1.5rem;
}

.portfolio_card_tags span {
  padding: 4px 12px;
  background-color: var(--card-bg-grey);
  border-radius: 15px;
  font-size: 0.75rem;
  color: #555;
  font-weight: 500;
}

/* =============================================
   CLIENT LOGOS (Portfolio Page)
   ============================================= */
.portfolio_clients {
  margin-top: 5rem;
}

.client_logos_grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}

.client_logo_item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background-color: var(--card-bg-grey);
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.client_logo_item:hover {
  transform: scale(1.05);
}

.client_logo_item img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client_logo_item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* =============================================
   PORTFOLIO TESTIMONIALS
   ============================================= */
.portfolio_testimonials {
  margin-top: 5rem;
}

.testimonial_cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial_card {
  padding: 2rem;
  background-color: var(--black);
  color: #fff;
  border-radius: 25px;
  position: relative;
  transition: transform 0.3s ease;
}

.testimonial_card:hover {
  transform: translateY(-4px);
}

.testimonial_quote {
  font-size: 4rem;
  color: var(--lime-green);
  line-height: 1;
  margin-bottom: -0.5rem;
  font-family: Georgia, serif;
}

.testimonial_card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

.testimonial_author strong {
  display: block;
  font-size: 1rem;
  color: var(--lime-green);
  margin-bottom: 0.15rem;
}

.testimonial_author span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */

@media screen and (max-width: 1300px) {
  .overview_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .articles_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article_card.featured {
    grid-column: span 2;
  }

  .portfolio_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 1055px) {
  .section_header {
    flex-direction: column;
    text-align: center;
  }

  .section_header p {
    max-width: 100%;
  }

  .leadership_grid {
    grid-template-columns: 1fr;
  }

  .profile_links_grid {
    grid-template-columns: 1fr;
  }

  .trust_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio_stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .client_logos_grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonial_cards {
    grid-template-columns: 1fr;
  }

  .filter_tabs {
    justify-content: center;
  }
}

@media screen and (max-width: 885px) {
  .page_hero {
    padding: 3.5rem 1.5rem;
    border-radius: 25px;
  }

  .page_hero_content h1 {
    font-size: 2.5rem;
  }

  .page_hero_content p {
    font-size: 1rem;
  }

  .overview_grid {
    grid-template-columns: 1fr;
  }

  .leader_card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .leader_links {
    justify-content: center;
  }

  .articles_grid {
    grid-template-columns: 1fr;
  }

  .article_card.featured {
    grid-column: span 1;
  }

  .article_card.featured .article_content {
    padding: 2rem;
  }

  .article_card.featured h4 {
    font-size: 1.3rem;
  }

  .trust_grid {
    grid-template-columns: 1fr;
  }

  .portfolio_grid {
    grid-template-columns: 1fr;
  }

  .portfolio_stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .client_logos_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page_cta {
    border-radius: 25px;
    padding: 3rem 1.5rem;
  }
}

@media screen and (max-width: 500px) {
  .page_hero {
    padding: 3rem 1rem;
    margin-top: 1rem;
  }

  .page_hero_content h1 {
    font-size: 2rem;
  }

  .page_hero_content p {
    font-size: 0.9rem;
  }

  .section_header h3 {
    font-size: 1.4rem;
  }

  .portfolio_stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat_item {
    padding: 1.5rem 1rem;
  }

  .stat_item h2 {
    font-size: 2rem;
  }

  .filter_tabs {
    gap: 6px;
  }

  .filter_tab {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .portfolio_card_body {
    padding: 1rem 1.25rem 1.25rem;
  }

  .portfolio_card_header {
    padding: 1.25rem 1.25rem 0;
  }

  .portfolio_card_tags {
    padding: 0 1.25rem 1.25rem;
  }

  .project_results {
    flex-direction: column;
    gap: 8px;
  }

  .result_item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.5rem;
  }

  .client_logos_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .leader_card {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .profile_link_card {
    padding: 1rem 1.25rem;
    gap: 1rem;
  }

  .page_cta_content h3 {
    font-size: 1.5rem;
  }

  .page_cta_buttons {
    flex-direction: column;
  }

  .cta_btn {
    width: 100%;
    text-align: center;
  }
}

@media screen and (max-width: 375px) {
  .page_hero_content h1 {
    font-size: 1.75rem;
  }

  .portfolio_stats {
    grid-template-columns: 1fr;
  }
}
