@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Poppins;
}

:root {
  --primary-color: #4a6fa5;
  --primary-dark: #3a5a80;
  --secondary-color: #d4a59a;
  --accent-color: #ec3507;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --text-color: #333;
  --text-light: #6c757d;
  --white: #ffffff;
  --black: #000000;
  --font-primary: "Montserrat", sans-serif;
  --font-secondary: "Playfair Display", serif;
  --transition: all 0.3s ease;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 50px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  margin: 0;
  padding: 0;
}

.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Hero Section */
.hero-section {
  margin-bottom: 4rem;
  padding-top: 2rem;
}

.heroContainer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-section h1 {
  margin-top: 70px;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 2rem;
}

.divider-line {
  width: 100px;
  height: 2px;
  background-color: var(--black);
  margin: 0 auto 2rem;
}

.hero-subdescription {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
}

/* Schedule Section */
.schedule-section {
  margin-bottom: 5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 3rem;
  text-align: center;
}

.day-section {
  margin-bottom: 3rem;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.day-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.sunday-highlight {
  border: 2px solid var(--primary-color);
  background: linear-gradient(to bottom right, #ffffff, #f0f4ff);
}

.day-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--light-color);
}

.day-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.day-name {
  font-size: 1.75rem;
  color: var(--primary-color);
  font-weight: 700;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(74, 111, 165, 0.2);
}

.service-card.featured {
  border: 2px solid var(--accent-color);
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
}

.featured-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent-color);
  color: white;
  padding: 0.5rem 1rem;
  border-bottom-left-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-time {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
  font-size: 1rem;
  font-weight: 600;
}

.service-time i {
  font-size: 1.25rem;
}

.service-title {
  font-size: 1.25rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-details {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

.detail-item i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--primary-dark)
  );
  color: var(--white);
  border-radius: 12px;
  padding: 3rem 2rem;
  margin-bottom: 5rem;
  text-align: center;
  box-shadow: var(--box-shadow);
}

.cta-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta-section p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  padding: 0.875rem 2rem;
  border-radius: 8px;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  font-size: 1rem;
}

.cta-button.primary {
  background-color: var(--white);
  color: var(--primary-color);
}

.cta-button.primary:hover {
  background-color: var(--light-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cta-button.secondary:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Info Section */
.info-section {
  margin-bottom: 4rem;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.info-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.info-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.info-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

.info-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.info-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.info-link:hover {
  color: var(--primary-dark);
  gap: 0.75rem;
}

.info-link i {
  transition: var(--transition);
}

/* Responsive Layout */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
    margin-top: 50px;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .hero-subdescription {
    font-size: 1rem;
  }

  .day-name {
    font-size: 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .cta-section h3 {
    font-size: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-button {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .hero-section h1 {
    font-size: 3rem;
  }
}

/* Online Service Cards */
.service-card.online-service {
  cursor: pointer;
  border-color: #28a745;
}

.service-card.online-service:hover {
  border-color: #28a745;
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.2);
  transform: translateY(-3px);
}

.call-details-btn {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
  width: 100%;
}

.call-details-btn:hover {
  background: #218838;
  transform: scale(1.02);
}

/* Conference Call Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 0;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.3s ease;
  position: relative;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close {
  position: absolute;
  right: 20px;
  top: 20px;
  color: white;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 1;
  transition: var(--transition);
  line-height: 1;
}

.close:hover,
.close:focus {
  transform: scale(1.1);
  opacity: 0.8;
}

.modal-header {
  background: linear-gradient(135deg, #28a745, #218838);
  color: white;
  padding: 2rem;
  border-radius: 12px 12px 0 0;
  text-align: center;
  position: relative;
}

.modal-header i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
}

.modal-body {
  padding: 2rem;
}

.modal-service-info {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--light-color);
}

.modal-service-info h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.modal-service-info p {
  color: var(--text-light);
  font-size: 1rem;
}

.conference-instructions {
  background: #f0f8f4;
  border-left: 4px solid #28a745;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.conference-instructions h4 {
  color: #28a745;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.conference-instructions ol {
  margin-left: 1.5rem;
  color: var(--text-color);
}

.conference-instructions li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.conference-details-section {
  margin-bottom: 1.5rem;
}

.conference-details-section label {
  display: block;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.conference-details-section label i {
  color: #28a745;
  margin-right: 0.5rem;
}

.phone-container {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

.phone-container input {
  flex: 1;
  padding: 0.875rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  background: var(--light-color);
  text-align: center;
}

.copy-btn {
  padding: 0.875rem 1.5rem;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.copy-btn:hover {
  background: #218838;
  transform: scale(1.02);
}

.conference-details {
  background: var(--light-color);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detail-row label {
  font-weight: 600;
  color: var(--text-color);
}

.detail-row span {
  font-size: 1.25rem;
  font-weight: 700;
  color: #28a745;
}

.join-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.25rem;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 1rem;
}

.join-call-btn:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.modal-note {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 1rem;
  border-radius: 8px;
  color: #856404;
  font-size: 0.9rem;
  line-height: 1.6;
}

.modal-note i {
  color: #ffc107;
  margin-right: 0.5rem;
}

.modal-note strong {
  color: #28a745;
  font-weight: 700;
}

/* Responsive Modal */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .phone-container {
    flex-direction: column;
  }

  .phone-container input {
    text-align: center;
  }

  .join-call-btn {
    font-size: 1rem;
    padding: 1rem;
  }
}

/* Location Modal Specific Styles */
.location-modal-content {
  max-width: 900px;
}

.location-modal-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  display: block;
}

.map-info {
  background: var(--light-color);
  padding: 1.5rem;
  border-radius: 8px;
}

.map-info p {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-color);
  line-height: 1.6;
}

.map-info p:last-child {
  margin-bottom: 0;
}

.map-info i {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.map-info strong {
  color: var(--primary-dark);
  font-weight: 600;
}

/* Responsive Location Modal */
@media (max-width: 768px) {
  .location-modal-content {
    width: 95%;
    margin: 5% auto;
  }

  .map-container iframe {
    height: 300px;
  }

  .map-info {
    padding: 1rem;
  }

  .map-info p {
    font-size: 0.95rem;
  }
}

/* Reveal on Scroll effect */
.section {
  transition: transform 1s, opacity 1s;
}

.section--hidden {
  opacity: 0;
  transform: translateY(8rem);
}
