
	/* main.css */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    color: #333; /* Gray for text */
    background: linear-gradient(135deg, #002244, #007acc); /* Blue gradient background */
    min-height: 100vh;
    line-height: 1.6;
}

/* Base container */
.button-container {
    text-align: center;
    margin-top: 2em;
}

/* Default blue button */
.button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background-color: #2196f3; /* Blue */
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

/* Hover state turns green with glow */
.button:hover {
  background-color: #6fdc6f; /* Green */
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(40, 167, 69, 0.7); /* green glow */
}

/* Optional: active (pressed) state */
.button:active {
  transform: translateY(0);
  box-shadow: 0 0 6px rgba(40, 167, 69, 0.5);
}



nav.main-nav ul.actions {
  display: flex !important;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

nav.main-nav ul.actions li {
  display: inline-block;
}

nav.main-nav ul.actions li a {
  display: inline-block;
}

/* Hamburger container */
.hamburger {
  width: 30px;
  height: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

/* Hamburger bars */
.hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  background: #2196f3; /* blue bars */
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animate into X when active */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(9px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-9px);
}


/* Menu base styles */
/* Always show the burger icon */
.menu-toggle {
  font-size: 2rem;
  text-align: center;
  cursor: pointer;
  display: block;
  margin-top: 1rem;
}

.menu-list {
  display: none;
  flex-direction: column;        /* stack vertically */
  align-items: center;           /* center horizontally */
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  gap: 0.5rem;
}

.menu-list.active {
  display: flex;
}

.menu-list li {
  width: 100%;
  text-align: center;
}

.menu-list li a {
  display: block;
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  background-color: #007acc;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.menu-list li a:hover {
  background-color: #005a99;
  transform: scale(1.05);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}


.menu-list.open {
  display: flex;
}


/* Style the default button */
.animated-button {
    display: inline-block;
    padding: 1em 2.5em;
    font-size: 1.1em;
    border-radius: 8px;
    background-color: #1f8edc;  /* Default blue */
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Hover state: turn green */
.animated-button:hover {
    background-color: #28a745;  /* Success green */
    color: #fff;
    transform: scale(1.07);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
}

/* Optional subtle pulsing animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.animated-button {
    animation: pulse 3s infinite;
}

.logo-img {
  max-height: 20vh;
  height: 150px;
  width: 500px;
}

.center-text {
  text-align: center;
}

/* Menu base styles */
/* Always show the burger icon */
.menu-toggle {
  font-size: 2rem;
  text-align: center;
  cursor: pointer;
  display: block;
  margin-top: 1rem;
}

.menu-list {
  display: none;
  flex-direction: column;        /* stack vertically */
  align-items: center;           /* center horizontally */
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
  gap: 0.5rem;
}

.menu-list li {
  width: 100%;
  text-align: center;
}

.menu-list li a {
  display: block;
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  background-color: #007acc;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.menu-list li a:hover {
  background-color: #005a99;
  transform: scale(1.05);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}


/* Header */
#header {
    text-align: center;
    padding: 2rem;
    background: #004d73; /* Dark Blue */
    color: #fff;
}

#header img {
    max-width: 50%;
    height: auto;
    margin-bottom: 2rem;
}

#header .content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

#header .actions .button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #007acc; /* Bright Blue */
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

#header .actions .button:hover {
    background: #005a99; /* Slightly darker blue */
}

header.major {
    text-align: center;
}

/* Section Styling */
section {
    padding: 2rem 1rem;
    margin: 1rem auto;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

section h3 {
    font-size: 1.7rem;
    color: #004d73; /* Dark Blue */
    margin-bottom: 1rem;
}

section h1 {
    font-size: 1.5rem;
    color: #004d73; /* Dark Blue */
    margin-bottom: 1rem;
}

section p {
    font-size: 1rem;
    color: #333; /* Gray for text */
    margin-bottom: 1rem;
}

section ul {
    list-style-type: square;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

section ul li {
    color: #005a99; /* Blue for list items */
    margin-bottom: 0.5rem;
}

/* Spotlight Sections */
.spotlight {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.spotlight .image {
    flex: 1 1 40%;
    text-align: center;
}

.spotlight .image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.spotlight .content {
    flex: 1 1 55%;
}

/* Contact Form */
.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 2rem;
}

.contact-container form {
    max-width: 600px;
    width: 100%;
    padding: 1.5rem;
    background: #f9f9f9; /* Light Gray */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-container form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #005a99;
    font-weight: bold;
}

.contact-container form input,
.contact-container form textarea,
.contact-container form button {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-container form textarea {
    resize: none;
}

.contact-container form button {
    background: #007acc; /* Bright Blue */
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-container form button:hover {
    background: #005a99; /* Slightly darker blue */
}

/* Success.html content */
.success-container {
    position: relative;
    text-align: center;
    color: white;
    width: 100%;
    max-width: 600px;
}

.success-container img {
    width: 100%;
    opacity: 0.6; /* Fade effect */
    border-radius: 10px; /* Optional rounded corners */
}

.success-container .text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    padding: 10px 20px;
    border-radius: 5px;
}

/* Align elements to the left */
.align-left {
    text-align: left;
}

/* Use a square list style for unordered lists */
.square-list {
    list-style-type: square;
}


/* Footer */
#footer {
    text-align: center;
    padding: 2rem;
    background: #002244; /* Darker Blue */
    color: #fff;
    margin-top: 2rem;
}

#footer p {
    font-size: 1rem;
}

#footer .copyright {
    font-size: 0.9rem;
    color: #ccc; /* Light gray */
}

