@charset "utf-8";

/* ===== RESET ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;

}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #fff;
}

/* ================= CONTAINER ================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

/* ===== Beginner Notes (Cross-Browser Safe) ===== */

.beginner-note {
  margin: 1.5rem 0;
  padding: 0.75rem 1rem;
  border-left: 3px solid #f37c0c;
  background-color: rgba(255, 255, 255, 0.03);

  font-size: 1rem;
  line-height: 1.6;
  box-sizing: border-box;
}

.beginner-note p {
  margin: 0.25rem 0;
}

.beginner-note strong {
  font-weight: 600;
}

/* Prevent mobile text resizing issues */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Improve font rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ================= HEADER / NAV ================= */
header {
  padding: 1rem 0;
}


nav.main-nav .dropdown {
  position: relative;
}

nav.main-nav .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 180px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  padding: 0.5rem 0;
  z-index: 9999;
}

nav.main-nav .dropdown:hover .dropdown-content {
  display: block;
}

nav.main-nav .dropdown:focus-within .dropdown-content {
  display: block;
}

nav.main-nav .dropdown-content a {
  display: block;
  padding: 0.6rem 1rem;
  color: #222;
  text-decoration: none;
  white-space: nowrap;
}

nav.main-nav .dropdown-content a:hover {
  background: #f5f5f5;

}


.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.top-nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: #333;
}

nav.main-nav {
  display: flex;
  gap: 1.5rem;
  font-weight: bold;
}

nav.main-nav a {
  text-decoration: none;
  color: #222;
  transition: color 0.3s, transform 0.2s;
}

nav.main-nav a:hover {
  color: #f37c0c;
  transform: translateY(-2px);
}

/* Dropdown */
nav.main-nav .dropdown {
  position: relative;
}

nav.main-nav .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  padding: 0.5rem 0;
  z-index: 99;
}

nav.main-nav .dropdown:hover .dropdown-content {
  display: block;
}

nav.main-nav .dropdown-content a {
  display: block;
  padding: 0.5rem 1rem;
  color: #222;
}

nav.main-nav .dropdown-content a:hover {
  background: #f9f9f9;
}


/* Accordion content, ensuring it's hidden until checked */
.accordion-content {
  padding: 0 18px;
  background-color: #f9f9f9;
  overflow: hidden;
  max-height: 0;  /* Prevent content from showing */
  transition: max-height 0.3s ease-out;
}


/* Accordion button styling */
.accordion-button {
  cursor: pointer;
  background-color: #964909;
  color: white;
  width: 100%;
  text-align: left;
  border: none;
  border-radius: 5px;
}

.accordion-button {
  padding: 12px 18px;
  font-size: 16px;
}


/* ===================== Accordion Styles ===================== */

/* General accordion container styling */
.accordion {
  background-color: #f1f1f1;  /* Light background */
  border: 1px solid #ccc;     /* Light border */
  border-radius: 5px;         /* Rounded corners */
  margin: 20px 0;             /* Space between accordion items */
}



/* Change button color on hover */
.accordion-button:hover {
   background-color: #fc7200;  /* Darker orange */

}

/* Show content when the button is clicked */
.accordion-button.active + .accordion-content {
  display: block;
  max-height: 500px; /* Optional: adjust max-height for smooth animation */
}

nav.main-nav a.active {
  color: #f37c0c;
}


.button:hover {
  background-color: #c85d00; /* Darker shade for hover effect */
}

/* Ensure content shows on click */
.accordion-button.active + .accordion-content {
  display: block;
  max-height: 500px;  /* Adjust as needed */
}



/* ================= ANCHOR LINKS INSIDE THE CONTENT SLIDE SLIGHTLY ON HOVER ================= */


a[href^="#"] {
  color: #f37c0c;
  font-weight: bold;
  position: relative;
  transition: color 0.3s, transform 0.3s;
}

a[href^="#"]:hover {
  color: #e06600;
  transform: translateX(3px);
}



/* ================= HERO ================= */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6rem 1rem;
  background: url('../images/howdoiwebsiteHeroImage.jpg') center/cover no-repeat;
  color: #fff;
}

.hero-content {
  max-width: 700px;
  text-align: left;
}

.hero-title-orange {
  font-size: 3rem;
  font-weight: bold;
  color: #f37c0c;           /* Orange title */
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.45);
}

.hero-subtitle-orange {
  font-size: 1.2rem;
  color: #f37c0c;            /* Orange subtitle */
  line-height: 1.5;
  max-width: 600px;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.45);
}

.hero .button {
  background: #f37c0c;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
}

