/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /*max-width: 100vw;*/
  /*overflow-x: hidden;*/
  /*overflow: hidden;*/
}
html {
  scroll-behavior: smooth;
}
.logo {
  width: 120px;
}
body{
    max-width: 100vw;
    
}
p {
  word-spacing: 0;
}

/* ===== NAVBAR STYLES ===== */
.navbar {
  position: fixed;
  top: 0;
  /*width: 100%;*/
  background-color: #0d0d0d;
  color: #f5c518;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  width: 100vw;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #f5c518;
}

.nav-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
}

#theme-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #f5c518;
  cursor: pointer;
}

/* Hamburger & Close Icons */
.hamburger,
.close {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
}
#close {
  display: none;
}

/* ===== Mobile Nav ===== */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    width: 220px;
    height: calc(100vh - 60px);
    background-color: #0d0d0d;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 20px;
    gap: 18px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .hamburger {
    display: block;
  }
  #close {
    display: block;
    position: absolute;
    top: 5px;
    font-size: 1.4rem;
  }

  .close {
    /* display: block; */
    /* position: absolute;
    top: 75px;
    left: 20px;
    font-size: 1.4rem; */
  }
}

body.light-theme {
  background-color: #f9f9f9;
  color: #111;
}

body.light-theme .navbar {
  background-color: #fff;
  color: #111;
}

body.light-theme .nav-links a {
  color: #333;
}

body.light-theme .nav-links a:hover {
  color: #111;
}

body {
  font-family: "Roboto", sans-serif;
  color: #f5f5f5;
  background-color: #0d0d0d;
  line-height: 1.6;
  max-width: 100vw;
  
}
#myths,
#benefits,
#requirements,
#join,
#contact,
#footer,
#about,
#history,
#vision,
#values {
  max-width: 100vw;
  overflow-x: hidden;
  overflow: hidden;
}

header {
  background: linear-gradient(to bottom, #1a1a1a, #000);
  padding: 40px 20px;
  text-align: center;
  position: relative;
  
}
.header-1 {
  margin-top: 100px;
}

header h1 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  color: #f5c518;
}

header p {
  margin-top: 10px;
  font-size: 1.2rem;
  color: #ccc;
}
.section-start {
  margin-top: 100px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #111;
  padding: 10px 0;
}

nav a {
  margin: 5px 15px;
  color: #f5f5f5;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #f5c518;
}

.hero {
  padding: 60px 20px;
  text-align: center;
  background: url("/hero.jpg") no-repeat center center/cover;
  position: relative;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* object-fit: cover; */
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  height: 100vh;
  width: 100%;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.7); */
  z-index: 0;
}

.hero h2,
.hero p,
.cta-button {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 2.5rem;
  color: #f5c518;
}

.hero p {
  margin-top: 15px;
  font-size: 1.1rem;
  color: #ddd;
}

.cta-button {
  margin-top: 30px;
  padding: 12px 25px;
  font-size: 1rem;
  background-color: #f5c518;
  color: #000;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background-color: #e0b400;
}

/* Symbol Hover Effect */
.symbol-hover {
  width: 100px;
  margin: 30px auto;
  transition: transform 0.5s ease, filter 0.5s ease;
  display: block;
}

.symbol-hover:hover {
  transform: scale(1.2) rotate(10deg);
  filter: brightness(1.3) drop-shadow(0 0 10px #f5c518);
}

footer {
  padding: 20px;
  text-align: center;
  background-color: #111;
  color: #777;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  nav a {
    margin: 8px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .cta-button {
    width: fit-content;
    font-size: 0.95rem;
  }

  .hero {
    padding: 40px 10px;
  }
}

/* Section: Who We Are */
section#about {
  background-color: #111;
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

section#about h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: #f5c518;
  margin-bottom: 20px;
}

section#about p {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 1.05rem;
  color: #ccc;
  line-height: 1.8;
  padding: 0 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  section#about h2 {
    font-size: 1.8rem;
  }

  section#about p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  section#about h2 {
    font-size: 1.5rem;
  }

  section#about p {
    font-size: 0.95rem;
  }
}

/* Section: History in Brief */
section#history {
  background-color: #0d0d0d;
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

section#history h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: #f5c518;
  margin-bottom: 20px;
}

section#history p {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 1.05rem;
  color: #ccc;
  line-height: 1.8;
  padding: 0 10px;
}

section#history a {
  color: #f5c518;
  text-decoration: underline;
}

section#history a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  section#history h2 {
    font-size: 1.8rem;
  }

  section#history p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  section#history h2 {
    font-size: 1.5rem;
  }

  section#history p {
    font-size: 0.95rem;
  }
}

