.gh-contact {
  --gh-accent: #2d8659;
  --gh-text: #111111;
  --gh-muted: #6a6a6a;
  --gh-border: #e2e8f0;
  --gh-input-bg: #f5f7fa;
  --gh-error: #d32f2f;
  --gh-success: #2d8659;
}

/* Hero Section */
.gh-contact-hero {
  position: relative;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: 0;
}

.gh-contact-hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.gh-contact-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px);
}

.gh-contact-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(17, 17, 17, 0.75) 0%,
    rgba(17, 17, 17, 0.5) 50%,
    rgba(17, 17, 17, 0.3) 100%
  );
}

.gh-contact-hero__container {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.gh-contact-hero__breadcrumb {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.gh-contact-hero__title {
  margin: 0 0 12px;
  font-size: 42px;
  line-height: 1.2;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.gh-contact-hero__subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  max-width: 600px;
}

/* Main Contact Card Section */
.gh-contact-main {
  padding: 0 0 60px;
  position: relative;
  z-index: 1;
}

.gh-contact-main__container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
  margin-top: -40px;
}

.gh-contact-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 40px;
  align-items: start;
}

/* Contact Card Left - Info */
.gh-contact-card__left {
  padding-right: 20px;
  border-right: 1px solid rgba(17, 17, 17, 0.08);
}

.gh-contact-card__title {
  margin: 0 0 24px;
  font-size: 20px;
  line-height: 1.3;
  color: var(--gh-text);
  font-weight: 600;
  letter-spacing: -0.3px;
}

.gh-contact-card__info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.gh-contact-card__info-item:last-child {
  margin-bottom: 0;
}

.gh-contact-card__info-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(45, 134, 89, 0.1);
  color: var(--gh-accent);
}

.gh-contact-card__info-icon svg {
  width: 18px;
  height: 18px;
}

.gh-contact-card__info-content {
  flex: 1;
}

.gh-contact-card__info-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--gh-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.gh-contact-card__info-value {
  font-size: 14px;
  line-height: 1.5;
  color: var(--gh-text);
  font-weight: 400;
}

.gh-contact-card__info-value a {
  color: var(--gh-accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.gh-contact-card__info-value a:hover {
  opacity: 0.75;
}

/* Contact Card Right - Form */
.gh-contact-card__right {
  padding-left: 20px;
}

.gh-contact-card__alert {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
}

.gh-contact-card__alert--success {
  background: rgba(45, 134, 89, 0.08);
  border: 1px solid rgba(45, 134, 89, 0.2);
  color: var(--gh-success);
}

.gh-contact-card__alert--error {
  background: rgba(211, 47, 47, 0.08);
  border: 1px solid rgba(211, 47, 47, 0.2);
  color: var(--gh-error);
}

.gh-contact-card__form {
  margin-top: 20px;
  width: 92%;
  max-width: 100%;
  overflow: hidden;
}

/* Form Grid Container */
.gh-contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 20px;
  width: 100%;
}

/* Form Field Wrapper */
.gh-contact-form-field {
  display: flex;
  flex-direction: column;
  min-width: 0; /* Prevent grid overflow */
}

.gh-contact-form-field--full {
  grid-column: 1 / -1;
}

/* Form Labels */
.gh-contact-form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gh-text);
  letter-spacing: 0.1px;
  line-height: 1.4;
}

.gh-contact-form-required {
  color: var(--gh-error);
  margin-left: 2px;
}

/* Form Inputs */
.gh-contact-input,
.gh-contact-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--gh-text);
  background: #F5F7FA;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  transition: all 0.2s ease;
  font-family: inherit;
  font-weight: 400;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.gh-contact-input::placeholder,
.gh-contact-textarea::placeholder {
  color: #9CA3AF;
  opacity: 1;
}

.gh-contact-input:focus,
.gh-contact-textarea:focus {
  outline: none;
  border-color: #16A34A;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.gh-contact-input:hover:not(:focus),
.gh-contact-textarea:hover:not(:focus) {
  border-color: #CBD5E1;
  background: #FAFBFC;
}

.gh-contact-input--error,
.gh-contact-textarea.gh-contact-input--error {
  border-color: var(--gh-error);
  background: #ffffff;
}

.gh-contact-input--error:focus,
.gh-contact-textarea.gh-contact-input--error:focus {
  border-color: var(--gh-error);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.gh-contact-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Form Error Messages */
.gh-contact-form-error {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--gh-error);
  font-weight: 400;
}

/* Submit Button Row */
.gh-contact-submit-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.gh-contact-submit {
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: var(--gh-accent);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(45, 134, 89, 0.25);
}

.gh-contact-submit:hover {
  background: #247a4d;
  box-shadow: 0 6px 16px rgba(45, 134, 89, 0.35);
  transform: translateY(-1px);
}

.gh-contact-submit:active {
  transform: translateY(0);
}

/* Projects Section */
.gh-contact__projects {
  padding: 60px 0;
  background: transparent;
}

.gh-contact__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.gh-contact__projects-header {
  margin-bottom: 40px;
  text-align: left;
}

.gh-contact__projects-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: var(--gh-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.gh-contact__projects-title {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  color: var(--gh-text);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.gh-contact__projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Project Cards */
.gh-project-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.gh-project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.gh-project-card__image {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
  overflow: hidden;
  background: #f5f7fa;
}

.gh-project-card__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gh-project-card:hover .gh-project-card__image img {
  transform: scale(1.05);
}

.gh-project-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gh-project-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.4;
  color: var(--gh-text);
  font-weight: 600;
  letter-spacing: -0.2px;
}

.gh-project-card__description {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gh-muted);
  flex: 1;
  font-weight: 400;
}

.gh-project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.3px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--gh-text);
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: auto;
}

