/*
    style.css
    Theme: Consulting Service
    Design System: Modern / Block Interface
    Color Scheme: Pastel
    Animation Style: Drawn
*/

/* ---------------------------------- */
/*      1. CSS VARIABLES & GLOBALS    */
/* ---------------------------------- */

:root {
  /* Colors */
  --primary-color: #5dade2;      /* Pastel Blue */
  --primary-color-dark: #4a98c7;
  --secondary-color: #f7a399;    /* Soft Peach */
  --accent-color: #aed6f1;       /* Light Blue Accent */
  --background-light: #f8f9fa;   /* Off-white */
  --text-dark: #34495e;          /* Muted Navy/Grey */
  --text-dark-headings: #222222; /* Stronger Dark for Headings */
  --text-light: #ffffff;
  --border-color: #e0e0e0;
  --shadow-color: rgba(52, 73, 94, 0.1);

  /* Typography */
  --font-header: 'Archivo Black', sans-serif;
  --font-body: 'Roboto', sans-serif;

  /* Sizing & Spacing */
  --header-height: 80px;
  --border-radius: 8px;
  --container-width: 1200px;
  --container-padding: 1.5rem;
}

/* Base & Typography */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--text-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  color: var(--text-dark-headings);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 1rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-color-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------------------------------- */
/*      2. LAYOUT & HELPERS           */
/* ---------------------------------- */

.container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding: 4rem 0;
}

.section-light-bg {
  background-color: var(--background-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
  color: #6c757d;
}

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


/* ---------------------------------- */
/*      3. HEADER & NAVIGATION      */
/* ---------------------------------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px var(--shadow-color);
  height: var(--header-height);
  transition: height 0.3s ease, background-color 0.3s ease;
}

.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-family: var(--font-header);
  font-size: 1.5rem;
  color: var(--text-dark-headings);
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin-left: 2rem;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 700;
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.burger-menu {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.burger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ---------------------------------- */
/*      4. GLOBAL COMPONENTS        */
/* ---------------------------------- */

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease-in-out;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--primary-color-dark);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
  color: #fff !important;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.btn-tertiary {
  color: var(--primary-color);
  font-weight: 700;
  position: relative;
  padding-bottom: 5px;
  background: none;
}

.btn-tertiary::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.4s ease;
}

.btn-tertiary:hover::after {
  width: 100%;
}

/* --- Cards --- */
.card {
  background-color: var(--text-light);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px var(--shadow-color);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content h3 {
  margin-bottom: 0.75rem;
}

/* --- Modals --- */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: var(--text-light);
  margin: 10% auto;
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 600px;
  position: relative;
  animation: slide-down 0.5s ease-out;
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-button:hover,
.close-button:focus {
  color: black;
}

@keyframes slide-down {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ---------------------------------- */
/*      5. SECTION STYLES             */
/* ---------------------------------- */

/* --- Hero Section --- */
.hero-section {
  position: relative;
  color: var(--text-light);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--text-light);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

/* --- About & Vision --- */
.columns-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.columns-container.reverse {
    grid-template-areas: "image text";
}

.columns-container.reverse .column-text {
    grid-area: text;
}

.columns-container.reverse .column-image {
    grid-area: image;
}

/* --- Features & Workshops --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* --- History --- */
.history-timeline {
  position: relative;
  max-width: 800px;
  margin: 3rem auto;
}

.history-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10px;
  height: 100%;
  width: 4px;
  background-color: var(--border-color);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 50px;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 5px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--text-light);
  border: 4px solid var(--primary-color);
  z-index: 1;
  transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
}