.hero .button:hover {
  background: #e66f0a;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(243,124,12,0.8);
}

/* MOBILE */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 1rem;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-title-orange {
    font-size: 2rem;
  }

  .hero-subtitle-orange {
    font-size: 1rem;
  }
}



/* ================= PILLAR CONTENT ================= */
.pillar-section {


}
/* ================= INTRO (Homepage) ================= */
.intro {
  max-width: 700px;
  margin: 2.5rem auto;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: left;
}

.intro p {
  margin-bottom: 1rem;
}

/* ================= GUIDES ================= */
.latest-guides {
  padding: 4rem 1rem;
}

.latest-guides h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem 1rem;  /* vertical 1.5rem, horizontal 1rem */
}


/* ================= TIGHTHER CARD SPACING ================= */


.guide-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 1.2rem;
  border-radius: 6px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}

.guide-card:hover {
  transform: translateY(-6px);
  border-color: #f37c0c;
  box-shadow: 0 10px 25px rgba(243,124,12,0.35);
}

.guide-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.guide-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.guide-card a {
  color: #f37c0c;
  font-weight: bold;
  text-decoration: none;
}

.guide-card a:hover {
  color: #e66f0a;
}

/* ================= PILLAR CONTENT ================= */
.pillar-section {
  padding: 3rem 1rem;
}

.pillar-section ul {
  margin: 1rem 0 2rem 1.5rem;
}

/* ================= BUTTONS ================= */
.button-main {
  display: inline-block;
  background: #f37c0c;
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}

.button-main:hover {
  background: #e66f0a;
  transform: translateY(-2px);
}


/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid #eee;
  color: #f37c0c; /* orange text */
  font-size: 0.9rem;
  margin-top: 3rem;
  text-shadow: 0 0 5px rgba(243, 124, 12, 0.5); /* subtle orange glow */
}

footer a.back-to-top {
  display: inline-block;
  margin-top: 0.5rem;
  color: #f37c0c;
  text-decoration: none;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(243, 124, 12, 0.5); /* glow on link */
  transition: color 0.3s, transform 0.2s, text-shadow 0.3s;
}

footer a.back-to-top:hover {
  color: #e66f0a;
  transform: translateY(-2px);
  text-shadow: 0 0 10px rgba(230, 111, 10, 0.7); /* stronger glow on hover */
}


/* ================= BACK TO TOP ================= */
#back-to-top {
  position: fixed;
  bottom: 40px;
  right: 30px;
  display: none;
  background: #f37c0c;
  color: #fff;
  padding: 0.75rem 1rem;
  font-size: 1.25rem;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  z-index: 1000;
}

#back-to-top:hover {
  background: #e66f0a;
  transform: translateY(-2px);
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 1rem;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* Accordion Styling for Mobile Devices */
@media only screen and (max-width: 768px) {
  .accordion-button {
    padding: 12px; /* Slightly smaller padding for mobile */
    font-size: 14px; /* Adjust font size for readability */
  }

  /* Make sure the accordion content takes up full width */
  .accordion-content {
    padding: 10px 12px; /* Add more padding for content */
  }

  /* Adjust button text alignment */
  .accordion-button {
    text-align: center; /* Center align the text on mobile */
  }
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 768px) {
  .hero-title-orange {
    font-size: 2rem;
    text-align: center;
    padding-left: 0;
  }
}

/* Hover definitions */
.definition:hover::after {
  content: attr(data-definition);
  position: absolute;
  background: #f0f0f0;
  border: 1px solid #ccc;
  padding: 5px;
  font-size: 14px;
  width: 200px;
  z-index: 100;
  top: 20px;
  left: 0;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-title-orange span{
display:block;
}

.step-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.step-number {
  font-size: 1.3rem;
  font-weight: bold;
  color: #f37c0c;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #222;
}

.step-content p {
  margin-bottom: 1rem;
}

.video-container {
  margin-top: 1rem;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
	
	
/* ===== Video Styling ===== */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  margin: 1.5rem 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  border-radius: 8px;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}	
	
	
	
.highlight-cta {
  background-color: #fff8e1; /* soft yellow background */
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
  margin: 2rem 0;
}

.highlight-cta h2 {
  color: #f57c00; /* matches hero accent */
  margin-bottom: 0.5rem;
}

.highlight-cta p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.highlight-cta .button-main {
  padding: 0.75rem 1.5rem;
  font-size: 1.05rem;
}	
	
	
	
.video-coming-soon {
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(255,255,255,0.85);
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:1.3rem;
  font-weight:bold;
  color:#f57c00;
}	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	