@import url('global.css');
@import url('modules.css');

/* Home Page Specific Styles */

/* Hero Section */
.hero-section {
  position: relative;
  height: 650px;
  background-image: url('../resources/images/home--hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-gray-800-alpha);
}
.hero-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 16px;
  max-width: 768px;
}
.hero-subheading {
  color: var(--color-gray-100);
}
.hero-heading {
  font-size: 62px;
  font-weight: 700;
  line-height: 1.2;
}

/* History Section */
.history-section {
  margin: 100px 0 0;
}
.history-ctn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.history-subheading {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-gray-600);
  margin-bottom: 8px;
}
.history-heading {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
}
.history-content {
  margin-left: auto;
  max-width: 580px;
}
.history-content p {
  font-size: 18px;
  line-height: 24px;
  color: var(--color-gray-700);
}
.history-image {
  margin-top: 20px;
  grid-column: 1 / -1;
  width: 100%;
  height: 450px;
  overflow: hidden;
}
.history-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Quote Section */
.quote-ctn {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 12px 16px;
  text-align: center;
}
.quote-mark {
  position: absolute;
  font-size: 124px;
  font-weight: 700;
  color: var(--color-gray-800-alpha);
  user-select: none;
}
.quote-mark-top {
  top: 26px;
  left: -32px;
}
.quote-mark-bottom {
  bottom: 12px;
  right: 40px;
  transform: rotate(180deg);
}
.quote-text p {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}

/* Goals Section */
.goals-section {
  margin: 60px 0;
}
.goals-ctn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 60px;
  column-gap: 24px;
  align-items: center;
}
.goals-header {
  grid-column: 1;
}
.goals-heading {
  font-size: 120px;
  font-weight: 700;
  line-height: 100%;
  color: var(--color-gray-800-alpha);
}
.goals-content {
  grid-column: 2;
}
.goals-content p {
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  color: var(--color-gray-600);
}
.goals-image {
  height: 100%;
  aspect-ratio: 5/3;
  overflow: hidden;
}
.goals-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.goals-image-left {
  grid-column: 1;
}
.goals-image-right {
  grid-column: 2;
}

/* Staff Adviser Section */
.staff-adviser-section {
  position: relative;
  background-color: var(--color-gray-900);
  color: var(--color-gray-50);
  padding: 100px 40px 0;
  text-align: center;
}
.staff-adviser-ctn {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}
.staff-adviser-heading {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 40px;
}
.staff-adviser-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 32px;
  overflow: hidden;
  border: 2px solid var(--color-gray-50);
}
.staff-adviser-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.staff-adviser-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.staff-adviser-title {
  font-size: 18px;
  font-weight: 500;
}
.staff-adviser-banner {
  background-color: var(--color-gray-300-alpha);
  border: 2px solid var(--color-gray-400);
  border-bottom: none;
  border-radius: 42px 42px 0 0;
  padding: 60px 24px 40px;
  margin-top: 40px;
}
.staff-adviser-banner p {
  font-size: 20px;
  line-height: 32px;
}
.staff-adviser-banner p:last-child {
  margin-top: 32px;
}
.staff-adviser-section .zap-icon {
  position: absolute;
  width: 100px;
  height: auto;
  z-index: 1;
  transform: translateY(-50%);
}
.staff-adviser-section .zap-icon-left {
  left: 5%;
  bottom: 25%;
}
.staff-adviser-section .zap-icon-right {
  right: 5%;
  top: 50%;
}

