/* =================================
------------------------------------
  TIYEMDER - Contact Page Styles
------------------------------------
====================================*/

/* ===== CONTACT PAGE SPECIFIC STYLES ===== */
.contact-page {
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 50%, #f1f8e9 100%);
  overflow: hidden;
}

.contact-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230e2062' fill-opacity='0.02'%3E%3Ccircle cx='25' cy='25' r='15'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
  z-index: 1;
}

/* ===== CONTACT PAGE INFO SECTION ===== */
.contact-page-info {
  position: relative;
  background: linear-gradient(135deg, #0E2062, #4a69bd);
  padding: 60px 0;
  color: #fff;
  overflow: hidden;
}

.contact-floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.contact-floating-element {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  width: 150px;
  height: 150px;
  transition: transform 2s ease;
}

.contact-floating-element:nth-child(1) {
  top: -30px;
  left: 10%;
  width: 100px;
  height: 100px;
}

.contact-floating-element:nth-child(2) {
  bottom: -50px;
  right: 15%;
  width: 120px;
  height: 120px;
}

.contact-floating-element:nth-child(3) {
  top: 20%;
  left: 35%;
  width: 60px;
  height: 60px;
}

.contact-floating-element:nth-child(4) {
  bottom: 30%;
  right: 30%;
  width: 80px;
  height: 80px;
}

.page-info-content {
  position: relative;
  z-index: 2;
}

.contact-hero-content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-hero-left h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-top: 15px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.contact-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.contact-title-badge i {
  color: #fff;
  font-size: 1rem;
}

.contact-breadcrumb {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-breadcrumb a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-breadcrumb a:hover {
  opacity: 0.8;
}

.contact-breadcrumb span {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.contact-breadcrumb i {
  font-size: 0.75rem;
}

/* ===== MAP SECTION ===== */
.full-map {
  position: relative;
  height: 450px;
  overflow: hidden;
  z-index: 2;
}

.full-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(15%);
  transition: filter 0.3s ease;
}

.full-map iframe:hover {
  filter: grayscale(0%);
}

.map-overlay {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  max-width: 350px;
  z-index: 10;
  border: 1px solid rgba(14, 32, 98, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-overlay:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.map-overlay h4 {
  font-size: 1.2rem;
  color: #0E2062;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-overlay h4 i {
  color: #4a69bd;
}

.map-overlay p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* ===== CONTACT INFO SECTION ===== */
.footer-top-contact-section {
  position: relative;
  padding: 80px 0;
  background: #fff;
  z-index: 2;
}

.section-title {
  margin-bottom: 30px;
}

.section-title h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0E2062;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.title-left h2 {
  text-align: left;
}

.section-title h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #0E2062, #4a69bd);
  border-radius: 2px;
}

.contact-info-item {
  margin-bottom: 30px;
  padding-left: 15px;
  border-left: 3px solid rgba(14, 32, 98, 0.1);
  transition: border-color 0.3s ease;
}

.contact-info-item:hover {
  border-left-color: #0E2062;
}

.contact-info-item h3 {
  font-size: 1.25rem;
  color: #0E2062;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.contact-info-item h3 i {
  color: #4a69bd;
  font-size: 1.1rem;
}

.contact-info-item p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 5px;
  font-size: 1rem;
}

.contact-info-item p:last-child {
  margin-bottom: 0;
}

.contact-info-item p span {
  font-weight: 600;
  color: #333;
  margin-right: 5px;
}

.contact-info-item a {
  color: #4a69bd;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.contact-info-item a:hover {
  color: #0E2062;
  text-decoration: underline;
}

/* ===== CONTACT FORM SECTION ===== */
.contact-form-wrapper {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(14, 32, 98, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #0E2062, #4a69bd, #0E2062);
  z-index: 3;
}

.form-message {
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 25px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-message.success {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.form-message.error {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.form-message i {
  font-size: 1.2rem;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group input,
.form-group textarea {
  display: block;
  width: 100%;
  padding: 15px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #fff;
  color: #333;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0E2062;
  box-shadow: 0 0 0 4px rgba(14, 32, 98, 0.1);
  transform: translateY(-2px);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  background: linear-gradient(135deg, #0E2062, #4a69bd);
  color: #fff;
  box-shadow: 0 8px 20px rgba(14, 32, 98, 0.3);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.contact-form-button:hover::before {
  left: 100%;
}

.contact-form-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(14, 32, 98, 0.4);
}

.contact-form-button i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.contact-form-button:hover i {
  transform: translateX(3px);
}

/* Loading state for button */
.contact-form-button.form-loading {
  position: relative;
  pointer-events: none;
}

.contact-form-button.form-loading span,
.contact-form-button.form-loading i {
  visibility: hidden;
}

.contact-form-button.form-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* ===== RESPONSIVE DESIGNS ===== */
@media (max-width: 991px) {
  .contact-hero-content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .contact-hero-left h2 {
    font-size: 2.2rem;
  }
  
  .contact-form-wrapper {
    padding: 30px;
    margin-top: 40px;
  }
  
  .footer-top-contact-section {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .contact-page-info {
    padding: 40px 0;
  }
  
  .contact-hero-left h2 {
    font-size: 1.8rem;
  }
  
  .full-map {
    height: 350px;
  }
  
  .map-overlay {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .map-overlay:hover {
    transform: translateX(-50%) translateY(-5px);
  }
  
  .contact-form-wrapper {
    padding: 25px;
  }
}

@media (max-width: 576px) {
  .contact-hero-left h2 {
    font-size: 1.6rem;
  }
  
  .contact-title-badge {
    padding: 6px 15px;
    font-size: 12px;
  }
  
  .contact-breadcrumb {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
  
  .full-map {
    height: 300px;
  }
  
  .map-overlay {
    left: 15px;
    right: 15px;
    bottom: 15px;
    transform: none;
    max-width: calc(100% - 30px);
  }
  
  .map-overlay:hover {
    transform: translateY(-5px);
  }
  
  .section-title h2 {
    font-size: 1.6rem;
  }
  
  .contact-form-button {
    width: 100%;
  }
  
  .contact-info-item h3 {
    font-size: 1.1rem;
  }
}