/* DARK MODE BASE */
:root {
  --bg-dark: #121212;
  --bg-alt: #1f1f1f;
  --primary: #44b4f9;
  --primary-hover: #0294ed;
  --text-light: #f0f0f0;
  --text-muted: #b0b0b0;
  --card-bg: #242424;
  --border-color: #333;
  --shadow: rgba(0, 0, 0, 0.5);
  --transition: 0.3s ease;
  --font-family: 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* HEADER */
header {
  background-color: var(--bg-alt);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 10px var(--shadow);
}

.lead {
    text-align: center;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  transition: var(--transition);
}

.logo:hover {
  color: var(--primary-hover);
}

nav a {
  color: var(--text-light);
  margin: 0 0.8rem;
  text-decoration: none;
  position: relative;
  transition: var(--transition);
}

nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  left: 0;
  bottom: -4px;
  transition: width 0.3s ease-in-out;
}

nav a:hover::after,
nav a:focus::after {
  width: 100%;
}

nav a:hover,
nav a:focus {
  color: var(--primary);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(to right, #111, #1d1d1d);
  padding: 100px 20px;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  animation: slideInDown 1s ease forwards;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  animation: slideInUp 1s ease forwards;
}

button {
  background-color: var(--primary);
  color: var(--bg-dark);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover,
button:focus {
  background-color: var(--primary-hover);
  transform: scale(1.05);
  outline: none;
}

/* SECTIONS */
section {
  padding: 80px 20px;
}

.alt-bg {
  background-color: var(--bg-alt);
}

h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--primary);
  margin: 0.5rem auto 0;
  border-radius: 10px;
}

/*About*/

/* === About Section Styling === */
#about {
  background-color: #121212;
  color: #f1f1f1;
  padding: 4rem 2rem;
  animation: fadeIn 1.2s ease-in;
}

#about h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #44b4f9;
}

/* Grid Layout */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Left Column - Text */
.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s forwards;
  animation-delay: 0.4s;
}

/* Right Column - Image */
.about-image {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s forwards;
  animation-delay: 0.6s;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(2, 148, 237, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(2, 148, 237, 0.5);
}

/* === Animations === */
@keyframes fadeIn {
  from {
    opacity: 0;
    background-color: #0b0b0b;
  }
  to {
    opacity: 1;
    background-color: #121212;
  }
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Responsive === */
@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .about-text {
    font-size: 1rem;
  }

  .about-image img {
    max-width: 80%;
  }
}

/* SERVICE CARDS */
.services-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px var(--shadow);
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px var(--shadow);
}

.service-card h3 {
  color: var(--primary);
}

/*why us*/

/* === Why Choose Us Section === */
#why-choose {
  background-color: #181818;
  color: #f5f5f5;
  padding: 4rem 2rem;
  text-align: center;
}

#why-choose h2 {
  font-size: 2.5rem;
  color: #44b4f9;
  margin-bottom: 1.5rem;
}

#why-choose .lead {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: #cccccc;
}

/* Grid Layout */
.choose-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 1.2s ease-in;
}

/* Grid Items */
.choose-item {
  background: #222;
  border: 1px solid #333;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(2, 148, 237, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
  animation: slideInUp 0.8s forwards;
}

.choose-item h4 {
  font-size: 1.3rem;
  color: #44b4f9;
  margin-bottom: 0.8rem;
}

.choose-item p {
  font-size: 1rem;
  color: #cccccc;
  line-height: 1.6;
}

.choose-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 25px rgba(2, 148, 237, 0.3);
}

/* Stagger Animation */
.choose-item:nth-child(1) { animation-delay: 0.2s; }
.choose-item:nth-child(2) { animation-delay: 0.4s; }
.choose-item:nth-child(3) { animation-delay: 0.6s; }
.choose-item:nth-child(4) { animation-delay: 0.8s; }
.choose-item:nth-child(5) { animation-delay: 1s; }
.choose-item:nth-child(6) { animation-delay: 1.2s; }

/* === Animations === */
@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* === Responsive Layout === */
@media (max-width: 1024px) {
  .choose-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .choose-list {
    grid-template-columns: 1fr;
  }

  #why-choose h2 {
    font-size: 2rem;
  }

  .choose-item {
    padding: 1.5rem;
  }
}


/*Contact*/


/* === Contact Section === */
#contact {
  background-color: #101010;
  color: #f5f5f5;
  padding: 4rem 2rem;
}

#contact h2 {
  font-size: 2.5rem;
  color: #44b4f9;
  text-align: center;
  margin-bottom: 1.5rem;
}

#contact .lead {
  text-align: center;
  margin-bottom: 3rem;
  color: #cccccc;
}

