/* ===== VARIABLES ===== */
:root {
  --primary: #101927;
  --accent: #f9de1e;
  --text: #1a1a1a;
  --bg: #ffffff;
  --light-grey: #f8f9fa;
  --border-grey: #e0e0e0;
  --transition: all 0.3s ease;
}

/* ===== RESET ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  transition: var(--transition);
  color: var(--primary);
}

a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== HEADER ===== */
header {
  background: var(--bg);
  border-bottom: 1px solid var(--border-grey);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary);
}

.logo-mark {
  width: 50px;
}

/* ===== NAVIGATION ===== */
nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

nav a {
  color: var(--text);
  font-weight: 500;
}

nav a.active,
nav a.submenu-active {
  color: var(--primary);
  font-weight: 600;
}

nav a:hover {
  color: var(--primary);
}

/* ===== SUBMENU ===== */
nav ul li.has-submenu {
  position: relative;
}

nav ul li.has-submenu .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border-grey);
  border-radius: 8px;
  list-style: none;
  padding: 0.5rem 0;
  display: none;
  min-width: 180px;
  z-index: 10;
}

nav ul li.has-submenu:hover .submenu {
  display: block;
}

nav ul li.has-submenu .submenu li a {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  font-weight: 500;
}

nav ul li.has-submenu .submenu li a:hover {
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, #007bff 60%);
  color: #fff;
  padding: 120px 20px 80px;
}

.hero.smaller {
  padding: 100px 20px 60px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 25px;
}

.btn {
    align-self: flex-start;
    background: var(--accent);
    color: #000;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
  background: #fff;
}

/* ===== PERSONAL NOTE ===== */
.personal-note {
  background: var(--light-grey);
  text-align: center;
  color: var(--text);
  padding: 80px 20px;
}

.personal-note .container {
  max-width: 800px;
  margin: 0 auto;
}

.personal-note h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.personal-note p {
  margin: 15px 0;
  line-height: 1.6;
  font-size: 1.05rem;
}

/* Experience Section */
.experience-section {
  background-color: white;       /* subtle light background */
  padding: 5rem 2rem;              /* generous vertical and horizontal spacing */
}

.experience-section .container {
  max-width: 900px;                 /* improves readability on wide screens */
  margin: 0 auto;
}

.experience-section h2 {
  font-size: 2rem;                  /* strong, readable heading */
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

.experience-section p {
  font-size: 1.05rem;
  line-height: 1.7;                 /* comfortable line height for long text */
  color: #333333;
  margin-bottom: 1.5rem;
}

.experience-section strong {
  color: #111111;                   /* subtle emphasis */
}

/* Experience Block */

.experience-block {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px 25px;
  margin-bottom: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.experience-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Headings */
.experience-block h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.experience-block h3 {
  font-size: 1.4rem;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #333333;
}

/* Paragraphs */
.experience-block p {
  font-size: 1rem;
  line-height: 1.65;
  color: #555555;
  margin-bottom: 15px;
}

/* Lists */
.experience-block ul {
  margin: 10px 0 15px 20px;
  padding: 0;
  list-style-type: disc;
  color: #555555;
}

.experience-block ul li {
  margin-bottom: 8px;
}

/* ===== SERVICES ===== */
.services {
  background: #fff;
  color: var(--text);
  padding: 80px 20px;
}

.services h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary);
  font-size: 2rem;
}

.section-cards {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  max-width: 1000px;
  margin: 0 auto;
}

