/* Reset + Box sizing */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

/* === HEADER WITH BACKGROUND IMAGE === */
.header {
  height: 410px;
  background: url('images/header.png') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.job-img {
  background-image: url('images/job.jpg');
  height: 380px;
  width: 380px;              /* add width to control container size */
  background-size: contain;  /* make sure full image fits */
  background-repeat: no-repeat;
  background-position: center;
}

.team-img {
  background-image: url('images/cloud.jpg');
  height: 400px;
  width: 490px;              /* add width to control container size */
  background-repeat: no-repeat;
  background-position: center;
}

.header .overlay {
  background-color: rgba(157, 159, 255, 0.4);
  padding: 40px;
  width: 100%;
}

.header h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.header p {
  font-size: 20px;
}

/* === NAVBAR === */
.navbar {
  display: flex;
  justify-content: space-between;
  background-color: #240abb;
  padding: 10px 20px;
}

.navbar a {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  transition: background-color 0.3s, color 0.3s;
}

.navbar a:hover {
  background-color: #ffffff;
  color: #240abb;
  border-radius: 5px;
}

.navbar .right {
  margin-left: auto;
}

/* === FOOTER === */
.footer {
  background-color: #240abb;
  color: white;
  text-align: center;
  padding: 15px 20px;
  position: relative;
  bottom: 0;
  width: 100%;
}

/* === ANIMATED BUTTONS === */
.animated-button {
  background-color: #240abb;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  margin-top: 20px;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: inline-block;
  user-select: none;
}

.animated-button:hover {
  background-color: #1c0899;
  transform: scale(1.05);
}

/* === ACCORDION TOGGLE & VISIBILITY === */

/* Hide the checkbox */
.accordion-toggle {
  display: none;
}

/* Initially hide accordions */
.accordion-container {
  display: none;
  margin-top: 20px;
}

/* Show accordions container only when checkbox checked */
.accordion-toggle:checked + label + .accordion-container {
  display: block;
}

/* === ACCORDION STYLES === */

/* Animate accordion content expansion */
.accordion-container details {
  background-color: #f9f9f9;
  border: 1px solid #72a6eb;
  margin-bottom: 10px;
  border-radius: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  max-height: 40px;
  cursor: pointer;
}

/* When details is open, expand max-height */
.accordion-container details[open] {
  max-height: 300px;
  transition: max-height 0.6s ease;
}

/* Style summary (the clickable header) */
.accordion-container summary {
  font-weight: bold;
  padding: 10px;
  list-style: none;
  outline: none;
  cursor: pointer;
  user-select: none;
}

/* Remove default disclosure triangle */
.accordion-container summary::-webkit-details-marker {
  display: none;
}
.accordion-container summary::marker {
  content: "";
}

/* Add custom arrow using ::after */
.accordion-container summary::after {
  content: "▶";
  float: right;
  transition: transform 0.3s ease;
}

/* Rotate arrow when open */
.accordion-container details[open] summary::after {
  transform: rotate(90deg);
}

/* Accordion content */
.accordion-container details > p {
  padding: 10px;
  margin-top: 0;
  line-height: 1.4;
}

/* === RESPONSIVE DESIGN === */
@media screen and (max-width: 700px) {
  .row {
    flex-direction: column;
  }
}

@media screen and (max-width: 400px) {
  .navbar {
    flex-direction: column;
  }
  .navbar a {
    text-align: center;
    margin: 5px 0;
  }
}

/* === TIMELINE STYLES (New) === */
.timeline {
  position: relative;
  margin: 20px 0;
  padding-left: 30px;
  border-left: 3px solid #240abb;
}

.timeline-event {
  position: relative;
  margin-bottom: 20px;
  padding-left: 20px;
}

.timeline-event::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 5px;
  width: 12px;
  height: 12px;
  background-color: #240abb;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 5px rgba(36, 10, 187, 0.7);
}

.timeline-content h3 {
  margin-bottom: 5px;
  font-size: 18px;
  color: #240abb;
}