/* Section: Our Purpose & Vision */
section#vision {
  background-color: #0d0d0d;
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

section#vision h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: #f5c518;
  margin-bottom: 20px;
}

section#vision p {
  max-width: 850px;
  margin: 0 auto 20px;
  font-size: 1.05rem;
  color: #ccc;
  line-height: 1.8;
  padding: 0 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  section#vision h2 {
    font-size: 1.8rem;
  }

  section#vision p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  section#vision h2 {
    font-size: 1.5rem;
  }

  section#vision p {
    font-size: 0.95rem;
  }
}
/* Section: Core Values */
section#values {
  background-color: #111;
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

section#values h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: #f5c518;
  margin-bottom: 20px;
}

section#values p {
  max-width: 850px;
  margin: 0 auto 20px;
  font-size: 1.05rem;
  color: #ccc;
  line-height: 1.8;
  padding: 0 10px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  padding: 0 10px;
}

.value-box {
  background-color: #1a1a1a;
  border: 1px solid #333;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-box h3 {
  font-size: 1.3rem;
  color: #f5c518;
  margin-bottom: 10px;
}

.value-box p {
  font-size: 0.95rem;
  color: #ddd;
  line-height: 1.6;
}

.value-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px rgba(245, 197, 24, 0.3);
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  section#values h2 {
    font-size: 1.8rem;
  }

  .value-box h3 {
    font-size: 1.15rem;
  }
}

@media (max-width: 480px) {
  section#values h2 {
    font-size: 1.5rem;
  }

  section#values p,
  .value-box p {
    font-size: 0.95rem;
  }
}

/* Section: Myths and Misconceptions */
section#myths {
  background-color: #0d0d0d;
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

section#myths h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: #f5c518;
  margin-bottom: 20px;
}

section#myths p {
  max-width: 850px;
  margin: 0 auto 20px;
  font-size: 1.05rem;
  color: #ccc;
  line-height: 1.8;
  padding: 0 10px;
}

.myths-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
  padding: 0 10px;
}

.myth-item {
  background-color: #1a1a1a;
  border: 1px solid #333;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.myth-item h3 {
  font-size: 1.2rem;
  color: #f05c5c;
  margin-bottom: 10px;
}

.myth-item p {
  font-size: 0.95rem;
  color: #ddd;
  line-height: 1.6;
}

.myth-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.25);
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  section#myths h2 {
    font-size: 1.8rem;
  }

  .myth-item h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  section#myths h2 {
    font-size: 1.5rem;
  }

  .myth-item p {
    font-size: 0.95rem;
  }
}
/* Section: Why Join Freemasonry */
section#benefits {
  background-color: #111;
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

section#benefits h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: #f5c518;
  margin-bottom: 20px;
}

section#benefits p {
  max-width: 850px;
  margin: 0 auto 20px;
  font-size: 1.05rem;
  color: #ccc;
  line-height: 1.8;
  padding: 0 10px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
  padding: 0 10px;
}

.benefit-box {
  background-color: #1a1a1a;
  border: 1px solid #333;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-box h3 {
  font-size: 1.2rem;
  color: #f5c518;
  margin-bottom: 10px;
}

.benefit-box p {
  font-size: 0.95rem;
  color: #ddd;
  line-height: 1.6;
}

.benefit-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px rgba(245, 197, 24, 0.25);
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  section#benefits h2 {
    font-size: 1.8rem;
  }

  .benefit-box h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  section#benefits h2 {
    font-size: 1.5rem;
  }

  .benefit-box p {
    font-size: 0.95rem;
  }
}

/* Section: How to Join Freemasonry */
section#join {
  background-color: #0d0d0d;
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

section#join h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: #f5c518;
  margin-bottom: 20px;
}

section#join p {
  max-width: 850px;
  margin: 0 auto 20px;
  font-size: 1.05rem;
  color: #ccc;
  line-height: 1.8;
  padding: 0 10px;
}

.join-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
  padding: 0 10px;
}

.join-step {
  background-color: #1a1a1a;
  border: 1px solid #333;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.join-step h3 {
  font-size: 1.2rem;
  color: #f5c518;
  margin-bottom: 10px;
}

.join-step p {
  font-size: 0.95rem;
  color: #ddd;
  line-height: 1.6;
}

.join-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px rgba(245, 197, 24, 0.25);
}

section#join a {
  color: #f5c518;
  text-decoration: underline;
}

section#join a:hover {
  color: #fff;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  section#join h2 {
    font-size: 1.8rem;
  }

  .join-step h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  section#join h2 {
    font-size: 1.5rem;
  }

  .join-step p {
    font-size: 0.95rem;
  }
}

/* Section: Requirements to Join Freemasonry */
section#requirements {
  background-color: #111;
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