.timeline-content {
  position: relative;
  background-color: var(--text-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid #f0f0f0;
}

.timeline-content h4 {
  color: var(--primary-color-dark);
}

.progress-bar-container {
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-bar {
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 4px;
}


/* --- Team Section --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-grid .card-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: -75px auto 1rem;
  border: 5px solid var(--text-light);
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  position: relative;
  z-index: 2;
}

.team-grid .card {
  padding-top: 75px;
}

.team-grid .card-content {
    justify-content: flex-start;
}

.team-grid .card-content p {
    color: #6c757d;
}

/* --- Events Calendar --- */
.events-list {
  max-width: 800px;
  margin: 0 auto;
}

.event-item {
  display: flex;
  align-items: center;
  background-color: var(--text-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: transform 0.3s ease;
}

.event-item:hover {
    transform: translateX(5px);
}

.event-date {
  text-align: center;
  margin-right: 1.5rem;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: var(--border-radius);
  padding: 0.5rem 1rem;
}

.event-date .month {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}

.event-date .day {
  display: block;
  font-size: 1.8rem;
  font-family: var(--font-header);
}

.event-details {
  flex-grow: 1;
}

.event-details h4 {
  margin-bottom: 0.25rem;
}

.event-item .btn {
  margin-left: 1rem;
}

/* --- Pricing Section --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  padding: 2rem;
}

.pricing-card .price {
  font-size: 20px;
  font-family: var(--font-header);
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  text-align: left;
}

.pricing-card li {
  padding-left: 30px;
  position: relative;
  margin-bottom: 1rem;
}

.pricing-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* --- Clientele Section --- */
.client-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.client-logos img {
  max-height: 50px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.client-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- External Resources --- */
.resources-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.resource-item {
    background: var(--text-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.resource-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.resource-item h3 a {
    color: var(--text-dark-headings);
}

.resource-item h3 a:hover {
    color: var(--primary-color);
}

/* --- Contact Section --- */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-form input[type="text"],
.contact-form input[type="tel"] {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: var(--background-light);
    transition: border-color 0.3s ease;
    font-size: 1rem;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="tel"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--accent-color);
}

.contact-form button {
    width: 100%;
}


/* ---------------------------------- */
/*      6. FOOTER                     */
/* ---------------------------------- */

.footer {
  background-color: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h4 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.footer p, .footer a {
  color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
  color: var(--text-light);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 0.75rem;
}

.footer .social-links a {
  font-weight: bold;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ---------------------------------- */
/*      7. OTHER PAGES                */
/* ---------------------------------- */

/* --- Success Page --- */
.success-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--background-light);
  text-align: center;
  padding: 2rem;
}

.success-card {
  background-color: var(--text-light);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 40px var(--shadow-color);
  max-width: 500px;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem auto;
}

.success-icon--circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke: #ccc;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-icon--check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke: var(--primary-color);
  stroke-width: 3;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

.success-title {
  margin-bottom: 1rem;
}

/* --- Legal Pages (Privacy, Terms) --- */
.page-main {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 4rem;
}
.page-title {
    margin-bottom: 2rem;
}
.page-content p {
    margin-bottom: 1.5rem;
}

/* ---------------------------------- */
/*      8. RESPONSIVE DESIGN          */
/* ---------------------------------- */

@media (max-width: 992px) {
  .columns-container, .contact-container {
    grid-template-columns: 1fr;
  }
  .columns-container.reverse {
    grid-template-areas: "text" "image";
  }
}

@media (max-width: 768px) {
  /* --- Typography --- */
  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }

  /* --- Navigation --- */
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--text-light);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: flex;
    transition: left 0.4s ease-in-out;
  }

  .nav-menu.active {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    text-align: center;
  }

  .nav-item {
    margin: 1.5rem 0;
  }

  .nav-link {
    font-size: 1.5rem;
  }
  
  .burger-menu {
    display: block;
  }

  .burger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .burger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* --- Sections --- */
  .section {
    padding: 3rem 0;
  }

  .event-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-date {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .event-item .btn {
      margin-left: 0;
      margin-top: 1rem;
  }
  
  .resources-list {
      grid-template-columns: 1fr;
  }
}

.testimonial-grid {
    display: grid
;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.section-title,
.page-title {
  word-break: break-word;
}