/* Team Section */
.team-section {
  margin: 80px 0 100px;
}
.team-header {
  text-align: center;
  margin-bottom: 48px;
}
.team-subheading {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-gray-600);
  margin-bottom: 8px;
}
.team-heading-ctn {
  position: relative;
  display: inline-block;
}
.team-heading-ctn .zap-icon {
  position: absolute;
  width: 100px;
  height: auto;
  z-index: 5;
  top: 80%;
  right: -10px;
}
.team-heading {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
  position: relative;
  display: inline-block;
}
.team-description {
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  color: var(--color-gray-600);
  max-width: 670px;
  margin: 0 auto;
}
.team-tabs {
  background-color: var(--color-gray-100);
  display: flex;
  justify-content: center;
  margin: 0 auto 48px;
  border-radius: 32px;
  width: fit-content;
  overflow: hidden;
}
.team-tab {
  background: none;
  border: none;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-gray-500);
  cursor: pointer;
  border-radius: 32px;
  transition: all 0.3s ease;
  font-family: var(--font-primary);
}
.team-tab:hover {
  color: var(--color-primary-400);
}
.team-tab.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}
.team-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}
.carousel-btn {
  background: var(--color-white);
  border: 1px solid var(--color-gray-600);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.carousel-btn:hover:not(:disabled) {
  background-color: var(--color-primary-500-alpha);
}
.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.carousel-btn-next img {
  transform: rotate(180deg);
}
.team-carousel-ctn {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.team-carousel {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
  width: 100%;
  justify-content: flex-start;
}
.team-carousel.centered {
  justify-content: center;
}
.team-member {
  flex: 0 0 calc(25% - 18px);
}
.team-member-image {
  width: 100%;
  aspect-ratio: 11/10;
  overflow: hidden;
  margin-bottom: 10px;
}
.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.team-member-name {
  font-size: 21px;
  font-weight: 700;
  color: var(--color-gray-900);
}
.team-member-title {
  line-clamp: 1;
  -webkit-line-clamp: 1;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-gray-600);
  margin-bottom: 4px;
}
.team-member-linkedin {
  transition: filter 0.2s ease;
}
.team-member-linkedin img {
  width: 24px;
  height: 24px;
}
.team-member-linkedin:hover {
  filter: opacity(0.8);
}


/* Community Section */
.community-section {
  background-color: var(--color-gray-900);
  color: var(--color-gray-100);
  padding: 100px 40px 40px;
  text-align: center;
}
.community-content {
  max-width: 810px;
  margin: 0 auto;
}
.community-subheading {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}
.community-heading {
  font-size: 48px;
  color: var(--color-gray-50);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.15;
}
.community-description {
  font-size: 18px;
  line-height: 28px;
  color: var(--color-gray-100);
  margin: 0 auto;
}
.community-cta {
  margin: 32px 0 60px;
  position: relative;
}
.community-arrow {
  position: absolute;
  top: -32px;
  left: 65%;
  width: 100px;
  height: auto;
}
.community-btn {
  background-color: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 7px;
  transition: background-color 0.2s ease;
}
.community-btn:visited {
  color: var(--color-white);
} 
.community-btn:hover {
  background-color: var(--color-primary-400);
}
.community-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
.community-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}
.community-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, transparent, var(--color-gray-900));
  pointer-events: none;
}

/* Contact Section */
.contact-section {
  padding: 100px 80px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: start;
  color: var(--color-gray-900);
}
.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.contact-header {
  margin-bottom: auto;
}
.contact-subheading {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-gray-600);
  margin-bottom: 4px;
}
.contact-heading {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}
.contact-description {
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  max-width: 530px;
  color: var(--color-gray-600);
}
.contact-social {
  margin: auto 0 80px;
}
.contact-social-heading {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.contact-social-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.social-link {
  width: 32px;
  height: 32px;
  transition: filter 0.2s ease;
}
.social-link:hover {
  filter: opacity(0.8);
}
.social-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.contact-form-wrapper {
  width: 100%;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-label {
  font-size: 16px;
  font-weight: 500;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 12px;
  font-size: 16px;
  font-family: var(--font-primary);
  border: 1px solid var(--color-gray-200);
  border-radius: 4px;
  color: var(--color-gray-900);
  transition: border-color 0.2s ease;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary-400);
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-gray-400);
}
.form-textarea {
  resize: none;
  min-height: 200px;
}
.form-submit-btn {
  width: 100%;
  background-color: var(--color-primary);
  color: var(--color-gray-50);
  border: none;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: var(--font-primary);
}
.form-submit-btn:hover {
  background-color: var(--color-primary-400);
}