section#requirements h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: #f5c518;
  margin-bottom: 20px;
}

section#requirements p {
  max-width: 850px;
  margin: 0 auto 20px;
  font-size: 1.05rem;
  color: #ccc;
  line-height: 1.8;
  padding: 0 10px;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
  padding: 0 10px;
}

.requirement-box {
  background-color: #1a1a1a;
  border: 1px solid #333;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.requirement-box h3 {
  font-size: 1.2rem;
  color: #f5c518;
  margin-bottom: 10px;
}

.requirement-box p {
  font-size: 0.95rem;
  color: #ddd;
  line-height: 1.6;
}

.requirement-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px rgba(245, 197, 24, 0.25);
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  section#requirements h2 {
    font-size: 1.8rem;
  }

  .requirement-box h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  section#requirements h2 {
    font-size: 1.5rem;
  }

  .requirement-box p {
    font-size: 0.95rem;
  }
}

/* Section: Contact & Application */
section#contact {
  background-color: #0d0d0d;
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid #222;
}

section#contact h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: #f5c518;
  margin-bottom: 20px;
}

section#contact p {
  max-width: 850px;
  margin: 0 auto 20px;
  font-size: 1.05rem;
  color: #ccc;
  line-height: 1.8;
  padding: 0 10px;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #333;
  box-shadow: 0 0 10px rgba(245, 197, 24, 0.1);
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  color: #f5c518;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #444;
  border-radius: 6px;
  background-color: #0f0f0f;
  color: #eee;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f5c518;
  background-color: #131313;
}

.cta-button {
  background-color: #f5c518;
  color: #111;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 10px;
}

.cta-button:hover {
  background-color: #ffe163;
  color: #000;
}

/* Responsive Tweaks */
@media (max-width: 600px) {
  .contact-form {
    padding: 20px;
  }

  .cta-button {
    width: fit-content;
  }
}

/* Section: Contact & Application Form Styling */
section#contact {
  background-color: #0d0d0d;
  padding: 60px 20px;
  text-align: center;
  border-top: 1px solid #222;
}

section#contact h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: #f5c518;
  margin-bottom: 20px;
}

section#contact p {
  max-width: 850px;
  margin: 0 auto 20px;
  font-size: 1.05rem;
  color: #ccc;
  line-height: 1.8;
  padding: 0 10px;
}

.application-form {
  max-width: 800px;
  margin: 0 auto;
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #333;
  box-shadow: 0 0 10px rgba(245, 197, 24, 0.1);
  text-align: left;
}

.application-form h3 {
  font-size: 1.3rem;
  color: #f5c518;
  margin-top: 30px;
  margin-bottom: 15px;
  border-bottom: 1px solid #333;
  padding-bottom: 5px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  color: #f5c518;
  margin-bottom: 6px;
  line-height: 1.5;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  background-color: #0f0f0f;
  color: #eee;
  border: 1px solid #444;
  border-radius: 6px;
  resize: vertical;
  transition: border 0.3s, background 0.3s;
}

.form-group input[type="file"] {
  background-color: #0f0f0f;
  color: #ccc;
  padding: 8px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f5c518;
  background-color: #131313;
}

.cta-button {
  background-color: #f5c518;
  color: #111;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  margin-top: 10px;
  display: block;
  width: fit-content%;
}

.cta-button:hover {
  background-color: #ffe163;
  color: #000;
}

/* Checkbox */
.form-group input[type="checkbox"] {
  margin-right: 8px;
  transform: scale(1.2);
  vertical-align: middle;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  .application-form {
    padding: 20px;
  }

  .cta-button {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  section#contact h2 {
    font-size: 1.7rem;
  }

  .application-form h3 {
    font-size: 1.1rem;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 0.95rem;
  }
}

/* Footer Styling */
footer {
  background-color: #0d0d0d;
  color: #ccc;
  padding: 40px 20px 20px;
  text-align: center;
  border-top: 1px solid #222;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-logo h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  color: #f5c518;
  margin-bottom: 10px;
}

.footer-logo p {
  font-style: italic;
  font-size: 1rem;
  color: #aaa;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #f5c518;
  text-decoration: underline;
}

.footer-contact p {
  margin: 6px 0;
  font-size: 0.9rem;
  color: #bbb;
}

.footer-bottom {
  margin-top: 30px;
  font-size: 0.85rem;
  color: #777;
  border-top: 1px solid #222;
  padding-top: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-content {
    align-items: center;
    text-align: center;
    gap: 30px;
  }
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 10px;
}

.footer-social a {
  color: #f5c518;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #ffffff;
}
a {
  color: rgb(11, 97, 27);
}
