/* Contact Section Styles */
.contact-card {
  background: #fffae540; 
  border: 1px solid #FFC555;
  border-radius: 1.25rem;
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.1);
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(251, 191, 36, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.contact-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: #fbbf24;
  box-shadow: 0 20px 60px rgba(251, 191, 36, 0.3);
  background: #fff9db;
}

.contact-card:hover::before {
  opacity: 1;
}

/* Contact card inner layout */
.contact-card-inner {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Icon container */
.contact-icon-box {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.5rem;
  background-color: #27272A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-sub-icon-box {
  width: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Contact details wrapper */
.contact-details {
  flex: 1;
}

/* Contact card heading */
.contact-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #27272a;
  margin-bottom: 0.5rem;
}

/* Contact link */
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #27272a;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: #27272A;
}

/* Social Grid */
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Social Card */
.social-card {
  background: #fffae540;
  backdrop-filter: blur(20px);
  border: 1px solid #FFC555;
  border-radius: 1rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  display: block;
}

/* Expanding circle effect on hover */
.social-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(250, 204, 21, 0.3));
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
}

.social-card:hover::before {
  width: 200%;
  height: 200%;
}

.social-card:hover {
  transform: translateY(-5px);
  border-color: #fbbf24;
  box-shadow: 0 15px 40px rgba(251, 191, 36, 0.4);
}

/* Social Icon */
.social-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #27272A;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
  font-size: 2rem;
}

/* Social Icon */
.social-svg-icon {
  margin: 0 auto 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.social-card:hover .social-icon {
  transform: scale(1.1);
}

/* Form container */
.form-container {
  background: #ffffff;
  backdrop-filter: blur(20px);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 12px 30px rgba(9, 56, 12, 0.15), 0 4px 10px rgba(9, 56, 12, 0.1);
}

/* Form header */
.form-header {
  margin-bottom: 1.2rem;
}

.form-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #27272a;
  margin-bottom: 0.5rem;
}

.form-header p {
  color: #52525b;
}

/* Form label */
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #52525b;
  margin-bottom: 0.5rem;
}

/* Required asterisk */
.required {
  color: #dc3545;
}

/* Form input and textarea */
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.3rem 1rem;
  background-color: #fffae540;
  border: 1px solid #FFC555;
  border-radius: 0.5rem;
  color: #14532d;
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

@media (max-width: 768px) {
    .form-input, .form-textarea {
        font-size: 0.8rem;
    }
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #97979b;
}

.form-input:focus,
.form-textarea:focus {
  border-color: transparent;
  box-shadow: 0 0 0 2px #fbbf24;
  backdrop-filter: blur(4px);
}

/* Textarea specific */
.form-textarea {
  resize: none;
  min-height: 120px;
}

/* Submit button */
.form-submit-btn {
  width: 100%;
  background-color: #191303;
  color: #fff;
  font-weight: 600;
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px rgba(163, 105, 1, 0.25);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form-submit-btn:hover {
  background-color: #fbbf24;
  box-shadow:0 10px 20px rgba(251, 191, 36, 0.4);
}

.form-submit-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px #fbbf24, 0 10px 20px rgba(22, 163, 74, 0.4);
}

.form-submit-btn i {
  margin-right: 0.5rem;
}

/* Toaster Styles */
.toast-success {
    background-color: #16a34a;
    min-width: 350px;
    max-width: 500px;
}

.toast-error {
    background-color: #ef4444;
    min-width: 350px;
    max-width: 500px;
}

/* Mobile: Remove outer border and add borders to individual sections */
@media (max-width: 767px) {
    .contact-section-wrapper {
        border: none !important;
    }
    
    .contact-left-section,
    .contact-right-section {
        border: 2px solid #fbbf24 !important;
        border-radius: 1rem;
        margin-bottom: 1rem;
        padding: 20px;
    }
}

/* Desktop: Remove individual section borders */
@media (min-width: 768px) {
    .contact-left-section,
    .contact-right-section {
        border: none !important;
    }
}