/* 
   Fresher Essentials - Contact Page Specific Stylesheet
*/

/* --- Contact Hero --- */
.contact-hero {
  position: relative;
  padding: 180px 0 100px 0;
  background-color: var(--bg-warm-ivory);
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.contact-hero-title {
  font-size: 5rem;
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-charcoal);
  margin-bottom: 1.5rem;
}

.contact-hero-subtitle {
  font-size: 1.35rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
  max-width: 750px;
  margin: 0 auto;
}

/* --- Contact Info Section --- */
.contact-info-section {
  padding: 100px 0;
  background-color: var(--bg-cream);
  border-bottom: 1px solid var(--border-light);
}

.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.info-card {
  background-color: var(--bg-warm-ivory);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.info-card:hover {
  transform: translateY(-8px);
  border-color: var(--bg-forest-green);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.02);
}

.info-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background-color: var(--bg-botanical-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-forest-green);
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.info-icon {
  width: 26px;
  height: 26px;
}

.info-card:hover .info-icon-wrap {
  background-color: var(--bg-forest-green);
  color: var(--text-white);
}

.info-card h3 {
  font-size: 1.5rem;
  color: var(--text-charcoal);
  margin-bottom: 0.75rem;
}

.info-val {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-charcoal);
  margin-bottom: 0.25rem;
}

.info-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* --- Enquiry Grid --- */
.enquiry-section {
  padding: 120px 0;
  background-color: var(--bg-warm-ivory);
  border-bottom: 1px solid var(--border-light);
}

.enquiry-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 5rem;
  align-items: flex-start;
}

.form-title {
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.form-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 3rem;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.text-area {
  min-height: 150px;
  resize: vertical;
}

/* Direct Enquiry Email Card Redesign */
.direct-email-card {
  background-color: var(--bg-warm-ivory);
  border: 1px solid var(--border-light);
  border-radius: 32px;
  padding: 4rem 3.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.015);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-smooth);
}

.direct-email-card:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 107, 79, 0.25);
  box-shadow: 0 20px 50px rgba(47, 107, 79, 0.03);
}

.direct-email-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background-color: var(--bg-botanical-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-forest-green);
  margin-bottom: 2rem;
  transition: var(--transition-smooth);
}

.direct-email-card:hover .direct-email-icon {
  background-color: var(--bg-forest-green);
  color: var(--text-white);
}

.direct-email-icon svg {
  width: 32px;
  height: 32px;
}

.direct-card-title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.direct-email-link {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--bg-forest-green);
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: var(--transition-fast);
  word-break: break-all;
  display: inline-block;
  border-bottom: 2px solid transparent;
}

.direct-email-link:hover {
  color: var(--bg-mango-gold);
  border-color: var(--bg-mango-gold);
}

.direct-info-notes {
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
}

.direct-note-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.direct-note-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--bg-mango-gold);
  margin-top: 0.55rem;
  flex-shrink: 0;
}

.direct-note-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

.direct-note-item strong {
  color: var(--text-charcoal);
  font-weight: 600;
}

.direct-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 2rem;
  background-color: var(--bg-forest-green);
  color: var(--text-white);
  border: none;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 12px;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.direct-btn:hover {
  background-color: var(--bg-forest-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(47, 107, 79, 0.15);
}

.direct-btn .btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.direct-btn:hover .btn-arrow {
  transform: translateX(5px);
}

/* Partnerships Card */
.partnership-card {
  background-color: var(--bg-forest-green);
  color: var(--text-white);
  border-radius: 32px;
  padding: 4rem 3rem;
  box-shadow: 0 15px 40px rgba(47, 107, 79, 0.1);
}

.partner-title {
  font-size: 2.5rem;
  color: var(--text-cream);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.partner-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.partner-points {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2rem;
}

.partner-point strong {
  font-size: 1.15rem;
  color: var(--bg-mango-gold);
  display: block;
  margin-bottom: 0.25rem;
}

.partner-point p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 300;
  line-height: 1.5;
}

.partner-action-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.25rem;
}

.partner-email {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--text-cream);
  font-weight: 600;
}

/* --- Google Maps Section --- */
.maps-section {
  padding: 100px 0;
  background-color: var(--bg-cream);
  border-bottom: 1px solid var(--border-light);
}

.maps-container-inner {
  border: 1px solid var(--border-light);
  border-radius: 24px;
  overflow: hidden;
  background-color: var(--bg-warm-ivory);
  box-shadow: 0 10px 30px rgba(0,0,0,0.01);
}

.maps-header {
  padding: 1.5rem 2.5rem;
  background-color: var(--bg-warm-ivory);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.maps-header h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-charcoal);
}

.maps-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.maps-placeholder {
  position: relative;
  height: 400px;
  background-color: #ECE7DF;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Styled grids representing streets on map skin */
.maps-grid-skin {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
  background-image: 
    linear-gradient(rgba(47, 107, 79, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 107, 79, 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}

.maps-marker {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.marker-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--bg-forest-green);
  border: 3px solid var(--text-white);
  box-shadow: 0 5px 10px rgba(47, 107, 79, 0.3);
}

.marker-pulse {
  position: absolute;
  top: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(47, 107, 79, 0.25);
  animation: pulseMarker 2s infinite ease-out;
}

@keyframes pulseMarker {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3.5); opacity: 0; }
}

.marker-label {
  margin-top: 0.75rem;
  background-color: var(--bg-warm-ivory);
  border: 1px solid var(--border-light);
  color: var(--text-charcoal);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.map-overlay-text {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-btn);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  opacity: 0.7;
}

/* --- FAQ Section --- */
.faq-section {
  padding: 120px 0;
  background-color: var(--bg-warm-ivory);
  border-bottom: 1px solid var(--border-light);
}

.faq-accordion-container {
  max-width: 800px;
  margin: 4rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background-color: var(--bg-warm-ivory);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(47, 107, 79, 0.4);
}

.faq-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  text-align: left;
}

.faq-toggle span {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--text-charcoal);
  transition: var(--transition-fast);
}

.faq-toggle:hover span {
  color: var(--bg-forest-green);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.4s ease;
}

/* Expanded styles */
.faq-item.active {
  border-color: var(--bg-forest-green);
  box-shadow: 0 10px 25px rgba(47, 107, 79, 0.03);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--bg-forest-green);
}

.faq-item.active .faq-toggle span {
  color: var(--bg-forest-green);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-panel p {
  padding: 0 2rem 2rem 2rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .contact-hero-title { font-size: 4rem; }
  .info-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .enquiry-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  
  .maps-header { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 768px) {
  .contact-hero-title { font-size: 3rem; }
  .contact-hero-subtitle { font-size: 1.15rem; }
  
  .info-cards-grid { grid-template-columns: 1fr; }
  
  .form-title { font-size: 2.8rem; }
  .partnership-card { padding: 3rem 2rem; }
  .partner-title { font-size: 2rem; }
  .partner-email { font-size: 1.35rem; }
  
  .direct-email-card {
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
  }
  .direct-email-link {
    font-size: 1.45rem;
    margin-bottom: 2rem;
  }
  
  .faq-toggle { padding: 1.5rem; }
  .faq-toggle span { font-size: 1.25rem; }
  .faq-panel p { padding: 0 1.5rem 1.5rem 1.5rem; }
}

@media (max-width: 480px) {
  .contact-hero-title { font-size: 2.5rem; }
  .direct-email-link { font-size: 1.2rem; }
}
