/* ===================== DESKTOP/LAPTOP LAYOUT ===================== */

@media (min-width: 900px) {

body.contact-page-body {
  overflow: hidden;  /* no scrollbars */
}

.contact-page {
  margin-left: 450px;     /* left column starts 230px from left */
  height: 100vh;          /* full viewport height */
  display: flex;
  align-items: center;    /* vertical centering */
  padding: 37.5px 0;
  box-sizing: border-box;
  gap: 100px;
}

/* Left column: image */
.contact-left {
  flex: 0 0 0 230px;        /* fixed width */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80%;
}

.contact-hero {
  height: 750px;
  max-height: 750px;
  width: auto;
  object-fit: cover;
  display: block;
  box-sizing: border-box;
}

/* Right column: info */
.contact-right {
  flex: 1;
  display: flex;
  justify-content: flex-start;  /* align with left edge + margin */
  align-items: center;
}

.contact-icons {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: left;
}

.contact-method {
  display: flex;
  flex-direction: column;     /* stack lines vertically */
  align-items: flex-start;    /* left align everything */
  margin-bottom: 30px;        /* space between each contact block */
}

.contact-method .top-row {
  display: flex;
  align-items: center;
  gap: 10px;                  /* space between icon & label */
}

.contact-method .top-row img {
  width: 25px;
  height: 25px;
}

/* Text block (right side of icon) */
.contact-info {
  display: flex;
  flex-direction: column;      /* stack title and actual contact info */
  justify-content: center;
  line-height: 1.2;
}

/* Upper line — label/title */
.contact-method .label {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--char);
  font-weight: 500;
}

/* Lower line — actual contact link */
.contact-method .value {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: #666;
  text-decoration: none;
  margin-left: 36px;          /* aligns under label (below icon visually) */
  transition: color 0.3s ease;
}

/* Hover effect */
.contact-method:hover .value {
  color: var(--accent);
}
}

/* ===================== MOBILE LAYOUT ===================== */

@media (max-width: 899px) {
    
.contact-page {
  margin-top: 70px; /* push content below logo+hamburger bar */
  margin-left: 0;
  margin-right: 0;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: auto !important;
  overflow: visible !important; /* prevent unwanted scroll tricks */
}

.contact-left {
  order: 2; /* image below */
  width: 100%;
}
  
.contact-hero {
  width: 100%;
  height: auto;
  object-fit: contain; /* keeps proportions */
  border-radius: 0;
}

.contact-right {
  order: 1; /* icons above */
  display: flex;
  flex-direction: column;
}

.contact-method {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 10px;     /* space between contact blocks */
}

.contact-method .top-row {
  display: flex;
  align-items: center;
  gap: 10px;               /* space between icon and label */
}

 .contact-method .top-row img {
  width: 20px;
  height: 20px;
}

.contact-info {
  display: flex;
  flex-direction: column;      /* stack title and actual contact info */
  justify-content: center;
}

.contact-method .label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--char);
}

.contact-method .value {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: #666;
  text-decoration: none;
  margin-left: 30px;
}
}
