/* 
 * AI AUGMENTED CODING WORKSHOPS
 * Main Stylesheet
 */

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

:root {
  --primary-color: #FFC7EA;      /* Pink */
  --secondary-color: #C1F0F6;    /* Light Blue */
  --accent-color-1: #F7D488;     /* Yellow */
  --accent-color-2: #F2C4DE;     /* Light Pink */
  --accent-color-3: #A2E1DB;     /* Teal */
  --accent-color-4: #D8B4F8;     /* Purple */
  --bg-color: #FCF5E5;           /* Beige Background */
  --dark-color: #1A1A1A;         /* Black */
  --white-color: #FFFFFF;        /* White */
  --grey-color: #f0f0f0;         /* Light Grey for subtle backgrounds */
}

body {
  background-color: var(--bg-color);
  color: var(--dark-color);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.5; /* Slightly increased line height for readability */
  position: relative;
  overflow-x: hidden;
  padding-bottom: 60px;
}

.container {
  max-width: 1600px; /* Keep increased max-width */
  margin: 0 auto;
  padding: 0 15px; /* Further reduced horizontal padding */
  position: relative;
}

header {
  background-color: var(--primary-color);
  color: var(--dark-color);
  padding: 70px 50px;
  margin: 60px 20px 100px; /* Adjusted header margin */
  border: 4px solid var(--dark-color);
  box-shadow: 12px 12px 0 var(--dark-color);
  position: relative;
  z-index: 1;
  text-align: center;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.5px; /* Consistent letter spacing */
  margin: 0;
}