.timeline-content p {
  margin: 0;
  color: #333;
  font-size: 15px;
  line-height: 1.3;
}

@media screen and (max-width: 700px) {
  .timeline {
    padding-left: 20px;
    border-left-width: 2px;
  }

  .timeline-event::before {
    left: -10px;
    width: 10px;
    height: 10px;
  }
}
/* Timeline container background when visible */
.accordion-toggle:checked + label + .accordion-container.timeline-container {
  display: block;
  background-image: url('images/9 things.png'); /* your image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px;
  border-radius: 8px;
  color: rgb(255, 248, 240); /* text color for contrast */
}

/* Timeline events with fully transparent background */
.timeline .event {
  background-color: transparent; /* no box or color behind text */
  padding: 5px 0; /* small vertical spacing */
  margin-bottom: 8px;
  border-radius: 0;
  /* Optional: add subtle text shadow to improve readability */
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
}
/* Remove background and borders from details and summary */
.accordion-container.timeline-container details,
.accordion-container.timeline-container summary {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}


.fake-img {
  background-image: url('images/mbti1.png');
  height:450px;
  width: 500px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.notice1 {
  background-color: #ffdddd;
  border-left: 6px solid #f44336;
}

.INFO {
  background-color: #deffdd;
  border-left: 6px solid #7bfd53;
}

.container {
  overflow: hidden;
}

/* Hide the checkbox */
.filter-toggle {
  display: none;
}

/* Flip box base styling */
.flip-box {
  background-color: transparent;
  width: 240px;
  height: 200px;
  border: 1px solid #f1f1f1;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
  transform: rotateX(180deg);
}

.flip-box-front,
.flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

.flip-box-front {
  background-color: #e2ffc0;
  color: black;
}

.flip-box-back {
  background-color: rgb(255, 191, 228);
  color: white;
  transform: rotateX(180deg);
}

/* Flip box row layout */
.flip-box-row {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 10px;
}
.skills {
  background-image: url('images/stream1.png');
  height:800px;
  width: 850px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.categories {
  background-image: url('images/categories.png');
  height:800px;
  width: 850px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.careers {
  background-image: url('images/careers.png');
  height:800px;
  width: 850px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* === SIDEBAR & MAIN FIX === */
.row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

/* Sidebar (left side) */
.sidebar {
  flex: 0 0 28%;
  background-color: #f1f1f1;
  padding: 20px;
  box-sizing: border-box;
  min-width: 280px;
  overflow-y: auto;
}

/* Main content (right side) */
.main {
  flex: 1;
  background-color: #ffffff;
  padding: 20px;
  box-sizing: border-box;
  min-width: 0;
}

/* Smaller and neat circular avatars */
.sidebar .model img {
  width: 100px;        /* fixed size */
  height: 100px;
  border-radius: 50%;  /* makes it round */
  object-fit: cover;   /* ensures image fills circle without stretching */
  display: block;
  margin: 5px auto;
}

/* Align models neatly in rows */
.sidebar .image-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  align-items: flex-start; /* aligns items at top for neat columns */
}

.sidebar .model {
  text-align: center;
  flex: 1 1 150px;  /* each model takes similar width */
  max-width: 150px; /* optional: prevents oversized models */
}


.sidebar .model h3 {
  font-size: 0.9rem;
  margin-top: 8px;
}

/* Timeline fix */
.timeline-container {
  margin-top: 25px;
}

.timeline {
  border-left: 2px solid #240abb;
  padding-left: 15px;
  margin-top: 10px;
}

.timeline .event {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #333;
}

/* Responsive layout */
@media (max-width: 900px) {
  .row {
    flex-direction: column;
  }
  .sidebar, .main {
    flex: 100%;
    min-width: 100%;
  }
}
/* Make timeline smaller inside sidebar */
.sidebar .timeline {
  border-left: 2px solid #240abb;
  padding-left: 12px;
  margin-top: 10px;
  font-size: 0.85rem;
}

.sidebar .timeline .event {
  margin-bottom: 6px;
}



