/*========================== hero ==========================*/
.hero {
  padding: 156px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(170deg, #ffffff, #f5f8ff);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero img {
  height: 124px;
  width: auto;
  
}
.hero h1 {
  font-size: 4rem;
  max-width: 800px;
  line-height: 1.2;
  text-align: center;
  margin-top: 32px;
  margin-bottom: 32px;
  font-weight: 700;
  color: #1d1d1f;
  background: linear-gradient(150deg, #000000 0%, #191919 20%, #1c1c1c 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}
.hero p {
  font-size: 1.5rem; /* Larger subtitle */
  max-width: 700px;
  margin: 0 auto 3rem; /* More space below subtitle */
  color: #515154;
  line-height: 1.5;
  text-align: center;
  font-weight: 400;
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  color: #323232;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 40px 0 16px 0;

}

.scroll-indicator:hover {
  color: #1d1d1f;
}

.scroll-indicator span {
  font-size: 1rem;
  font-weight: 500;
}

.scroll-arrow {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-12px);
  }
  60% {
    transform: translateY(-7px);
  }
}

/*========================== what we offer ==========================*/

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 0 2rem 0;
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1;
  margin: 0;
  text-align: center;
  max-width: 800px;
}
.section-header p {
  /* font-size: 1.5rem; */
  font-weight: 400;
  color: #515154;
  text-align: center;
  max-width: 600px;
}

.what-we-offer-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 992px) {
  .what-we-offer-wrapper {
    grid-template-columns: 1fr;
  }
}
.what-we-offer-wrapper h3 {
  margin: 0;
  padding: 0;
  color: black;
  text-align: center;
  margin-bottom: 2rem;
}
.what-we-offer-card {
  padding: 24px;
  border: 1px solid rgb(212, 212, 212);
  border-radius: var(--border-radius-regular);
}
.what-we-offer-icon {
  height: 56px;
  width: 100%;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.what-we-offer-icon img {
  height: 100%;
  width: auto;
}

.what-we-offer-usp-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 2rem;

}

.what-we-offer-usp {
  display: flex;
  gap: 16px;
  align-items: center;
}
.what-we-offer-usp p {
  margin: 0;
  font-size: 1rem;
  color: #434343;
}


/*========================== our team ==========================*/

.our-team-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 992px) {
  .our-team-wrapper {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

.our-team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  border-radius: 24px;
  height: 540px;
  overflow: hidden;
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.our-team-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.our-team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.our-team-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 50%,
    /* rgba(255, 255, 255, .6) 70%, */
    rgba(255, 255, 255, .95) 100%
  );
  z-index: 2;
}

.our-team-card h3, 
.our-team-card p {
  position: relative;
  z-index: 3;
  padding: 0 20px;
}

.our-team-card h3 {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0 0 0 0;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}
.our-team-card .role {
  font-size: .875rem;
  font-weight: 500;
  color: #ffffff;
  text-shadow: 20px 0 40px rgba(0, 0, 0, 1);
  margin-top: 4px;
  margin-bottom: 12px;
}
.our-team-card .description p {
  font-size: .875rem;
  font-weight: 500;
  color: #282828;
  margin: 0 0 16px 0;
  
}


.description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #6e6e73;
  margin: 0 0 8px 0;
  position: relative;
  overflow: hidden;
}

.description-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-right: 0;
  margin-bottom: 10px;
}


.more-button {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0066CC;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.2s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 5;
  display: block;
  margin: auto;
  margin-bottom: 12px;
}

.description p {
  margin: 0 0 12px 0;
}



.our-team-card p.expanded {
  -webkit-line-clamp: unset;
  max-height: 300px;
}

.more-button:hover {
  opacity: 0.8;
}

.more-button.hidden {
  display: none;
}

.our-team-social {
  display: flex;
  gap: 12px;
  justify-content: center;
  position: relative;
  z-index: 3;
  margin: 0 0 12px 0;
}

.our-team-social a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.our-team-social a svg {
  width: 16px;
  height: 16px;
}

.description-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.description-overlay.active {
  opacity: 1;
  visibility: visible;
}

.description-popup {
  background-color: rgba(28, 28, 30, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 18px;
  width: 95%;
  max-width: 600px;
  max-height: 80vh;
  padding: 30px;
  color: white;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  overflow-y: auto;
  position: relative;
}

.description-overlay.active .description-popup {
  transform: translateY(0);
  opacity: 1;
}

.popup-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.popup-header img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  margin-right: 15px;
}

