/* Hero Section */
.hero-section {
  position: relative;
  color: white;
  text-align: center;
  padding: 6rem 2rem;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.hero-section h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px #8a2be2, 0 0 20px #8a2be2, 0 0 30px #0000ff,
    0 0 40px #0000ff;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #1e90ff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #0056b3;
}

.cta-button:hover {
  background: #0056b3;
}

/* Services Section */
.services-section {
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.849);
  text-align: center;
  margin: 60px 0px;
}

.services-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2rem;
  background: #f4f4f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

/* Classes Section */
.classes-section1 {
  padding: 4rem 2rem;
  background: #05386bec;
  color: white;
  text-align: center;
  margin: 60px 0px;
}

.classes-section1 h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.classes-section1 p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* About Section */
.about-section {
  padding: 4rem 2rem;
  background: #f9f9f9;
  text-align: center;
  margin: 60px 0px;
}

.about-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-section p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  padding: 0 2rem;
}

.about-section img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: #00004b 2px solid;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.about-section img:hover {
  transform: scale(1.1);
}
/* Contact Section */
.contact-section {
  position: relative;
  padding: 4rem 2rem;
  background: url("./images/Elgies/vecteezy_modern-cybersecurity-eye-on-technology-background_21253056.jpg")
    no-repeat center center;
  background-size: cover;
  color: white;
  text-align: center;
  margin: 60px 0px;
  overflow: hidden; /* Ensures ::before overlay fits the section */
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
  pointer-events: none; /* Ensures it doesn’t interfere with interactions */
}

.contact-section h2,
.contact-form {
  position: relative;
  z-index: 2; /* Keeps content above the overlay */
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #000000;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 5px;
}

.contact-form button {
  padding: 0.75rem 1.5rem;
  background: #1e90ff;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #0056b3;
}

/* Services Page */
.services-section1 {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  text-align: center;
}

.services-section1 h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #1e90ff;
}

.services-section1 p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #333;
}

.services-section1 h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  color: #000;
}

.services-section1 ul {
  list-style: none;
  padding: 0;
  text-align: left;
  margin: 1rem 0;
}

.services-section1 ul li {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.services-section1 ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #1e90ff;
  font-weight: bold;
}

.services-section1 a {
  text-decoration: none;
  color: #1e90ff;
  font-weight: bold;
  transition: color 0.3s;
}

.services-section1 a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Call to Action Button */
.cta-button1 {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: #1e90ff;
  color: white !important;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.cta-button1:hover {
  background: #0056b3;
  color: white !important;
}

/* // Classes Page */
.classes-page {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  text-align: center;
}

#calendar {
  margin-top: 2rem;
  background: white;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* // About Page // */

.about-section1 {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  text-align: center;
}

.about-section1 h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #1e90ff;
}

.about-section1 p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #333;
}

/* Matt's Profile Image */

.about-image1 {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.about-image1 img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

.about-image1 img:hover {
  transform: scale(1.1);
}

/* contact page //  */
/* Contact Section */
.contact-section {
  max-width: 700px;
  margin: 3rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Form Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

/* Labels */
.contact-form label {
  font-size: 1.1rem;
  font-weight: bold;
  color: #f4f4f9;
}

/* Input Fields */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-top: 0.5rem;
  border: 2px solid #1e90ff;
  border-radius: 5px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease-in-out;
}

/* Input Hover and Focus */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0056b3;
}

/* Textarea Styling */
.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* Submit Button */
.contact-form button {
  background: #1e90ff;
  color: white;
  font-size: 1.1rem;
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease-in-out;
}

.contact-form button:hover {
  background: #0056b3;
}

/* Class Announcement */

.class-announcement {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.class-announcement h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #1e90ff;
}

.class-announcement p {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  color: #333;
  line-height: 1.6;
}

.class-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  text-align: left;
}

.class-list li {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
}

.class-list li::before {
  content: \"🖥️\";
  position: absolute;
  left: 0;
}

/* Waitlist Button */
.waitlist-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background-color: #1e90ff;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease-in-out;
}

.waitlist-button:hover {
  background-color: #0056b3;
}