/* Grid Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Contact Info Column */
.contact-info {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(2, 148, 237, 0.1);
  animation: slideLeft 1s ease-out forwards;
  opacity: 0;
  transform: translateX(-40px);
}

.contact-info h3 {
  color: #44b4f9;
  margin-bottom: 1rem;
}

.contact-info p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Appointment Form Column */
form {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(2, 148, 237, 0.1);
  animation: slideRight 1s ease-out forwards;
  opacity: 0;
  transform: translateX(40px);
}

form h3 {
  color: #44b4f9;
  margin-bottom: 1rem;
}

/* Form Inputs */
.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  color: #cccccc;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  background: #262626;
  color: #f1f1f1;
  border: 1px solid #333;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #44b4f9;
  outline: none;
  box-shadow: 0 0 5px rgba(2, 148, 237, 0.4);
}

/* Buttons */
form button {
  background: #44b4f9;
  color: #000;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

form button:hover {
  background: #00ccaa;
  transform: scale(1.02);
}

/* Confirmation Message */
.confirmation-message {
  background-color: #004d40;
  color: #d0f0e0;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 4px solid #44b4f9;
}

/* Animations */
@keyframes slideLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info,
  form {
    animation: none;
    transform: none;
    opacity: 1;
  }
}



/* PLAN CARDS */
.plan-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.plan-card {
  background-color: var(--card-bg);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.plan-card h3 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.plan-card ul {
  list-style: none;
  padding-left: 0;
}

.plan-card li {
  margin: 0.4rem 0;
}

/* TESTIMONIALS */
.testimonials-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.testimonial {
  background-color: var(--card-bg);
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  position: relative;
  box-shadow: 0 2px 10px var(--shadow);
}

.testimonial::before {
  content: '“';
  font-size: 3rem;
  color: var(--primary);
  position: absolute;
  top: -20px;
  left: 10px;
}

.author {
  margin-top: 1rem;
  font-weight: bold;
  color: var(--text-light);
}

.role {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* FOOTER */
/* === Footer === */
footer {
  background-color: #0d0d0d;
  color: #cccccc;
  padding: 3rem 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Footer Links Row */
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.footer-links a {
  color: #f5f5f5;
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer-links a:hover {
  color: #44b4f9;
  transform: translateY(-2px);
}

/* Row 2 - Copyright */
footer .footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1.5rem;
  margin-top: 2rem;
  text-align: center;
  font-weight: 400;
  color: #999;
  animation: fadeIn 1s ease-in;
}

/* Row 3 - Additional Message */
footer .footer-message {
  text-align: center;
  color: #aaa;
  margin-top: 1rem;
  font-size: 0.95rem;
  animation: fadeInUp 1s ease-in;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 600px) {
  footer .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }
}


/* Footer Styles */
footer {
  background-color: #111;
  color: #eee;
  padding: 3rem 1.5rem 2rem;
  font-family: 'Segoe UI', sans-serif;
}

footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

/* Links Section - 4 Column Grid */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.footer-links-grid a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  display: block;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links-grid a:hover {
  color: #00e6c3;
  transform: translateY(-2px);
}

/* Divider Line */
.footer-divider {
  height: 1px;
  background: #333;
  margin: 1.5rem 0;
}

/* Copyright */
.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  color: #888;
}

/* Footer Messages */
.footer-message {
  text-align: center;
  font-size: 0.95rem;
  color: #aaa;
  margin-top: 0.75rem;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .footer-message {
    font-size: 0.9rem;
  }
}


/* ANIMATIONS */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    text-align: center;
  }

  nav {
    margin-top: 1rem;
  }
}

/*************************************/

/* Modal Overlay - fullscreen semi-transparent background */
#privacy-modal.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10000;
}

/* Show modal */
#privacy-modal.modal-overlay[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

/* Modal box */
#privacy-modal .modal {
  background-color: #fff;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  border-radius: 8px;
  padding: 2rem 2.5rem 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  overflow-y: auto;
  position: relative;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Close button */
#privacy-modal .close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  font-weight: bold;
  color: #888;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
}

#privacy-modal .close-btn:hover,
#privacy-modal .close-btn:focus {
  color: #007BFF;
  outline: none;
}

/* Headings */
#privacy-modal h3 {
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
  color: #007BFF;
}

#privacy-modal h4 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 600;
}

/* Paragraphs */
#privacy-modal p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: #444;
}

/* Lists */
#privacy-modal ul {
  margin-left: 1.25rem;
  margin-bottom: 1rem;
  color: #444;
  list-style-type: disc;
  font-size: 1rem;
  line-height: 1.5;
}

#privacy-modal ul li {
  margin-bottom: 0.5rem;
}

