/*--------------------------------------------------------------
Enhanced Contact Section Styles
----------------------------------------------------------------*/

/* Main Contact Section */
.cs_contact_section.cs_style_1 {
padding-bottom: 80px;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.cs_contact_section.cs_style_1:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contactGrain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23e9ecef" opacity="0.2"/><circle cx="75" cy="75" r="1" fill="%23e9ecef" opacity="0.2"/><circle cx="50" cy="10" r="0.5" fill="%23e9ecef" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23e9ecef" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23e9ecef" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23contactGrain)"/></svg>') repeat;
  opacity: 0.05;
  z-index: 1;
}

.cs_contact_section.cs_style_1 .container {
  position: relative;
  z-index: 2;
}

/* Section Heading */
.cs_contact_section .cs_section_heading {
  margin-bottom: 60px;
}

.cs_contact_section .cs_section_text {
  max-width: 600px;
  margin: 20px auto 0;
  line-height: 1.6;
}

/* Contact Cards */
.cs_contact_card.cs_style_1 {
  height: 100%;
  transition: all 0.3s ease;
}

.cs_contact_card_inner {
  background: #f0f5f8;
  border-radius: 8px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cs_contact_card_inner:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color, #007bff), var(--accent-color, #007bff));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.cs_contact_card.cs_style_1:hover .cs_contact_card_inner:before {
  transform: scaleX(1);
}

.cs_contact_card.cs_style_1:hover .cs_contact_card_inner {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.1);
}

/* Contact Icon */
.cs_contact_icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color, #007bff), var(--accent-color, #007bff));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  transition: all 0.3s ease;
}

.cs_contact_icon i {
  font-size: 24px;
  color: #fff;
  transition: all 0.3s ease;
}

.cs_contact_card.cs_style_1:hover .cs_contact_icon {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.cs_contact_card.cs_style_1:hover .cs_contact_icon i {
  transform: scale(1.1);
}

/* Contact Content */
.cs_contact_content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cs_contact_title {
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-color, #333);
  margin-bottom: 15px;
  line-height: 1.3;
}

.cs_contact_details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

/* Contact Links */
.cs_contact_link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--heading-color, #333);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 15px;
  font-weight: 500;
}

.cs_contact_link:hover {
  background: rgba(0, 123, 255, 0.1);
  color: var(--accent-color, #007bff);
  transform: translateX(5px);
}

.cs_contact_link i {
  font-size: 12px;
  color: var(--accent-color, #007bff);
  width: 16px;
  text-align: center;
}

/* Contact Address */
.cs_contact_address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--heading-color, #333);
  font-size: 14px;
  line-height: 1.5;
  transition: all 0.3s ease;
  text-align: left;
  justify-content: flex-start;
}

.cs_contact_address:hover {
  background: rgba(0, 123, 255, 0.1);
  transform: translateX(5px);
}

.cs_contact_address i {
  font-size: 16px;
  color: var(--accent-color, #007bff);
  margin-top: 3px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

.cs_contact_address span {
  flex: 1;
  text-align: left;
}

/* Map Section */
.cs_map_section {
  margin-top: 60px;
}

.cs_map_header {
  text-align: center;
  margin-bottom: 30px;
}

.cs_map_title {
  font-size: 28px;
  font-weight: 600;
  color: var(--heading-color, #333);
  margin-bottom: 8px;
}

.cs_map_subtitle {
  font-size: 16px;
  color: var(--text-color, #666);
  margin: 0;
}

.cs_map_container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.cs_map_wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.cs_map_wrapper iframe {
  border-radius: 8px;
  display: block;
}

/* Map Overlay */
.cs_map_overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 280px;
}

.cs_map_info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cs_map_info_item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cs_map_info_item i {
  font-size: 16px;
  color: var(--accent-color, #007bff);
  margin-top: 2px;
  width: 20px;
  text-align: center;
}

.cs_map_info_item strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading-color, #333);
  display: block;
  margin-bottom: 4px;
}

.cs_map_info_item p {
  font-size: 13px;
  color: var(--text-color, #666);
  margin: 0;
  line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1199px) {
  .cs_contact_section.cs_style_1 {
    padding: 80px 0;
  }
  
  .cs_contact_card_inner {
    padding: 25px 20px;
  }
  
  .cs_contact_icon {
    width: 70px;
    height: 70px;
  }
  
  .cs_contact_icon i {
    font-size: 20px;
  }
}

@media (max-width: 991px) {
  .cs_contact_section.cs_style_1 {
    padding: 60px 0;
  }
  
  .cs_contact_card_inner {
    padding: 20px 15px;
  }
  
  .cs_contact_icon {
    width: 60px;
    height: 60px;
  }
  
  .cs_contact_icon i {
    font-size: 18px;
  }
  
  .cs_contact_title {
    font-size: 16px;
  }
  
  .cs_map_overlay {
    position: static;
    margin-top: 20px;
    max-width: none;
  }
  
  .cs_map_info {
    flex-direction: row;
    justify-content: space-around;
  }
}

@media (max-width: 767px) {
  .cs_contact_section.cs_style_1 {
    padding: 40px 0;
  }
  
  .cs_contact_card_inner {
    padding: 20px;
  }
  
  .cs_contact_icon {
    width: 55px;
    height: 55px;
  }
  
  .cs_contact_icon i {
    font-size: 16px;
  }
  
  .cs_contact_title {
    font-size: 15px;
    margin-bottom: 12px;
  }
  
  .cs_contact_link,
  .cs_contact_address {
    font-size: 13px;
    padding: 6px 10px;
  }
  
  .cs_contact_address i {
    font-size: 12px;
    width: 16px;
  }
  
  .cs_map_title {
    font-size: 24px;
  }
  
  .cs_map_subtitle {
    font-size: 14px;
  }
  
  .cs_map_info {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .cs_contact_card_inner {
    padding: 15px;
  }
  
  .cs_contact_icon {
    width: 50px;
    height: 50px;
  }
  
  .cs_contact_icon i {
    font-size: 14px;
  }
  
  .cs_contact_title {
    font-size: 14px;
  }
  
  .cs_contact_link,
  .cs_contact_address {
    font-size: 12px;
    padding: 5px 8px;
  }
  
  .cs_contact_address i {
    font-size: 11px;
    width: 14px;
  }
}

/* Animation Enhancements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cs_contact_card.cs_style_1 {
  animation: fadeInUp 0.8s ease;
  animation-fill-mode: both;
}

.cs_contact_card.cs_style_1:nth-child(1) { animation-delay: 0.1s; }
.cs_contact_card.cs_style_1:nth-child(2) { animation-delay: 0.2s; }
.cs_contact_card.cs_style_1:nth-child(3) { animation-delay: 0.3s; }

/* Hover Effects */
.cs_contact_card.cs_style_1:hover {
  transform: translateY(-2px);
}

/* Loading State */
.cs_contact_card.cs_style_1.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Focus States for Accessibility */
.cs_contact_link:focus,
.cs_contact_address:focus {
  outline: 2px solid var(--accent-color, #007bff);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .cs_contact_section.cs_style_1 {
    background: #fff !important;
  }
  
  .cs_contact_card_inner {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
  
  .cs_map_overlay {
    display: none !important;
  }
}

.cs_contact_link i{
  font-size: 16px;
}
.cs_contact_address i{
  font-size: 16px;
}