h1 {
  font-size: clamp(40px, 7vw, 72px); /* Larger H1 */
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

h2 {
  font-size: clamp(20px, 3.5vw, 28px); /* Adjusted H2 */
  font-weight: 700;
  margin-bottom: 35px;
  position: relative;
  z-index: 1;
}

h3.workshop-title {
  font-size: clamp(20px, 4vw, 22px); /* Adjusted H3 */
  font-weight: 900;
  margin-bottom: 25px;
  border-bottom: 4px solid var(--dark-color);
  padding-bottom: 15px;
  padding-top: 15px;
  display: flex; /* Use flex */
  align-items: flex-start; /* Align text to the top within the fixed height */
}

h4 {
  font-size: clamp(18px, 3vw, 20px);
  font-weight: 800; /* Bold H4 */
}

.instructor {
  font-size: clamp(16px, 2.5vw, 18px);
  font-weight: 700;
  background-color: var(--secondary-color);
  color: var(--dark-color);
  border: 3px solid var(--dark-color); /* Slightly thinner border */
  padding: 12px 22px;
  margin-top: 35px;
  display: inline-flex; /* Use flex for icon alignment */
  align-items: center;
  gap: 8px;
  transform: rotate(-2deg);
  box-shadow: 8px 8px 0 var(--dark-color);
  position: relative;
  z-index: 2;
}

/* Language Switcher */
.language-switcher {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 100;
  display: flex;
  gap: 8px;
}

.language-btn {
  background-color: var(--white-color);
  color: var(--dark-color);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--dark-color);
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.language-btn:hover, .language-btn.active {
  background-color: var(--dark-color);
  color: var(--white-color);
  transform: translateY(-2px);
}

.language-switcher button {
    display: inline-block !important; /* Temporary override to force display */
    opacity: 1 !important; /* Temporary override */
    visibility: visible !important; /* Temporary override */
}

/* Workshops section */
.workshops {
  display: grid;
  /* Keep forced 4 columns */
  grid-template-columns: repeat(4, 1fr);
  gap: 45px; /* Increased gap between cards by 5px */
  margin: 100px auto; 
  padding: 0; 
  border: none; 
  box-shadow: none; 
}

/* Responsive adjustments */
@media (max-width: 1200px) { /* 3 columns */
  .workshops {
    grid-template-columns: repeat(3, 1fr);
    gap: 45px; /* Keep increased gap */
  }
}

@media (max-width: 992px) {
  .workshops {
    /* Tablet: 2 columns */
    grid-template-columns: repeat(2, 1fr);
    gap: 45px; /* Keep increased gap */
  }
  .container {
    padding: 0 20px; /* Restore slightly more padding on tablet */
  }
  section, header {
    margin: 80px 15px;
    padding: 50px 30px;
  }
}

@media (max-width: 768px) {
  /* Mobile: 1 column */
  .workshops {
    grid-template-columns: 1fr;
    gap: 40px; /* Keep slightly smaller gap for single column */
    justify-items: center; /* Center card in the single column */
  }
  .container {
    padding: 0 15px; /* Keep reduced padding */
  }
  section, header {
    margin: 60px 10px;
    padding: 40px 20px;
    box-shadow: 8px 8px 0 var(--dark-color);
  }
  .workshop-card {
     box-shadow: 8px 8px 0 var(--dark-color);
  }
  .linkedin-link {
    padding: 15px 30px;
    width: 80%;
  }
  .github-link {
    padding: 12px 25px;
    width: 80%;
    justify-content: center;
  }
  h3.workshop-title {
      font-size: clamp(18px, 5vw, 20px); /* Slightly smaller clamp max for title */
      padding-top: 10px;    /* Reduce top padding */
      padding-bottom: 10px; /* Reduce bottom padding */
      margin-bottom: 20px;  /* Reduce margin below title */
  }
}

/* Corrected media query syntax */
@media (max-width: 480px) {
  .workshops {
     gap: 35px; /* Further reduce gap for smallest screens */
  }
  .container {
    padding: 0 10px; /* Even less padding on very small screens */
  }
  section, header {
    margin: 60px 10px;
    padding: 40px 20px;
    box-shadow: 8px 8px 0 var(--dark-color);
  }
  .workshop-card {
    padding: 25px 20px;
    box-shadow: 8px 8px 0 var(--dark-color);
    min-height: auto; /* Allow cards to shrink height on mobile */
  }
  .linkedin-link {
    padding: 15px 30px;
    width: 80%;
  }
  .github-link {
    padding: 12px 25px;
    width: 80%;
    justify-content: center;
  }
  h3.workshop-title {
      font-size: clamp(18px, 5vw, 20px); /* Slightly smaller clamp max for title */
      padding-top: 10px;    /* Reduce top padding */
      padding-bottom: 10px; /* Reduce bottom padding */
      margin-bottom: 20px;  /* Reduce margin below title */
  }
}

.workshop-card {
  border: 4px solid var(--dark-color);
  padding: 30px 20px 25px; /* Reduced horizontal padding inside cards */
  position: relative;
  box-shadow: 10px 10px 0 var(--dark-color);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  z-index: 1;
  display: flex;
  flex-direction: column;
  /* min-height: 480px; Removed fixed height for natural flow */
}

.workshop-card:hover {
  transform: translate(-6px, -6px);
  box-shadow: 14px 14px 0 var(--dark-color);
}

.workshop-card:nth-child(1) {
  background-color: var(--accent-color-2);
}

.workshop-card:nth-child(2) {
  background-color: var(--accent-color-3);
}

.workshop-card:nth-child(3) {
  background-color: var(--accent-color-1);
}

.workshop-card:nth-child(4) {
  background-color: var(--accent-color-4);
}

.workshop-title {
  font-size: 26px;
  margin-bottom: 20px;
  border-bottom: 4px solid var(--dark-color);
  padding-bottom: 15px;
}

.price {
  position: absolute;
  top: -22px;
  right: 15px;
  background-color: var(--primary-color);
  color: var(--dark-color);
  padding: 8px 20px 8px 16px; /* Increased right padding */
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(18px, 3vw, 20px); /* Adjusted size */
  border: 3px solid var(--dark-color);
  transform: rotate(3deg);
  box-shadow: 6px 6px 0 var(--dark-color);
  z-index: 2;
}

.workshop-details {
  margin-top: 20px;
  flex-grow: 1;
}

.workshop-details ul {
  list-style-type: none;
  margin: 20px 0;
  padding: 0;
}

.workshop-details li {
  margin-bottom: 14px;
  padding-left: 0; /* Remove padding, use icon gap */
  position: relative;
  font-weight: 500; /* Slightly bolder */
  font-size: 15px;
  display: flex; /* Use flex for icon alignment */
  align-items: flex-start;
  gap: 8px; /* Space between icon and text */
}

.workshop-details li::before {
  /* Replace arrow with Font Awesome icon */
  content: "\f105"; /* Font Awesome angle-right unicode */
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* Use solid style */
  position: static; /* Remove absolute positioning */
  font-size: 14px;
  color: var(--dark-color);
  margin-top: 2px; /* Align icon slightly */
}

.value-prop {
  margin-top: 30px; /* Increased space above */
  padding: 18px 25px;
  background-color: var(--dark-color);
  color: var(--white-color);
  font-size: clamp(18px, 3vw, 19px); /* Adjusted size */
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  text-align: center;
  transform: rotate(-1.5deg);
  margin-bottom: 30px;
}

.duration-tag {
  display: inline-block;
  background-color: var(--dark-color);
  color: var(--white-color);
  padding: 8px 14px;
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 13px; /* Slightly smaller */
  transform: rotate(-1deg);
  margin-right: 10px;
}

strong[data-text="groupSize"] { /* More specific selector */
  display: block; /* Make it block */
  font-weight: 700;
  font-size: 14px;
  color: var(--dark-color);
  margin-bottom: 20px; /* Space below */
}

/* Why it matters section */
.why-matter {
  background-color: var(--secondary-color);
  color: var(--dark-color);
  padding: 50px 40px;
  margin: 80px 20px;
  border: 4px solid var(--dark-color);
  box-shadow: 12px 12px 0 var(--dark-color);
  position: relative;
  z-index: 1;
}

.why-matter h2 {
  font-size: clamp(30px, 5vw, 42px);
  margin-bottom: 40px;
  text-align: center;
}

.why-matter ul {
  list-style-type: none;
  padding: 0;
}

.why-matter li {
  margin-bottom: 15px;
  font-size: clamp(16px, 2.8vw, 18px);
  padding: 15px 25px;
  font-weight: 700;
  border: 3px solid var(--dark-color);
  background-color: rgba(255,255,255,0.6);
  box-shadow: 8px 8px 0 rgba(0,0,0,0.6); /* Darker shadow */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.why-matter li:hover {
  transform: translate(-3px, -3px);
  box-shadow: 11px 11px 0 var(--dark-color);
}

/* CTA section */
.instructor-spotlight {
  text-align: center;
  padding: 60px 40px;
  background-color: var(--accent-color-1);
  border: 4px solid var(--dark-color);
  margin: 80px 20px;
  box-shadow: 12px 12px 0 var(--dark-color);
  position: relative;
}

.instructor-spotlight h2 {
  font-size: clamp(30px, 5vw, 42px);
  margin-bottom: 20px;
}

.instructor-spotlight p {
  font-size: clamp(16px, 2.8vw, 18px);
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.linkedin-link {
  display: inline-block;
  background-color: var(--dark-color);
  color: var(--white-color);
  padding: 14px 30px;
  font-size: clamp(16px, 2.5vw, 16px);
  text-decoration: none;
  font-weight: 700;
  border: 3px solid var(--dark-color);
  box-shadow: 6px 6px 0 var(--primary-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
}

.linkedin-link:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--primary-color);
}

.instructor-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.github-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--dark-color);
  color: var(--white-color);
  padding: 12px 25px;
  font-size: clamp(14px, 2.5vw, 15px);
  text-decoration: none;
  font-weight: 700;
  border: 3px solid var(--dark-color);
  box-shadow: 6px 6px 0 var(--secondary-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
}

.github-link::before {
  content: "\f09b"; /* GitHub icon */
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  font-size: 16px;
}

.github-link:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--secondary-color);
}