/* BEGIN WORKSHOP EFFECT */

/* Layout */
#workshop-resilience { padding: 4.5rem 1.25rem; }
#workshop-resilience .grid-2 {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr 1.1fr;
}
@media (max-width: 900px) {
  #workshop-resilience .grid-2 { grid-template-columns: 1fr; }
}

/* Left visual */
#workshop-resilience .visual {
  position: relative; border-radius: 18px; overflow: hidden;
  background: #0f1a2b; /* subtle dark to make chips pop */
  box-shadow: 0 6px 28px rgba(0,0,0,.08);
}
#workshop-resilience .visual img {
  display: block; width: 100%; height: auto; opacity: .95;
}

/* Floating words */
.word-layer { position: absolute; inset: 0; pointer-events: none; }
.word-chip {
  position: absolute; padding: .4rem .7rem;
  background: rgba(19, 102, 204, .12);
  border: 1px solid rgba(19, 102, 204, .35);
  color: #cfe6ff; font: 600 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  border-radius: 999px; white-space: nowrap; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25));
  animation: floatUp 3.8s ease-in forwards, slightWobble 2.2s ease-in-out infinite;
}
@keyframes floatUp {
  0%   { transform: translateY(18px) scale(.98); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translateY(-140%); opacity: 0; }
}
@keyframes slightWobble {
  0%,100% { transform: translateX(0) }
  50%     { transform: translateX(6px) }
}

/* Caption (description under image) */
.word-caption {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  background: rgba(8,12,20,.72); color: #e6f1ff;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: .6rem .8rem;
  font-size: .95rem; backdrop-filter: blur(4px);
}

/* Right-side copy */
#workshop-resilience .hook {
  margin: 0 0 .3rem; font-size: clamp(28px, 4vw, 40px);
}
#workshop-resilience .subtitle {
  color: #355b8c; margin-top: 0; font-size: clamp(18px, 2.2vw, 22px);
}

/* “Hacker vibe” icon bullets */
.feature-list { list-style: none; padding: 0; margin: 1rem 0 1.4rem; }
.feature-list li {
  display: grid; grid-template-columns: 24px auto; gap: .6rem;
  align-items: start; margin: .6rem 0; color: #18324f;
}
.i { width: 22px; height: 22px; display: inline-block; }
.i svg { width: 100%; height: 100%; stroke: #1366cc; fill: none; stroke-width: 2; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .word-chip { animation: none; opacity: 0; }
  .word-layer { display: none; }
}

/* --- Social Engineering section (scoped) --- */
#se-resilience.ws { padding: 4.5rem 1.25rem; }
#se-resilience .ws-grid { display:grid; gap:2rem; grid-template-columns: 1fr 1.1fr; }
@media (max-width: 900px){ #se-resilience .ws-grid{ grid-template-columns:1fr; } }

/* Visual */
#se-resilience .ws-visual{ position:relative; border-radius:18px; overflow:hidden; background:#0f1a2b; box-shadow:0 6px 28px rgba(0,0,0,.08);}
#se-resilience .ws-visual img{ display:block; width:100%; height:auto; opacity:.95; }

/* Floating words */
#se-resilience .ws-words{ position:absolute; inset:0; pointer-events:none; }
#se-resilience .chip{
  position:absolute; padding:.4rem .7rem; background:rgba(19,102,204,.12);
  border:1px solid rgba(19,102,204,.35); color:#cfe6ff;
  font:600 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  border-radius:999px; white-space:nowrap; filter:drop-shadow(0 2px 6px rgba(0,0,0,.25));
  animation:ws-float 3.8s ease-in forwards, ws-wobble 2.2s ease-in-out infinite;
}
@keyframes ws-float{ 0%{transform:translateY(18px) scale(.98);opacity:0} 8%{opacity:1} 92%{opacity:1} 100%{transform:translateY(-140%);opacity:0}}
@keyframes ws-wobble{0%,100%{transform:translateX(0)} 50%{transform:translateX(6px)}}

/* Caption */
#se-resilience .ws-caption{
  position:absolute; left:12px; right:12px; bottom:12px; background:rgba(8,12,20,.72);
  color:#e6f1ff; border:1px solid rgba(255,255,255,.08); border-radius:12px; padding:.6rem .8rem;
  font-size:.95rem; backdrop-filter:blur(4px);
}

/* Copy */
#se-resilience .ws-hook{ margin:0 0 .3rem; font-size:clamp(28px,4vw,40px); }
#se-resilience .ws-sub{ color:#355b8c; margin-top:0; font-size:clamp(18px,2.2vw,22px); }

/* Icon bullets */
#se-resilience .ws-features{ list-style:none; padding:0; margin:1rem 0 1.4rem; }
#se-resilience .ws-features li{
  display:grid; grid-template-columns:24px auto; gap:.6rem; align-items:start;
  margin:.6rem 0; color:#18324f;
}
#se-resilience .i{ width:22px; height:22px; display:inline-block; }
#se-resilience .i svg{ width:100%; height:100%; stroke:#1366cc; fill:none; stroke-width:2; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  #se-resilience .chip{ animation:none; opacity:0 }
  #se-resilience .ws-words{ display:none }
}



/* END WORKSHOP EFFECT */


/* Responsive Design */
@media (max-width: 768px) {
    .spotlight {
        flex-direction: column;
        text-align: center;
    }

    .spotlight .image,
    .spotlight .content {
        flex: 1 1 100%;
    }

    #header img {
        max-width: 70%;
    }

    #header .actions .button {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
}