.gh-project-card__link .arrow-right {
  position: relative;
  top: auto;
  right: auto;
  margin-top: 0;
  width: 18px;
  height: 1.5px;
  background-color: var(--gh-accent);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.gh-project-card__link .arrow-right:before,
.gh-project-card__link .arrow-right:after {
  content: '';
  position: absolute;
  right: 0;
  width: 6px;
  height: 1.5px;
  background-color: var(--gh-accent);
  transform-origin: right center;
}

.gh-project-card__link .arrow-right:before {
  transform: rotate(45deg);
  top: -2px;
}

.gh-project-card__link .arrow-right:after {
  transform: rotate(-45deg);
  top: 2px;
}

.gh-project-card__link:hover {
  color: var(--gh-accent);
}

.gh-project-card__link:hover .arrow-right {
  transform: translateX(4px);
}

/* Map Section */
.gh-contact__map {
  padding: 0 0 60px;
}

.gh-contact__map .gh-location__grid {
  margin: 0;
}

.gh-contact__map .gh-map__frame {
  border-radius: 20px;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .gh-contact-hero {
    height: 260px;
  }

  .gh-contact-hero__title {
    font-size: 36px;
  }

  .gh-contact-hero__subtitle {
    font-size: 15px;
  }

  .gh-contact-main__container {
    margin-top: -30px;
  }

  .gh-contact-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px;
  }

  .gh-contact-card__left {
    padding-right: 0;
    padding-bottom: 32px;
    border-right: none;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  }

  .gh-contact-card__right {
    padding-left: 0;
  }

  .gh-contact-form-grid {
    grid-template-columns: 1fr;
  }

  .gh-contact-submit-row {
    justify-content: stretch;
  }

  .gh-contact-submit {
    width: 100%;
  }

  .gh-contact__projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .gh-contact-hero {
    height: 200px;
  }

  .gh-contact-hero__container {
    padding: 0 16px;
  }

  .gh-contact-hero__breadcrumb {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .gh-contact-hero__title {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .gh-contact-hero__subtitle {
    font-size: 13px;
    line-height: 1.5;
  }

  .gh-contact-main {
    padding: 0 0 40px;
  }

  .gh-contact-main__container {
    margin-top: -20px;
    padding: 0 16px;
  }

  .gh-contact-card {
    padding: 20px 16px;
    border-radius: 18px;
    gap: 24px;
  }

  .gh-contact-card__title {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .gh-contact-card__left {
    padding-right: 0;
    padding-bottom: 24px;
    border-right: none;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  }

  .gh-contact-card__right {
    padding-left: 0;
  }

  .gh-contact-card__info-item {
    gap: 12px;
    margin-bottom: 16px;
  }

  .gh-contact-card__info-icon {
    width: 36px;
    height: 36px;
  }

  .gh-contact-card__info-icon svg {
    width: 16px;
    height: 16px;
  }

  .gh-contact-card__info-label {
    font-size: 10px;
  }

  .gh-contact-card__info-value {
    font-size: 13px;
  }

  .gh-contact-card__form {
    width: 100%;
    margin-top: 16px;
  }

  .gh-contact-form-grid {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .gh-contact-form-label {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .gh-contact-input,
  .gh-contact-textarea {
    padding: 10px 14px;
    font-size: 14px;
  }

  .gh-contact-textarea {
    min-height: 100px;
  }

  .gh-contact-submit-row {
    justify-content: stretch;
    margin-top: 8px;
  }

  .gh-contact-submit {
    width: 100%;
    padding: 12px 24px;
    font-size: 13px;
  }

  .gh-contact__container {
    padding: 0 16px;
  }

  .gh-contact__projects {
    padding: 32px 0;
  }

  .gh-contact__projects-header {
    margin-bottom: 24px;
  }

  .gh-contact__projects-subtitle {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .gh-contact__projects-title {
    font-size: 22px;
    line-height: 1.3;
  }

  .gh-contact__projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gh-project-card__content {
    padding: 20px;
  }

  .gh-project-card__title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .gh-project-card__description {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .gh-project-card__link {
    font-size: 12px;
  }

  .gh-contact__map {
    padding: 0 0 32px;
  }

  .gh-contact__map .gh-map__frame {
    min-height: 300px;
  }

  .gh-contact__map .gh-map__embed {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .gh-contact-hero {
    height: 180px;
  }

  .gh-contact-hero__title {
    font-size: 22px;
  }

  .gh-contact-card {
    padding: 16px;
  }

  .gh-contact-card__title {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .gh-contact-card__info-item {
    margin-bottom: 14px;
  }

  .gh-contact__projects-title {
    font-size: 20px;
  }

  .gh-project-card__image {
    padding-bottom: 60%;
  }
}
