/* Latest Updates Section Styles */
.latest-updates-section {
  position: relative;
  overflow: hidden;
  padding: 60px 0;
  background: linear-gradient(135deg, #009688 0%, #80cbc4 100%);
  background-color: #009688;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 150, 136, 0.07);
}

.latest-updates-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23004d40' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
  z-index: 0;
}

.latest-updates-section .container {
  position: relative;
  z-index: 1;
}

/* Title Icon */
.title-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #004d40 0%, #00695c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: white;
  font-size: 30px;
  box-shadow: 0 10px 30px rgba(0,77,64,0.3);
}

/* Social Feed Cards */
.social-feed-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.social-feed-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #004d40 0%, #00695c 100%);
  z-index: 2;
}

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

.social-feed-card .card-header {
  background: linear-gradient(135deg, #004d40 0%, #00695c 100%);
  color: white;
  padding: 20px 25px;
  border: none;
  position: relative;
}

.social-badge {
  margin-left: auto;
}

.social-badge .badge {
  font-size: 0.7rem;
  padding: 0.3rem 0.6rem;
  border-radius: 20px;
}

.social-icon {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 20px;
  transition: all 0.3s ease;
}

.social-feed-card:hover .social-icon {
  transform: scale(1.1);
  background: rgba(255,255,255,0.3);
}

.social-info h5 {
  color: white;
  font-weight: 600;
  margin: 0;
}

.social-info small {
  color: rgba(255,255,255,0.8);
}

.social-feed-card .card-body {
  flex: 1;
  background: white;
  position: relative;
}

.facebook-iframe-wrapper,
.instagram-iframe-wrapper {
  background: white;
  border-radius: 0 0 15px 15px;
  overflow: hidden;
  position: relative;
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 0 0 15px 15px;
}

.social-feed-card .card-footer {
  background: #f8f9fa;
  border: none;
  padding: 15px 25px;
}

/* Social Links Grid */
.social-links-section {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.social-links-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,77,64,0.05) 0%, transparent 70%);
  z-index: 0;
}

.social-links-section > * {
  position: relative;
  z-index: 1;
}

.social-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.social-link-card {
  display: flex;
  align-items: center;
  padding: 20px;
  border-radius: 15px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  background: #f8f9fa;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.social-link-card::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;
}

.social-link-card:hover::before {
  left: 100%;
}

.social-link-card:hover {
  transform: translateY(-3px);
  text-decoration: none;
  color: inherit;
}

.social-link-card.facebook:hover {
  background: #1877f2;
  color: white;
  border-color: #1877f2;
}

.social-link-card.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  border-color: #dc2743;
}

.social-link-card.youtube:hover {
  background: #ff0000;
  color: white;
  border-color: #ff0000;
}

.social-link-card.email:hover {
  background: #ea4335;
  color: white;
  border-color: #ea4335;
}

.social-link-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 20px;
  background: rgba(0,77,64,0.1);
  color: #004d40;
  transition: all 0.3s ease;
}

.social-link-card:hover .social-link-icon {
  background: rgba(255,255,255,0.2);
  color: white;
  transform: scale(1.1);
}

.social-link-text {
  flex: 1;
}

.social-link-text h6 {
  margin: 0;
  font-weight: 600;
}

.social-link-text small {
  color: #6c757d;
  transition: all 0.3s ease;
}

.social-link-card:hover .social-link-text small {
  color: rgba(255,255,255,0.8);
}