/* Scrollbar for modal content */
#privacy-modal .modal::-webkit-scrollbar {
  width: 8px;
}

#privacy-modal .modal::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 480px) {
  #privacy-modal .modal {
    max-width: 95vw;
    padding: 1.5rem 1.5rem 2rem;
    max-height: 90vh;
  }

  #privacy-modal h3 {
    font-size: 1.5rem;
  }

  #privacy-modal h4 {
    font-size: 1.1rem;
  }

  #privacy-modal p, #privacy-modal ul {
    font-size: 0.9rem;
  }

  #privacy-modal .close-btn {
    font-size: 1.75rem;
    top: 0.75rem;
    right: 1rem;
  }
}

/**********************************/

/* Modal Overlay - fullscreen semi-transparent background */
#terms-modal.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10000;
}

/* Show modal */
#terms-modal.modal-overlay[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

/* Modal box */
#terms-modal .modal {
  background-color: #fff;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  border-radius: 8px;
  padding: 2rem 2.5rem 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  overflow-y: auto;
  position: relative;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Close button */
#terms-modal .close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  font-weight: bold;
  color: #888;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
}

#terms-modal .close-btn:hover,
#terms-modal .close-btn:focus {
  color: #007BFF;
  outline: none;
}

/* Headings */
#terms-modal h3 {
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
  color: #007BFF;
}

#terms-modal h4 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 600;
}

/* Paragraphs */
#terms-modal p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  color: #444;
}

/* Scrollbar for modal content */
#terms-modal .modal::-webkit-scrollbar {
  width: 8px;
}

#terms-modal .modal::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 480px) {
  #terms-modal .modal {
    max-width: 95vw;
    padding: 1.5rem 1.5rem 2rem;
    max-height: 90vh;
  }

  #terms-modal h3 {
    font-size: 1.5rem;
  }

  #terms-modal h4 {
    font-size: 1.1rem;
  }

  #terms-modal p {
    font-size: 0.9rem;
  }

  #terms-modal .close-btn {
    font-size: 1.75rem;
    top: 0.75rem;
    right: 1rem;
  }
}

/*****************************************/
/* Modal Overlay - full screen dim background */
#newsletter-modal.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10000;
}

/* Show modal */
#newsletter-modal.modal-overlay[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

/* Modal content box */
#newsletter-modal .modal {
  background-color: #000;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  border-radius: 10px;
  padding: 2rem 2.5rem 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  overflow-y: auto;
  position: relative;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Close button */
#newsletter-modal .close-btn {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
}

#newsletter-modal .close-btn:hover,
#newsletter-modal .close-btn:focus {
  color: #007BFF;
  outline: none;
}

/* Modal heading */
#newsletter-modal h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #007BFF;
  text-align: center;
}

/* Confirmation message */
#newsletter-modal .confirmation-message {
  background-color: #000;
  border: 1px solid #91d5ff;
  color: #0050b3;
  padding: 1rem;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
}

/* Form styling */
#newsletter-modal form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Form group */
#newsletter-modal .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

/* Labels */
#newsletter-modal label {
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
}

/* Inputs and checkbox styling */
#newsletter-modal input[type="text"],
#newsletter-modal input[type="email"],
#newsletter-modal input[type="date"] {
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  border: 1.8px solid #ccc;
  border-radius: 6px;
  transition: border-color 0.2s ease;
  font-family: inherit;
  color: #fff;
}

#newsletter-modal input[type="text"]:focus,
#newsletter-modal input[type="email"]:focus,
#newsletter-modal input[type="date"]:focus {
  border-color: #007BFF;
  outline: none;
}

/* Checkbox label inline styling */
#newsletter-modal .form-group input[type="checkbox"] {
  margin-right: 0.5rem;
  transform: scale(1.1);
  cursor: pointer;
}

/* Checkbox label text */
#newsletter-modal .form-group label > input[type="checkbox"] + * {
  cursor: pointer;
}

/* Submit button */
#newsletter-modal button[type="submit"] {
  background-color: #007BFF;
  color: #fff;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 0.5rem;
}

#newsletter-modal button[type="submit"]:hover,
#newsletter-modal button[type="submit"]:focus {
  background-color: #0056b3;
  outline: none;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  #newsletter-modal .modal {
    max-width: 95vw;
    padding: 1.5rem 1.5rem 2rem;
  }

  #newsletter-modal h3 {
    font-size: 1.5rem;
  }

  #newsletter-modal label,
  #newsletter-modal input,
  #newsletter-modal button {
    font-size: 0.95rem;
  }

  #newsletter-modal .close-btn {
    font-size: 1.75rem;
    top: 0.75rem;
    right: 1rem;
  }
}