@media (min-width: 768px) {
  .instructor-links {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
}

/* Testimonials section */
.testimonials {
  background-color: var(--accent-color-2);
  padding: 60px 40px;
  margin: 80px 20px;
  border: 4px solid var(--dark-color);
  box-shadow: 12px 12px 0 var(--dark-color);
  position: relative;
  z-index: 1;
}

.testimonials h2 {
  font-size: clamp(30px, 5vw, 42px);
  margin-bottom: 50px;
  text-align: center;
}

.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: var(--white-color);
  border: 3px solid var(--dark-color);
  padding: 30px;
  box-shadow: 8px 8px 0 var(--dark-color);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.testimonial-card:nth-child(1) {
  background-color: var(--accent-color-1); /* Yellow */
}

.testimonial-card:nth-child(2) {
  background-color: var(--accent-color-3); /* Teal */
}

.testimonial-card:nth-child(3) {
  background-color: var(--primary-color); /* Pink */
}

.testimonial-card:nth-child(4) {
  background-color: var(--accent-color-4); /* Purple */
}

.testimonial-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 var(--dark-color);
}

.testimonial-quote {
  font-size: clamp(15px, 2.5vw, 16px);
  line-height: 1.6;
  margin: 0 0 20px 0;
  font-style: italic;
  color: var(--dark-color);
  position: relative;
}