.popup-header-text h3 {
  margin: 0;
  font-size: 1.5rem;
  color: white;
}

.popup-header-text p {
  margin: 5px 0 0 0;
  font-size: 1rem;
  color: #a1a1a6;
}

.popup-content {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  overflow-y: auto;
}

.popup-content p {
  margin-bottom: 15px;
}

.popup-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  /* display: flex; */
  /* align-items: center; */
  /* justify-content: center; */
  cursor: pointer;
  color: white;
  /* font-size: 20px; */
  transition: background-color 0.2s ease;
  z-index: 1001;
}

.popup-close img {
  position: absolute;
  top: 51%;
  left: 49%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: auto;
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.popup-social {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.popup-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.popup-social a:hover {
  background: #0066CC;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.popup-social a svg {
  width: 20px;
  height: 20px;
}





/* Calendar Styles */
.calendar-container {
  display: flex;
  justify-content: center;
}

.calendar-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 720px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* border-left: 4px solid #1e4487; */
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.calendar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.calendar-header {
  background: linear-gradient(135deg, #273d61 0%, #172c43 100%);
  color: white;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.calendar-info {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.calendar-hours {
  font-size: 16px;
  opacity: 0.9;
  margin-top: 5px;
}

.calendar-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(to bottom, #fcfcfc, #ffffff);
}

.calendar-note {
  font-size: 14px;
  color: #86868b;
  line-height: 1.5;
  border-top: 1px solid #e6e6e6;
  padding-top: 15px;
}

.calendar-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  color: white;
  opacity: 0.8;
  width: 32px;
  height: 32px;
}

@media (max-width: 768px) {
  .calendar-card {
    max-width: 100%;
  }
  
  .calendar-header {
    padding: 20px 24px;
  }
  
  .calendar-info {
    font-size: 24px;
  }
  
  .calendar-body {
    padding: 24px;
  }
  
}



.calendar-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 0px;
}

.calendar-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 8px;
}

.calendar-pricing svg {
  flex-shrink: 0;
}

.calendar-location svg {
  flex-shrink: 0;
}

.calendar-sessions {
  margin: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.session-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 196, 88, 0.15);
  color: #007f39;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.session-badge.advanced {
  background: rgba(0, 122, 255, 0.15);
  color: #007AFF;
}

.calendar-session {
  background: #f5f5f7;
  border-radius: 12px;
  padding: 16px;
  border-left: 3px solid #00c458;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.calendar-session:hover {
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.calendar-session:nth-child(2) {
  border-left-color: #007AFF;
}

.session-instructor {
  font-size: 14px;
  color: #515154;
  display: flex;
  align-items: center;
  gap: 8px;
}

.session-instructor svg {
  flex-shrink: 0;
}

.session-time {
  font-size: 18px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 6px;
}

.session-title {
  font-size: 16px;
  font-weight: 500;
  color: #1d1d1f;
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .calendar-sessions {
    gap: 12px;
  }
  
  .calendar-session {
    padding: 14px;
  }
  
  .session-time {
    font-size: 16px;
  }
}

/*========================== Contact Form ==========================*/

.contact-form-container {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-bottom: 4rem;
}

.contact-form {
  width: 100%;
  max-width: 540px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1d1d1f;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #d2d2d7;
  background-color: #ffffff;
  font-size: 1rem;
  color: #1d1d1f;
  transition: all 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #86868b;
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 10px;
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}

.contact-form textarea {
  resize: none;
  min-height: 120px;
}

.form-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #0066cc;
  color: white;
  border: none;
  border-radius: 980px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  background-color: #004c99;
  transform: translateY(-2px);
}

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

.submit-button svg {
  transition: transform 0.2s ease;
}

.submit-button:hover svg {
  transform: translateX(3px);
}

/* Status Messages */
.form-status {
  margin-bottom: 24px;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 500;
  animation: fadeIn 0.5s ease-out;
  display: none;
}

.form-status.success {
  background-color: #e3f8e6;
  color: #1d643b;
  border: 1px solid #a9e5b7;
  display: block;
}

.form-status.error {
  background-color: #fae8e8;
  color: #cf1124;
  border: 1px solid #f8c6c8;
  display: block;
}

@media (max-width: 768px) {
  .contact-form {
    padding: 0 16px;
  }
  
  .submit-button {
    width: 100%;
    justify-content: center;
  }
}