/* Tablet Styles (also applies to mobile) */
@media (max-width: 1024px) {
  /* Hero Section */
  .hero-section {
    height: 500px;
  }
  .hero-heading {
    font-size: 48px;
  }
  .hero-subheading {
    font-size: 16px;
  }

  /* History Section */
  .history-section {
    margin: 80px 0 0;
  }
  .history-ctn {
    gap: 28px;
  }
  .history-heading {
    font-size: 40px;
  }
  .history-content p {
    font-size: 16px;
    line-height: 22px;
  }
  .history-image {
    height: 380px;
  }

  /* Quote Section */
  .quote-section {
    margin: 60px 0;
  }
  .quote-ctn {
    max-width: 600px;
    padding: 12px 40px;
  }
  .quote-mark {
    font-size: 110px;
  }
  .quote-text p {
    font-size: 16px;
    line-height: 26px;
  }

  /* Goals Section */
  .goals-section {
    margin: 50px 0;
  }
  .goals-ctn {
    row-gap: 50px;
    column-gap: 20px;
  }
  .goals-heading {
    font-size: 100px;
  }
  .goals-content p {
    font-size: 16px;
    line-height: 22px;
  }

  /* Staff Adviser Section */
  .staff-adviser-section {
    padding: 80px 40px 0;
  }
  .staff-adviser-heading {
    font-size: 40px;
    margin-bottom: 32px;
  }
  .staff-adviser-image {
    width: 180px;
    height: 180px;
    margin-bottom: 28px;
  }
  .staff-adviser-name {
    font-size: 22px;
  }
  .staff-adviser-title {
    font-size: 16px;
  }
  .staff-adviser-banner {
    padding: 50px 20px 32px;
    margin-top: 32px;
  }
  .staff-adviser-banner p {
    font-size: 18px;
    line-height: 28px;
  }
  .staff-adviser-section .zap-icon {
    width: 80px;
  }

  /* Team Section */
  .team-section {
    margin: 70px 0 80px;
  }
  .team-heading {
    font-size: 40px;
  }
  .team-description {
    font-size: 17px;
    line-height: 26px;
  }
  .team-tab {
    padding: 12px 24px;
    font-size: 14px;
  }
  .team-member-name {
    font-size: 20px;
  }
  .team-member-title {
    font-size: 15px;
  }

  /* Community Section */
  .community-section {
    padding: 80px 50px 40px;
  }
  .community-heading {
    font-size: 40px;
  }
  .community-description {
    font-size: 17px;
    line-height: 26px;
  }
  .community-btn {
    padding: 14px 36px;
    font-size: 16px;
  }

  /* Contact Section */
  .contact-section {
    padding: 80px 50px 80px;
    gap: 80px;
  }
  .contact-heading {
    font-size: 40px;
  }
  .contact-description {
    font-size: 17px;
    line-height: 26px;
  }
  .contact-social {
    margin-bottom: 60px;
  }
  .form-input,
  .form-textarea {
    padding: 12px 12px;
    font-size: 15px;
  }
  .form-submit-btn {
    padding: 14px 28px;
    font-size: 17px;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  /* Hero Section */
  .hero-heading {
    font-size: 2rem;
  }
  .hero-subheading {
    font-size: 1rem;
  }

  /* History Section */
  .history-section {
    margin: 60px 0;
  }
  .history-ctn {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .history-heading {
    font-size: 2rem;
  }
  .history-image {
    height: 300px;
    grid-column: 1;
  }

  /* Quote Section */
  .quote-section {
    margin: 40px 0;
  }
  .quote-ctn {
    padding: 12px 12px;
  }
  .quote-mark {
    font-size: 100px;
  }
  .quote-mark-top {
    top: 16px;
    left: -10px;
  }
  .quote-mark-bottom {
    bottom: 10px;
    right: 20px;
  }
  .quote-text p {
    font-size: 14px;
    line-height: 20px;
  }

  /* Goals Section */
  .goals-section {
    margin: 40px 0;
  }
  .goals-ctn {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .goals-header {
    grid-column: 1;
  }
  .goals-heading {
    font-size: 56px;
    margin-bottom: 10px;
  }
  .goals-content {
    grid-column: 1;
  }
  .goals-image {
    width: 100%;
    height: auto;
  }
  .goals-image-left,
  .goals-image-right {
    grid-column: 1;
  }

  /* Staff Adviser Section */
  .staff-adviser-section {
    padding: 60px 24px 0;
  }
  .staff-adviser-heading {
    font-size: 32px;
    line-height: 130%;
    margin-bottom: 24px;
  }
  .staff-adviser-image {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
  }
  .staff-adviser-name {
    font-size: 18px;
    margin-bottom: 2px;
  }
  .staff-adviser-title {
    font-size: 14px;
  }
  .staff-adviser-banner {
    padding: 32px 12px;
    margin-top: 30px;
    border-radius: 20px 20px 0 0;
  }
  .staff-adviser-banner p {
    font-size: 14px;
    line-height: 20px;
  }
  .staff-adviser-section .zap-icon {
    width: 60px;
    height: 40px;
  }
  .staff-adviser-section .zap-icon-left {
    top: 300px;
    left: 16px;
  }
  .staff-adviser-section .zap-icon-right {
    top: 150px;
    right: 16px;
  }

  /* Team Section */
  .team-section {
    margin: 60px 0 40px;
  }
  .team-heading-ctn .zap-icon {
    top: 90%;
    left: 50%;
    transform: translateX(-50%);
  }
  .team-heading {
    font-size: 32px;
  }
  .team-description {
    font-size: 16px;
    line-height: 24px;
    margin-top: 16px;
  }
  .team-tabs {
    margin-bottom: 28px;
  }
  .team-tab {
    padding: 10px 18px;
    font-size: 12px;
  }
  .team-carousel-wrapper {
    gap: 8px;
  }
  .carousel-btn {
    width: 32px;
    height: 32px;
  }
  .carousel-btn img {
    width: 16px;
    height: 16px;
  }
  .team-carousel {
    gap: 16px;
  }
  .team-member {
    flex: 0 0 calc(50% - 8px);
  }
  .team-member-image {
    aspect-ratio: 11/10;
  }
  .team-member-name {
    font-size: 18px;
  }
  .team-member-title {
    font-size: 14px;
  }

  /* Community Section */
  .community-section {
    padding: 60px 24px 20px;
  }
  .community-heading {
    font-size: 32px;
  }
  .community-description {
    font-size: 14px;
    line-height: 20px;
  }
  .community-cta {
    flex-direction: column;
    gap: 12px;
    margin: 32px 0 40px;
  }
  .community-arrow {
    width: 60px;
    top: -15px;
    left: 70%;
  }
  .community-btn {
    padding: 14px 32px;
    font-size: 14px;
  }
  .community-image-wrapper::after {
    height: 120px;
  }

  /* Contact Section */
  .contact-section {
    padding-top: 40px;
    padding-bottom: 24px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-info {
    gap: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-primary);
  }
  .contact-heading {
    font-size: 32px;
  }
  .contact-description {
    font-size: 14px;
    line-height: 24px;
  }
  .contact-social {
    margin-bottom: 0;
  }
  .contact-social-links {
    gap: 24px;
  }
  .social-link {
    width: 24px;
    height: 24px;
    transition: filter 0.2s ease;
  }
  .contact-social-heading {
    font-size: 18px;
  }
  .contact-form {
    gap: 12px;
  }
  .form-label {
    font-size: 14px;
  }
  .form-input,
  .form-textarea {
    font-size: 14px;
  }
  .form-submit-btn {
    width: 100%;
    font-size: 16px;
  }
}