.social-link-arrow {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.social-link-card:hover .social-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Newsletter Section */
.newsletter-section {
  margin-top: 40px;
}

.newsletter-card {
  background: linear-gradient(135deg, #004d40 0%, #00695c 100%);
  color: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 15px 35px rgba(0,77,64,0.3);
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.newsletter-card > * {
  position: relative;
  z-index: 1;
}

.newsletter-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 24px;
}

.newsletter-form .input-group {
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-form .form-control {
  border: none;
  border-radius: 25px 0 0 25px;
  padding: 12px 20px;
  font-size: 14px;
}

.newsletter-form .btn {
  border-radius: 0 25px 25px 0;
  padding: 12px 25px;
  border: none;
}

/* Responsive Design */
@media (max-width: 991px) {
  .latest-updates-section {
    padding: 60px 0;
  }
  
  .social-feed-card {
    margin-bottom: 30px;
  }
  
  .social-links-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }
  
  .newsletter-card {
    padding: 30px 20px;
  }
}

@media (max-width: 767px) {
  .latest-updates-section {
    padding: 40px 0;
  }
  
  .social-links-section {
    padding: 30px 20px;
  }
  
  .social-links-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .social-link-card {
    padding: 15px;
  }
  
  .newsletter-form .input-group {
    flex-direction: column;
  }
  
  .newsletter-form .form-control,
  .newsletter-form .btn {
    border-radius: 25px;
    margin-bottom: 10px;
  }
}

/* Animation */
.social-feed-card,
.social-link-card,
.newsletter-card {
  animation: fadeInUp 0.6s ease-out;
}

.social-feed-card:nth-child(2) {
  animation-delay: 0.1s;
}

.social-link-card:nth-child(2) {
  animation-delay: 0.1s;
}

.social-link-card:nth-child(3) {
  animation-delay: 0.2s;
}

.social-link-card:nth-child(4) {
  animation-delay: 0.3s;
}

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

/* Accessibility */
.social-link-card:focus {
  outline: 2px solid #004d40;
  outline-offset: 2px;
}

.newsletter-form .form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(0,77,64,0.25);
}

.latest-updates-section,
.latest-updates-section .section-title,
.latest-updates-section .section-title h2,
.latest-updates-section .section-title .title-separator,
.latest-updates-section .section-title p,
.latest-updates-section p,
.latest-updates-section .text-muted {
  color: #fff !important;
}

.latest-updates-section .newsletter-card,
.latest-updates-section .social-feed-card,
.latest-updates-section .social-link-card {
  background: rgba(33,37,41,0.85);
  color: #fff;
}

.latest-updates-section .newsletter-card .form-control {
  background: #232526;
  color: #fff;
  border: 1px solid #444;
}

.latest-updates-section .newsletter-card .form-control::placeholder {
  color: #bbb;
}

.latest-updates-section .newsletter-card .btn {
  background: #00695c;
  color: #fff;
}

.latest-updates-section .social-link-card,
.latest-updates-section .social-link-card * {
  color: #fff !important;
}

.latest-updates-section .social-link-icon {
  color: #fff !important;
  background: rgba(0,77,64,0.2);
}

.latest-updates-section .social-link-card:hover .social-link-icon {
  color: #fff !important;
  background: rgba(255,255,255,0.2);
}

.latest-updates-section .row.g-4 {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.latest-updates-section .social-feed-card {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .latest-updates-section .row.g-4 {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .latest-updates-section .social-feed-card {
    max-width: 100%;
  }
}

.section-typo-light {
  background: #f5f7fa;
  padding: 48px 0 32px 0;
  border-radius: 24px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.07);
}

.section-typo-light .row-o-equal-height {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.section-typo-light .col-sm-4 {
  flex: 1 1 300px;
  max-width: 370px;
  min-width: 260px;
  margin: 0 8px;
  background: transparent !important;
}

.section-typo-light .tm-sc-icon-box {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 260px;
  transition: box-shadow 0.2s;
  gap: 18px;
  text-align: center;
}

.section-typo-light .tm-sc-icon-box:hover {
  box-shadow: 0 8px 32px rgba(0,150,136,0.13);
}

.section-typo-light .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: none;
  color: #009688;
  font-size: 2.5rem;
  margin-right: 0;
  flex-shrink: 0;
  box-shadow: none;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.section-typo-light .tm-sc-icon-box:hover .icon {
  transform: scale(1.08) rotate(-6deg);
  box-shadow: none;
}

.section-typo-light .icon i {
  font-size: 2.5rem;
  line-height: 1;
}

.section-typo-light .icon-text,
.section-typo-light .icon-box-title,
.section-typo-light .icon-text .content,
.section-typo-light .icon-text .content p,
.section-typo-light .icon-text .content p b,
.section-typo-light .icon-text .content .helpline {
  text-align: center !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.section-typo-light .icon-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.section-typo-light .icon-box-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #009688 !important;
}

.section-typo-light .icon-text,
.section-typo-light .icon-text .content p,
.section-typo-light .icon-text .content p b {
  color: #222 !important;
}

.section-typo-light .icon-text .content p b,
.section-typo-light .icon-text .content .helpline {
  color: #009688 !important;
  font-size: 1.13rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: block;
  margin-top: 10px;
  margin-bottom: 2px;
}

.section-typo-light .tm-sc-icon-box .icon:empty::before {
  content: '\f128'; /* fa-question-circle as fallback */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 2.2rem;
  color: #fff;
}

@media (max-width: 991px) {
  .section-typo-light .row-o-equal-height {
    flex-direction: column;
    gap: 24px;
  }
  .section-typo-light {
    padding: 32px 0 16px 0;
  }
}

.section-typo-light .section-title .title {
  color: #009688 !important;
}

/* Achievements Section Styles (moved from index.php) */
.achievements-section {
  position: relative;
  background-color: #f5f7fa;
  /* Subtle SVG pattern background */
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23009688' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 60px 60px;
}

.achievements-section .achievements-gallery-page .row {
  margin-top: 2rem;
}
.achievement-img-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  padding: 10px;
  margin-bottom: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.achievement-img-card:hover {
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 8px 32px rgba(0,150,136,0.13);
}
.achievement-img-card img {
  max-width: 100%;
  border-radius: 12px;
  object-fit: cover;
  height: 200px;
  width: 100%;
}
.achievements-section .subtitle {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
@media (max-width: 767px) {
  .achievement-img-card img {
    height: 140px;
  }
  .section-typo-light .col-sm-4 {
    margin: 0 auto 10px auto;
  }
  
  .headerinfo{
    flex-wrap: wrap;
    text-align: center;
    justify-content: center !important;
  }

  .doctor-name {
    text-align: center;
}

.doctor-highlights {
    text-align: center;
}

.achievements-wrapper h3 {
  text-align: center;
}

.doctor-cta {
  margin-top: 30px;
  text-align: center;
}

} 