.card {
  background: #fdfdfd;
  border: 1px solid var(--border-grey);
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.card h4 {
  color: #555;
  margin-bottom: 1rem;
  font-weight: 500;
}

/* ===== CONSULTING PAGE ===== */
.consulting {
  background: var(--light-grey);
  padding: 80px 20px;
}

.consulting-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.consulting-header h1 {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.consulting-content {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.consulting-card {
  background: #fff;
  border: 1px solid var(--border-grey);
  border-radius: 12px;
  flex: 1 1 420px;
  max-width: 500px;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.consulting-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.consulting-card h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.consulting-card p {
  margin-bottom: 0.75rem;
  color: #444;
  line-height: 1.6;
}

/* ===== ABOUT PAGE (ADDED) ===== */
.about {
  background: var(--bg);
  padding: 80px 20px;
  color: var(--text);
}

.about .container {
  max-width: 900px;
  margin: 0 auto;
}

.about h1 {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  text-align: left;
}

.about p {
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: #333;
  text-align: left;
}

/* About intro (optional centered small intro) */
.about-intro {
  max-width: 800px;
  margin: 0 auto 30px;
  text-align: center;
  color: #444;
}

/* Services grid inside About (if you use it) */
.about .service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.about .service {
  background: #fff;
  border: 1px solid var(--border-grey);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.04);
}

.about .service h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.about .service p {
  color: #444;
  font-size: 0.98rem;
  line-height: 1.5;
}

/* A small call-to-action line in about */
.about .cta {
  margin-top: 24px;
  text-align: left;
}

/* ===== CONTACT PAGE ===== */
.contact {
  background: var(--light-grey);
  padding: 80px 20px;
  color: var(--text);
}

.contact .container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #333;
}

/* ===== CONTACT FORM STATUS MESSAGES ===== */
.contact .form-status {
  display: block;
  margin-top: 1rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 6px;
  text-align: left;
  max-width: 100%;
  transition: all 0.3s ease;
}

.contact .form-status.success {
  background: #e6f7e9;
  color: #0a662e;
  border: 1px solid #b6e2c2;
}

.contact .form-status.error {
  background: #fdeaea;
  color: #b80000;
  border: 1px solid #f5b5b5;
}


.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.contact-form label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 1px solid var(--border-grey);
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 5px rgba(0, 87, 184, 0.3);
}

.contact-form button {
  align-self: flex-start;
  background: var(--accent);
  color: #000;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.contact-form button:hover {
  background: #e6b800;
}
/* ===== CONTACT FORM STATUS MESSAGES ===== */
.contact .form-status.success {
    background: #e6f7e9 !important;
    color: #0a662e !important;
    border: 1px solid #b6e2c2 !important;
}

.contact .form-status.error {
    background: #fdeaea !important;
    color: #b80000 !important;
    border: 1px solid #f5b5b5 !important;
}

/* ---------- Under Construction ---------- */
.under-construction {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70vh;
  background: linear-gradient(135deg, #f5f7fa, #e4e7eb);
  color: #333;
  padding: 60px 20px;
}

.under-construction h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #222;
}

.under-construction p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.btn {
    align-self: flex-start;
    background: var(--accent);
    color: #000;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
  background: #fff;
}

/* ===== MOBILE NAVIGATION ===== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--primary);
}

/* ===== CONTENT SECTION (RELAXED THEME) ===== */

.content-hero {
  background: linear-gradient(135deg, #000000, #a6edb3);
}

.content-intro {
  background: #f6f7f9;
}

/* Content grid */
.content-grid {
  background: #f6f7f9;
  padding: 80px 20px;
}

.content-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Content card */
.content-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  border: 1px solid var(--border-grey);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: inherit;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.content-card h3 {
  margin-bottom: 12px;
  color: var(--primary);
}

.content-card p {
  color: #555;
  line-height: 1.6;
}

/* Placeholder cards */
.content-card.placeholder {
  opacity: 0.6;
  cursor: default;
}

/* ===== JOB SEEKERS CONTENT STYLE ===== */

.job-seekers-hero {
  background: linear-gradient(135deg, #34495e, #5d768a);
}

/* Main reading area */
.job-seekers-content {
  background: #ffffff;
  padding: 90px 20px;
}

.job-seekers-content .container {
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #2f2f2f;
}

/* Paragraph rhythm */
.job-seekers-content p {
  margin-bottom: 26px;
}

/* Subtle section separation */
.job-seekers-content h2 {
  margin-top: 60px;
  margin-bottom: 20px;
  font-size: 1.6rem;
  color: var(--primary);
}

/* Call-to-action area */
.job-seekers-cta {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid #e2e4e8;
}

/* Ebook button – softer emphasis */
.job-seekers-cta .btn {
  background: linear-gradient(#ffffff, #a6edb3);
}

.job-seekers-cta .btn:hover {
  background: #3e5a6d;
}

/* ===== CONTENT ARTICLE BASE ===== */

.content-article {
  background: #ffffff;
  padding: 90px 20px;
}

.content-article .container {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #2f2f2f;
}

.content-article h2 {
  margin-top: 60px;
  margin-bottom: 20px;
  font-size: 1.7rem;
  color: var(--primary);
}

.content-article h3 {
  margin-top: 45px;
  margin-bottom: 14px;
  font-size: 1.3rem;
  color: #34495e;
}

.content-article p {
  margin-bottom: 26px;
}

.content-article ul {
  margin: 20px 0 30px 20px;
}

.content-article li {
  margin-bottom: 10px;
}

.content-article blockquote {
  margin: 40px 0;
  padding: 20px 24px;
  background: #f6f8fa;
  border-left: 4px solid var(--primary);
  font-style: italic;
  color: #444;
}

.content-article-cta {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e2e4e8;
  text-align: center;
}

.content-article-cta .btn {
      background: #5b8262;
    color: white;
}

.content-article-cta .btn:hover {
  background: #3e5a6d;
}

/* ===== RELAXED CONTENT MODE ===== */

body.content-mode {
  background-color: #f9fafb;
}

body.content-mode .hero {
  background: linear-gradient(135deg, #34495e, #5d768a);
}

.newsletter {
  background: #d9d9d9;
  padding: 60px 0;
  text-align: center;
}

.newsletter h2 {
  margin-bottom: 10px;
}

.newsletter p {
  max-width: 600px;
  margin: 0 auto 20px;
  padding-top: 20px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  padding: 12px;
  min-width: 260px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.newsletter-form label {
  padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.newsletter-note {
  font-size: 0.9em;
  color: #666;
  margin-top: 10px;
}

.newsletter-success {
  background: #e6f4ea;
  color: #0f5132;
  border: 1px solid #badbcc;
  padding: 12px 20px;
  border-radius: 4px;
  margin: 20px auto;
  max-width: 600px;
  text-align: center;
  font-weight: 500;
}

.newsletter-error {
  background: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
  padding: 12px 20px;
  border-radius: 4px;
  margin: 20px auto;
  max-width: 600px;
  text-align: center;
  font-weight: 500;
}


/* Optional: small fade-in animation */
.newsletter-success,
.newsletter-error {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== FOOTER ===== */
footer {
  background: var(--light-grey);
  text-align: center;
  padding: 2rem;
  color: #666;
  border-top: 1px solid var(--border-grey);
  font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .consulting-content {
    flex-direction: column;
    align-items: center;
  }

  .consulting-card {
    width: 100%;
    max-width: 600px;
  }

  .experience-section {
    padding: 3rem 1.5rem;
  }

  .experience-section h2 {
    font-size: 1.6rem;
  }

  .experience-section p {
    font-size: 1rem;
  }



 
  .nav-toggle {
    display: block;
  }

 nav {
      position: fixed;
    inset: 0;
    z-index: 200;

    /* NEW */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(8px);

    padding-top: 100px;
    display: none;
    overflow-y: auto;
    transition: opacity 0.25s ease, transform 0.25s ease;
    opacity: 0;
    transform: translateY(-10px);
  }

  nav.open {
    display: block;
    opacity: 1;
    transform: translateY(0);
  }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

  header {
    position: sticky;
    z-index: 300;
  }
  nav ul {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 1rem;
    border-top: 1px solid var(--border-grey);
  }

  nav ul li {
    width: 100%;
    text-align: center;
  }

  nav.open ul {
    display: flex;
  }

  nav ul li a {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.2px;
  }

  nav ul li.has-submenu > a::after {
    content: "▾";
    margin-left: 8px;
    font-size: 0.9rem;
  }

  /* Submenu inside mobile */
  nav ul li.has-submenu .submenu {
    position: static;
    border: none;
    box-shadow: none;
   /* display: none;*/
  }

  nav ul li.has-submenu.open .submenu {
    display: block;
  }

/* Disable hover behavior on mobile */
  nav ul li.has-submenu:hover .submenu {
    display: none;
  }


  .hero h1 {
    font-size: 2.2rem;
  }

  .section-cards {
    grid-template-columns: 1fr;
  }

  /* About responsive */
  .about h1 {
    font-size: 1.9rem;
  }

  .about .service-list {
    grid-template-columns: 1fr;
  }

  .content-cards {
    grid-template-columns: 1fr;
  }

 .job-seekers-content {
    padding: 70px 16px;
  }
  .content-article {
    padding: 70px 16px;
  }

  .content-article .container {
    font-size: 1rem;
  }

}