.testimonial-quote::before {
  content: """;
  font-size: 60px;
  color: var(--accent-color-1);
  position: absolute;
  top: -15px;
  left: -15px;
  font-family: serif;
  line-height: 1;
}

.testimonial-author {
  border-top: 2px solid var(--dark-color);
  padding-top: 15px;
}

.testimonial-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--dark-color);
  margin-bottom: 5px;
  font-family: 'Outfit', sans-serif;
}

.testimonial-title {
  font-size: 14px;
  color: var(--dark-color);
  opacity: 0.8;
  font-style: italic;
}

/* Responsive adjustments for testimonials */
@media (max-width: 768px) {
  .testimonials {
    padding: 40px 20px;
    margin: 60px 10px;
  }
  
  .testimonial-card {
    padding: 25px;
  }
  
  .testimonial-quote::before {
    font-size: 45px;
    top: -10px;
    left: -10px;
  }
}

@media (max-width: 480px) {
  .testimonials {
    padding: 30px 15px;
  }
  
  .testimonial-card {
    padding: 20px;
    box-shadow: 6px 6px 0 var(--dark-color);
  }
  
  .testimonial-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--dark-color);
  }
}

/* Contact form */
.contact-form {
  background-color: var(--accent-color-3);
  padding: 50px 40px;
  margin: 80px 20px;
  border: 4px solid var(--dark-color);
  box-shadow: 12px 12px 0 var(--dark-color);
  position: relative;
  z-index: 1;
}

.contact-form h2 {
  font-size: clamp(30px, 5vw, 42px);
  margin-bottom: 40px;
  text-align: center;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 16px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px;
  border: 3px solid var(--dark-color);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  background-color: var(--white-color);
  color: var(--dark-color);
  box-shadow: 5px 5px 0 rgba(0,0,0,0.2); /* Consistent shadow */
  border-radius: 0;
}

/* Style Adjustments for Multiple Select */
.form-group select[multiple] {
  height: auto; /* Allow height to adjust based on options */
  min-height: 100px; /* Provide a minimum decent height */
  background-image: none; /* Remove dropdown arrow */
  padding: 10px; /* Adjust padding */
}

.form-group select[multiple] option {
    padding: 8px 10px; /* Spacing for options */
    cursor: pointer;
}

.form-group select[multiple] option:checked {
    background-color: var(--secondary-color);
    color: var(--dark-color);
    font-weight: 700;
}
/* End Style Adjustments for Multiple Select */

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%231A1A1A'%3E%3Cpath d='M6 9L0 3h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
  border-radius: 0;
}

.form-group textarea {
  min-height: 180px;
  resize: vertical;
}

.honeypot {
  position: absolute !important;
  left: -5000px;
  opacity: 0;
  pointer-events: none;
}

.form-submit {
  background-color: var(--dark-color);
  color: var(--white-color);
  font-family: 'Outfit', sans-serif;
  font-size: clamp(18px, 3vw, 20px);
  font-weight: 900;
  border: none;
  border: 4px solid var(--dark-color);
  padding: 15px 40px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
  width: fit-content;
  margin: 20px auto 0;
  box-shadow: 6px 6px 0 var(--accent-color-1);
  text-transform: uppercase;
}

.form-submit:hover {
  background-color: var(--accent-color-1);
  color: var(--dark-color);
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--dark-color);
}

/* Add styles for the success message */
.form-success {
  border: 3px solid var(--dark-color);
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin-top: 30px;
}

.form-success h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.form-success p {
  font-size: 16px;
  color: var(--dark-color);
}

/* Decorative elements */
.squiggle {
  position: absolute;
  width: 80px;
  height: 12px;
  background: linear-gradient(45deg, transparent, transparent 40%, var(--accent-color-1) 40%, var(--accent-color-1) 60%, transparent 60%),
              linear-gradient(-45deg, transparent, transparent 40%, var(--accent-color-1) 40%, var(--accent-color-1) 60%, transparent 60%);
  background-size: 15px 15px;
  left: 20px;
  top: 10px;
  z-index: 0;
  opacity: 0.8;
}

.dot-pattern {
  position: absolute;
  width: 80px;
  height: 80px;
  background-color: transparent;
  background-image: radial-gradient(var(--dark-color) 1.5px, transparent 1.5px);
  background-size: 8px 8px;
  right: 20px;
  top: 5px;
  z-index: 0;
  opacity: 0.7;
}

.circle-decoration {
  display: none;
}

.star {
  position: absolute;
  font-size: 40px;
  transform: rotate(15deg);
  right: 10%;
  top: -25px;
  z-index: 0;
  color: var(--accent-color-1);
  opacity: 0.9;
}

.zigzag {
  position: absolute;
  height: 20px;
  width: 100px;
  background: linear-gradient(135deg, var(--accent-color-2) 25%, transparent 25%) -10px 0,
              linear-gradient(225deg, var(--accent-color-2) 25%, transparent 25%) -10px 0,
              linear-gradient(315deg, var(--accent-color-2) 25%, transparent 25%),
              linear-gradient(45deg, var(--accent-color-2) 25%, transparent 25%);
  background-size: 20px 20px;
  background-color: transparent;
  right: 30px;
  bottom: 20px;
  z-index: 0;
}

@keyframes float {
  0% { transform: translateY(0) rotate(20deg); }
  50% { transform: translateY(-10px) rotate(20deg); }
  100% { transform: translateY(0) rotate(20deg); }
}

.float-animation {
  animation: float 4s ease-in-out infinite;
}

.grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 25px 25px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* Footer styles */
footer {
  padding: 60px 20px 30px;
  text-align: center;
  font-size: 14px;
  color: var(--dark-color);
  border-top: 8px solid var(--dark-color); /* Thicker border */
  margin-top: 100px;
  background-color: var(--secondary-color);
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
  text-align: left;
}

.footer-column {
  padding: 0 15px;
}

.footer-column h4 {
  font-size: 16px; /* Smaller footer headings */
  margin-bottom: 15px;
  padding-bottom: 8px;
}

.footer-contact {
  margin-bottom: 15px;
}

.footer-contact p {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.footer-contact p i {
  /* Use FA icons for contact details */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  width: 20px;
  margin-right: 10px;
  color: var(--dark-color);
}
.footer-contact p i.fa-map-marker-alt::before { content: "\f3c5"; }
.footer-contact p i.fa-envelope::before { content: "\f0e0"; }
.footer-contact p i.fa-phone::before { content: "\f095"; }

.footer-bottom {
  border-top: 2px solid rgba(0,0,0,0.1);
  padding-top: 25px;
  margin-top: 25px;
  text-align: center;
}

footer p {
  margin-bottom: 5px;
}

.footer-links {
  margin-bottom: 15px !important;
}

.footer-links a {
  color: var(--dark-color);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--dark-color);
  transition: color 0.2s ease, border-color 0.2s ease;
  margin: 0 12px;
}

.footer-links a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.social-links {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; /* Consistent gap */
}

.social-links h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: center;
}

/* BASE STYLE FOR SOCIAL LINKS - MODERN APPROACH */
.social-links a {
  display: inline-flex; 
  align-items: center;
  justify-content: center;
  width: 40px; /* Back to 40px */
  height: 40px;
  background-color: #f8f8f8; /* Light neutral background */
  border-radius: 50%; /* Maintain round shape */
  box-shadow: 0 3px 10px rgba(0,0,0,0.1); /* Subtle shadow for depth */
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

/* ICON STYLES */
.social-links a i {
  font-size: 18px; /* Slightly smaller icons */
  transition: all 0.3s ease;
}

/* Network-specific colors */
.social-links a.x-icon i {
  color: #000000; /* Twitter/X black */
}

.social-links a.linkedin-icon i {
  color: #0077b5; /* LinkedIn blue */
}

.social-links a.web-icon i {
  color: #2962FF; /* Web blue */
}

.social-links a.youtube-icon i {
  color: #FF0000; /* YouTube red */
}

.social-links a.podcast-icon i {
  color: #8940FA; /* Podcast purple */
}

/* Hover effects - Scale up with branded background */
.social-links a:hover {
  transform: translateY(-5px);
}

.social-links a.x-icon:hover {
  background-color: #000000;
}

.social-links a.linkedin-icon:hover {
  background-color: #0077b5;
}

.social-links a.web-icon:hover {
  background-color: #2962FF;
}

.social-links a.youtube-icon:hover {
  background-color: #FF0000;
}

.social-links a.podcast-icon:hover {
  background-color: #8940FA;
}

/* All icons turn white on hover */
.social-links a:hover i {
  color: white;
}

/* Tooltip Icon Styles */
.tooltip-icon {
  display: inline-flex; /* Use flex to center icon easily */
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  cursor: help;
  position: relative;
  /* Use font-size to control icon size */
  font-size: 18px; /* Slightly larger for better visibility */
  color: var(--dark-color);
  vertical-align: middle; /* Align with text/checkbox */
  width: 24px;
  height: 24px;
  background-color: var(--dark-color);
  border-radius: 50%;
}

.tooltip-icon i {
  color: white;
  font-size: 15px;
}

/* Basic Tooltip Display (Using data attribute) */
.tooltip-icon::before, .tooltip-icon::after {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 10;
}

.tooltip-icon::before {
  content: attr(data-tooltip); /* Use attribute for text */
  background-color: var(--dark-color);
  color: var(--white-color);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.4;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  width: 250px; /* Max width for tooltip */
  text-align: left;
  bottom: 140%; /* Position above the icon */
  white-space: normal;
}

.tooltip-icon::after {
  content: '';
  border: 6px solid transparent;
  border-top-color: var(--dark-color);
  bottom: 140%;
  margin-bottom: -12px; /* Overlap with the bubble */
  transform: translateX(-50%) translateY(100%); /* Position the arrow */
}

.tooltip-icon:hover::before, .tooltip-icon:hover::after {
  opacity: 1;
  pointer-events: auto;
}

/* Use a more specific selector for your tooltip icon question mark */
.tooltip-icon i.ph-question {
  font-size: 18px;
  color: var(--dark-color);
}

/* Responsive design adjustments for the new style */
@media (max-width: 992px) {
  .workshops {
    /* Tablet: May show 2 columns or adjust minmax if 300px is too tight */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 40px; /* Keep consistent gap or adjust */
  }
  .container {
    padding: 0 20px;
  }
  section, header {
    margin: 80px 15px;
    padding: 50px 30px;
  }
}

@media (max-width: 768px) {
  /* Keep existing overrides, maybe add more specific ones if needed */
  .workshops {
    /* Already handles < 2 columns via auto-fit */
  }
}

@media (max-width: 480px) {
  /* Keep existing overrides */
   .container {
    padding: 0 15px;
  }
   section, header {
    margin: 60px 10px;
    padding: 40px 20px;
    box-shadow: 8px 8px 0 var(--dark-color);
  }
  .workshop-card {
    box-shadow: 8px 8px 0 var(--dark-color);
  }
}

/* Hide sections when language is changing */
/* REMOVE this rule */
/* [data-lang] {
  opacity: 0;
  transition: opacity 0.3s ease;
} */

/* Keep this rule */
[data-lang].active {
  opacity: 1;
  /* display will be handled by removing the rule below */
}

/* Initially hide all language versions by DEFAULT, show only active */
/* MODIFY this rule */
[data-lang]:not(.active) { /* Target elements that DON'T have .active */
  display: none;
  opacity: 0; /* Keep opacity for transition effect */
}

/* ADD transition rule to the base [data-lang] selector */
[data-lang] {
  transition: opacity 0.3s ease;
}

.location-tag {
  display: inline-flex; /* Use flex */
  align-items: center;
  gap: 6px; /* Space between icon and text */
  color: var(--dark-color);
  font-style: normal; /* Remove italic */
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  padding: 5px 10px; /* Add padding */
  background-color: rgba(0,0,0,0.05); /* Subtle background */
  border-radius: 4px;
  opacity: 1;
}

.location-tag::before {
  /* Replace emoji with Font Awesome icon */
  content: "\f3c5"; /* Font Awesome map-marker-alt unicode */
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* Use solid style */
  font-size: 12px;
  position: static; /* Remove absolute positioning */
  margin-right: 4px; /* Space after icon */
}

.footer-links {
  margin-bottom: 15px !important;
}

.social-links {
  margin-top: 20px;
}

.social-links h4 {
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.instructor-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.instructor-image {
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
  margin-top: -40px; /* Position l'image plus haut */
  transition: transform 0.3s ease;
}

.instructor-image:hover {
    transform: scale(1.05);
}

.instructor-photo {
  width: 280px;
  height: 200px;
  object-fit: cover;
  object-position: center 30%; /* Meilleur cadrage du visage */
  border: 4px solid var(--dark-color); /* Increased border */
  box-shadow: 10px 10px 0 rgba(0,0,0,0.25); /* Stronger shadow */
  background-color: transparent;
  border-radius: 0; /* Remove border radius for sharper look */
  transform: rotate(-2deg); /* Maintain slight rotation */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instructor-photo:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 12px 12px 0 rgba(0,0,0,0.35);
}

.instructor-info {
  max-width: 600px;
}

.requirements-box {
  background-color: rgba(255,255,255,0.7); /* More transparency */
  border: 3px solid var(--dark-color);
  padding: 25px;
  margin: 25px 0;
  position: relative;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.3);
}

.requirements-box h3 {
  font-size: 18px; /* Consistent H4 size */
  font-weight: 800;
}

.requirements-box p {
  font-size: 16px;
  margin-bottom: 0;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .instructor-content {
    flex-direction: row;
    text-align: left;
    justify-content: center;
    gap: 50px; /* Increase gap slightly */
    align-items: center; /* Vertically align items in the center */
  }

  .instructor-image {
    margin-bottom: 0;
    margin-top: 0; /* Reset margin for desktop */
    flex-shrink: 0; /* Prevent image from shrinking */
  }
  
  .instructor-spotlight h2 {
    text-align: left;
  }

  .instructor-photo {
    width: 300px;
    height: 220px;
  }
}

@media (max-width: 768px) {
  .instructor-photo {
    width: 240px;
    height: 170px;
  }

  .instructor-spotlight {
    padding: 40px 20px;
    margin: 60px 10px;
  }

  .instructor-photo {
    width: 240px;
    height: 170px;
  }

  .linkedin-link {
    padding: 15px 30px;
    width: 80%;
  }
}

@media (max-width: 480px) {
  .instructor-photo {
    width: 200px;
    height: 140px;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
  }

  .workshop-card {
    padding: 25px 20px;
    box-shadow: 8px 8px 0 var(--dark-color);
    min-height: auto; /* Allow cards to shrink height on mobile */
  }
  
  .linkedin-link {
    padding: 15px 30px;
    width: 80%;
  }
}

/* Style for inline Flint logo */
.flint-logo-inline {
  height: 1.2em; /* Match the logo height roughly to the text size */
  vertical-align: -0.2em; /* Adjust vertical alignment to match text baseline */
  margin-left: 0.3em;
  display: inline-block; /* Ensure it flows with text */
}

.workshop-cta-container {
  text-align: center;
  margin-top: 20px;
}

.workshop-cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--dark-color);
  padding: 10px 25px;
  font-size: 16px;
  text-decoration: none;
  font-weight: 700;
  border: 3px solid var(--dark-color);
  box-shadow: 4px 4px 0 var(--dark-color);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
}

.workshop-cta-button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--dark-color);
  background-color: var(--primary-color);
}

.workshop-cta-button:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--dark-color);
}

/* Styles for Checkbox Group */
.form-group-checkbox {
  display: flex;
  align-items: center;
  gap: 10px; /* Space between checkbox, label, icon */
  margin-bottom: 25px; /* Keep standard margin */
}

.form-group-checkbox input[type="checkbox"] {
  width: auto; /* Override default form width */
  height: 20px;
  width: 20px;
  margin: 0; /* Remove default margins */
  cursor: pointer;
  box-shadow: none; /* Remove shadow */
  accent-color: var(--dark-color); /* Color the checkmark */
}

.form-group-checkbox label {
  margin-bottom: 0; /* Override default label margin */
  font-weight: 700;
  font-size: 16px;
}

.tooltip-icon {
  display: inline-block;
  background-color: var(--dark-color);
  color: var(--white-color);
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
  cursor: help;
  position: relative; /* Needed for tooltip positioning */
}

/* Simple CSS Tooltip */
.tooltip-icon::before, .tooltip-icon::after {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 10;
}

.tooltip-icon::before {
  content: attr(data-tooltip); /* Use attribute for text */
  background-color: var(--dark-color);
  color: var(--white-color);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1.4;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  width: 250px; /* Max width for tooltip */
  text-align: left;
  bottom: 140%; /* Position above the icon */
  white-space: normal;
}

.tooltip-icon::after {
  content: '';
  border: 6px solid transparent;
  border-top-color: var(--dark-color);
  bottom: 140%;
  margin-bottom: -12px; /* Overlap with the bubble */
  transform: translateX(-50%) translateY(100%); /* Position the arrow */
}

.tooltip-icon:hover::before, .tooltip-icon:hover::after {
  opacity: 1;
  pointer-events: auto;
}
/* End Styles for Checkbox Group */

/* Styles for Workshop Checkbox Group */
.workshop-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 200px;
  overflow-y: auto;
  background-color: var(--white-color);
  border: 3px solid var(--dark-color);
  padding: 15px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.15);
}

.workshop-checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.workshop-checkbox-item:last-child {
  border-bottom: none;
}

.workshop-checkbox-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--dark-color);
  cursor: pointer;
}

.workshop-checkbox-item label {
  font-weight: 500 !important;
  margin: 0 !important;
  cursor: pointer;
  flex: 1;
  line-height: 1.4;
}

.workshop-checkbox-item:hover {
  background-color: rgba(0,0,0,0.05);
}

/* Style for checked items */
.workshop-checkbox-item input[type="checkbox"]:checked + label {
  font-weight: 700 !important;
  color: var(--primary-color);
  text-decoration: underline;
}

/* Remove style for multiple select as we no longer use it */
.form-group select[multiple] {
  height: auto;
  min-height: auto;
  background-image: none;
  padding: 10px;
}

.form-group select[multiple] option {
  padding: 0;
}

.form-group select[multiple] option:checked {
  background-color: transparent;
  color: inherit;
  font-weight: inherit;
}

/* Follow Us Section */
.follow-us-section {
  text-align: center;
  margin: 30px auto;
  max-width: 600px;
  padding-bottom: 20px;
}

.follow-us-section h4 {
  font-size: 18px; /* Slightly larger follow us */
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--dark-color);
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.5px;
}

.follow-us-section .social-links {
  margin-top: 10px;
}

/* About Flint Section */
.about-flint {
  background-color: var(--accent-color-4);
  padding: 60px 40px;
  margin: 80px 20px;
  border: 4px solid var(--dark-color);
  box-shadow: 12px 12px 0 var(--dark-color);
  position: relative;
  z-index: 1;
}

.about-flint h2 {
  font-size: clamp(30px, 5vw, 42px);
  margin-bottom: 50px;
  text-align: center;
  position: relative;
  font-weight: 900;
}

.about-flint-content {
  display: flex;
  flex-direction: column; /* Stack logo and text vertically on all screens */
  align-items: center; /* Center items horizontally */
  max-width: 1000px;
  margin: 0 auto;
  gap: 40px; /* Increase gap between logo area and text area */
}

.about-flint-logo-area {
  width: 100%;
  max-width: 260px; /* Adjusted size */
  margin-bottom: 30px;
}

.about-flint-logo-area .flint-logo {
  width: 100%;
  height: auto;
  display: block; /* Ensure logo is block-level */
}

.about-flint-text {
  width: 100%; /* Ensure text takes full width */
}

.about-flint-text > p {
  font-size: clamp(16px, 2.8vw, 19px); /* Slightly larger text */
  line-height: 1.6;
  margin-bottom: 40px;
  text-align: center;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.about-flint-text > p a {
  color: var(--dark-color);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.about-flint-text > p a:hover {
  color: var(--primary-color);
}

.flint-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjust minmax for better fit */
  gap: 30px;
  margin-top: 40px;
}

.highlight-item {
  background-color: rgba(255, 255, 255, 0.8); /* Less transparent */
  padding: 25px 30px;
  box-shadow: 8px 8px 0 rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.highlight-item:hover {
  transform: translateY(-6px);
  box-shadow: 10px 14px 0 rgba(0,0,0,0.3);
}

.highlight-item h4 {
  font-size: 18px; /* Consistent H4 size */
  font-weight: 800;
  gap: 8px;
}

.highlight-item h4 i {
  font-size: 16px;
}

.highlight-item p {
  font-size: 16px;
  line-height: 1.6;
}

/* Remove media query rules that forced flex-direction: row */
@media (min-width: 768px) {
  .about-flint-content {
    /* Keep flex-direction: column if desired, or revert to row */
    /* flex-direction: row; */
    /* text-align: left; */
    /* align-items: flex-start; */
  }
  
  .about-flint-text > p {
    /* text-align: left; */
  }
  
  .about-flint-logo-area {
     /* Remove margin-right if stacked */
    /* margin-right: 30px; */
  }
}

/* Keep mobile specific adjustments */
@media (max-width: 768px) {
  .about-flint {
    padding: 40px 20px;
    margin: 60px 10px;
  }
  
  .flint-highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .about-flint {
    padding: 30px 15px;
  }
  
  .about-flint-text > p {
    font-size: 16px;
  }
  
  .highlight-item {
    padding: 20px;
  }
}

.prerequisites-content {
  display: block; 
  max-height: 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.5;
  background-color: rgba(0,0,0,0.03);
  border-left: 3px solid var(--dark-color);
  padding: 0 15px; /* Keep horizontal padding, vertical is 0 */
  margin-top: 0; 
  box-sizing: border-box;
  opacity: 0;
  transition: max-height 0.3s ease-out, padding-top 0.3s ease-out, padding-bottom 0.3s ease-out, margin-top 0.3s ease-out, opacity 0.3s ease-out; /* Transition vertical padding explicitly */
}

.prerequisites-content.active {
  max-height: 300px; /* Adjust if needed */
  padding-top: 15px;    /* Apply vertical padding when active */
  padding-bottom: 15px; /* Apply vertical padding when active */
  margin-top: 15px; 
  opacity: 1; 
}

/* Prerequisites Section Styles */
.workshop-prerequisites {
  margin-top: 25px; /* Increased space above the section */
  margin-bottom: 20px; /* Space below before CTA */
}

.prerequisites-trigger {
  /* Reset button defaults */
  background: var(--white-color);
  border: 2px solid var(--dark-color);
  color: var(--dark-color);
  padding: 6px 12px; /* Add padding */
  cursor: pointer;
  display: inline-flex; 
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 13px; /* Slightly smaller */
  box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
  position: relative; /* For pseudo-element positioning */
}

.prerequisites-trigger:hover {
  background-color: var(--secondary-color);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  transform: translate(-1px, -1px);
}

/* Icon using pseudo-element */
.prerequisites-trigger::after {
  content: '+'; /* Default icon */
  font-weight: 900;
  margin-left: auto; /* Push icon to the right */
  font-size: 14px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.prerequisites-trigger.active {
  background-color: var(--dark-color);
  color: var(--white-color);
  border-color: var(--dark-color);
  box-shadow: 1px 1px 0 rgba(0,0,0,0.4);
  transform: translate(1px, 1px);
}

.prerequisites-trigger.active::after {
  content: '−'; /* Minus symbol for active state */
  transform: rotate(180deg); /* Optional: slight animation */
} 