* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body {
  background-color: #ffffff;
  color: #fff;
  line-height: 1.6;
}

/* ===== PAGE TITLE ===== */
.page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #667eea;
  text-align: center;
  margin: 2rem 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* ===== CLOCK & SEARCH SECTION ===== */
#datetime {
  font-size: 1.1rem;
  color: #1e293b;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.search-section {
  margin: 2rem 0;
}

#serviceForm {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

#serviceInput {
  border: 2px solid #667eea;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  outline: none;
  flex: 1;
  min-width: 200px;
  font-size: 1rem;
}

#serviceInput:focus {
  box-shadow: 0 0 8px rgba(102, 126, 234, 0.5);
  border-color: #764ba2;
}

#serviceForm button {
  background-color: #667eea;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#serviceForm button:hover {
  background-color: #764ba2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* ===== THEME TOGGLE ===== */
.theme-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ===== INFO BOXES ===== */
.info-box {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.info-box:hover {
  transform: translateY(-5px);
}

.info-box h5 {
  font-weight: 700;
  color: #667eea;
  margin-bottom: 1rem;
}

/* ===== GALLERY ===== */
.gallery-container {
  padding: 2rem 0;
}

.gallery-container h3 {
  font-weight: 700;
  color: #667eea;
  margin-bottom: 2rem;
}

#mainImage {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

#mainImage:hover {
  transform: scale(1.02);
}

.modeButton {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.modeButton:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

@media (min-width: 414px) {
  .modeButton {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
  }
}

.gallery-thumbs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.gallery-thumbs img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-thumbs img:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ===== ACCORDION FAQ ===== */
.accordion-question {
  cursor: pointer;
  padding: 1.2rem;
  color: black;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 8px;
  border: 2px solid transparent;
  margin-bottom: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.accordion-question:hover {
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  border-color: #667eea;
}

.accordion-answer {
  display: none;
  padding: 1.2rem;
  color: black;
  border-left: 4px solid #667eea;
  border-radius: 8px;
  margin-bottom: 1rem;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ===== CONTACT FORM ===== */
.contact-form-section {
  margin: 3rem 0;
}

.contact-form-section h3 {
  font-weight: 700;
  color: #667eea;
  margin-bottom: 2rem;
}

.form-control {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.8rem;
  transition: all 0.3s ease;
}

.form-label {
  color: black;
}

.form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* ===== POPUP ===== */
.popup {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

.popup-content {
  background: #fff;
  margin: 10% auto;
  padding: 2rem;
  border-radius: 16px;
  max-width: 400px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #ef4444;
}

.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* === Weather Section === */
.weather-section {
  margin-top: 2rem;
  padding: 3rem 2rem;
  background: linear-gradient(to bottom, #ffffff, #f0f4ff);
  border-radius: 10%;
  margin-bottom: 4rem;
}

.weather-container {
  max-width: 800px;
  margin: 0 auto;
}

.weather-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.weather-widget {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(30, 64, 175, 0.3);
  color: white;
}

.weather-loading {
  text-align: center;
  font-size: 1.2rem;
  padding: 2rem;
}

.weather-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: center;
}

.weather-main {
  text-align: center;
  border-right: 2px solid rgba(255, 255, 255, 0.3);
  padding-right: 2rem;
}

.weather-icon {
  font-size: 5rem;
  margin-bottom: 1rem;
}

.weather-temp {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0;
}

.weather-description {
  font-size: 1.3rem;
  text-transform: capitalize;
  margin-top: 0.5rem;
  opacity: 0.9;
}

.weather-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.weather-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 0.8rem;
  backdrop-filter: blur(10px);
}

.weather-item-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.3rem;
}

.weather-item-value {
  font-size: 1.5rem;
  font-weight: 600;
}

.weather-error {
  text-align: center;
  padding: 2rem;
  color: white;
}

@media (max-width: 768px) {
  .weather-content {
    grid-template-columns: 1fr;
  }

  .weather-main {
    border-right: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-right: 0;
    padding-bottom: 2rem;
  }

  .weather-details {
    grid-template-columns: 1fr;
  }
}
/* ===== COUNTER SECTION ===== */
.counter {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #667eea;
  margin-bottom: 0.5rem;
}

/* ===== night MODE ===== */
body.night-theme {
  background-color: #0f172a;
  color: #f8fafc;
}

body.night-theme input::placeholder {
  color: #f8fafc;
}

body.night-theme textarea::placeholder {
  color: #f8fafc;
}

body.night-theme #serviceInput::placeholder {
  color: black;
}

body.night-theme .page-title {
  color: #fbbf24;
}

body.night-theme #datetime {
  color: #f8fafc;
}

body.night-theme .info-box {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #f8fafc;
}

body.night-theme .info-box h5 {
  color: #fbbf24;
}

body.night-theme .form-label {
  color: white;
}

body.night-theme .accordion-question {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #f8fafc;
}

body.night-theme .accordion-question:hover {
  background: linear-gradient(135deg, #334155 0%, #475569 100%);
}

body.night-theme .accordion-answer {
  background: #1e293b;
  color: #f8fafc;
  border-left-color: #fbbf24;
}

body.night-theme .form-control {
  background: #1e293b;
  color: #f8fafc;
  border-color: #475569;
}

body.night-theme .popup-content {
  background: #1e293b;
  color: #f8fafc;
}

body.night-theme .gallery-container h3 {
  color: #fbbf24;
}

body.night-theme .contact-form-section h3 {
  color: #fbbf24;
}

body.night-theme p {
  color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .page-title {
    font-size: 2rem;
  }

  .info-box {
    margin-bottom: 1rem;
  }

  #mainImage {
    max-width: 100%;
  }

  .theme-wrapper {
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .header {
    padding: 1rem;
  }

  .gallery-thumbs img {
    width: 70px;
    height: 70px;
  }

  #serviceForm {
    flex-direction: column;
    width: 100%;
  }

  #serviceInput {
    width: 100%;
  }

  #serviceForm button {
    width: 100%;
  }

  .popup-content {
    margin: 20% auto;
    padding: 1.5rem;
  }
}

.signupbutton {
  display: none;
  padding: 0.6rem 1.2rem;
  background: #0077ff;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.signupbutton:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px #2563eb;
}

@media (min-width: 700px) {
  .signupbutton {
    display: block;
  }
}

.online_consultation_button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.9rem 1.2rem;
  background: #10b981;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}