
:root {
  --primary: #2A5B84;
  --secondary: #F7941D;
  --accent: #5ABFAD;
  --light-bg: #F8F9FA;
  --dark-bg: #263238;
  --text-dark: #2C3E50;
  --text-light: #ECF0F1;
  --error: #E74C3C;
  --success: #27AE60;
  --border-radius: 8px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Epilogue', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 10px;
}

h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 60px;
  background-color: var(--accent);
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

section {
  padding: 80px 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary);
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover, .btn:focus {
  background-color: #1d4166;
  color: var(--text-light);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

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

.btn-accent:hover, .btn-accent:focus {
  background-color: #4aa799;
  color: var(--text-light);
}

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

.btn-secondary:hover, .btn-secondary:focus {
  background-color: #e88b17;
  color: var(--text-light);
}

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

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 3rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-4 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}


.site-header {
  background-color: var(--light-bg);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 0.5rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 1.5rem;
}

.nav-menu a {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem;
  position: relative;
}

.nav-menu a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--primary);
}


.hero {
  background: linear-gradient(rgba(42, 91, 132, 0.85), rgba(42, 91, 132, 0.85)), url('../images/edinburgh-city-1.jpg');
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  padding: 100px 0;
  position: relative;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  color: var(--text-light);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-btns .btn {
  margin-right: 1rem;
  margin-bottom: 1rem;
}


.features {
  background-color: white;
}

.features-title {
  text-align: center;
  margin-bottom: 3rem;
}

.feature-box {
  background-color: inherit !important;
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}


.about {
  background-color: var(--light-bg);
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-content {
  padding: 2rem 0;
}


.schedule {
  background-color: white;
}

.schedule-item {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.schedule-item:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.schedule-day {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.schedule-time {
  color: var(--secondary);
  font-weight: 500;
}

.schedule-location {
  font-style: italic;
}


.map-section {
  padding: 60px 0;
  background-color: var(--light-bg);
}

.map-container {
  height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}


.testimonials {
  background-color: white;
}

.testimonial {
  padding: 2rem;
  margin-bottom: 30px;
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  height: 100%;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-content:before {
  content: '\201C';
  font-size: 3rem;
  position: absolute;
  left: -20px;
  top: -20px;
  color: var(--accent);
  opacity: 0.3;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.testimonial-role {
  color: var(--secondary);
  font-size: 0.9rem;
}


.cta {
  background: linear-gradient(rgba(42, 91, 132, 0.9), rgba(42, 91, 132, 0.9)), url('../images/peer-support-1.jpg');
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  text-align: center;
  padding: 100px 0;
}

.cta h2 {
  color: var(--text-light);
}

.cta h2:after {
  left: 50%;
  transform: translateX(-50%);
}

.cta-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-weight: 500;
  text-align: left;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  background-color: white;
  font-family: 'Epilogue', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(90, 191, 173, 0.25);
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.form-check-input {
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.form-check-label {
  font-size: 0.9rem;
  color: var(--text-dark);
  text-align: left;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
}


.footer {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: 60px 0 30px;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 40px;
}

.footer-info p {
  margin-bottom: 0.5rem;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  position: relative;
  padding-bottom: 10px;
}

.footer-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 40px;
  background-color: var(--accent);
}

.footer-links {
  list-style: none;
}

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

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

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 0.75rem;
  color: var(--accent);
  font-size: 1.2rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}


.values-hero {
  background: linear-gradient(rgba(42, 91, 132, 0.85), rgba(42, 91, 132, 0.85)), url('../images/peer-support-2.jpg');
  background-size: cover;
  background-position: center;
}

.value-card {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  margin-bottom: 30px;
  height: 100%;
  transition: var(--transition);
}

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

.value-card-img {
  height: 200px;
  overflow: hidden;
}

.value-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.value-card-content {
  padding: 1.5rem;
}

.value-card-title {
  color: var(--primary);
  margin-bottom: 1rem;
}

.value-card-text {
  margin-bottom: 1.5rem;
}


.expect-hero {
  background: linear-gradient(rgba(42, 91, 132, 0.85), rgba(42, 91, 132, 0.85)), url('../images/freelancer-group-1.jpg');
  background-size: cover;
  background-position: center;
}

.checklist {
  list-style: none;
  margin-bottom: 2rem;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}

.checklist li:before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--accent);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; 
  height: 0;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--accent);
  left: 50%;
  transform: translateX(-50%);
}

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

.timeline-content {
  position: relative;
  width: 45%;
  padding: 1.5rem;
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.timeline-item:nth-child(odd) .timeline-content {
  left: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
  left: 0;
}

.timeline-date {
  position: absolute;
  top: 0;
  background-color: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 0.9rem;
}

.timeline-item:nth-child(odd) .timeline-date {
  left: 0;
  transform: translateX(-50%);
}

.timeline-item:nth-child(even) .timeline-date {
  right: 0;
  transform: translateX(50%);
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--accent);
  border-radius: 50%;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
}


.contact-hero {
  background: linear-gradient(rgba(42, 91, 132, 0.85), rgba(42, 91, 132, 0.85)), url('../images/coworking-space-1.jpg');
  background-size: cover;
  background-position: center;
}

.contact-info {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: white;
}

.contact-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-form {
  background-color: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.hours-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

.hours-day {
  font-weight: 500;
}


.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(38, 50, 56, 0.95);
  color: var(--text-light);
  padding: 1.5rem;
  z-index: 1010;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 800px;
  margin: 0 auto;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1rem;
}

.cookie-settings-btn {
  margin-left: auto;
}

.cookie-modal {
  display: none;
  position: fixed;
  z-index: 1020;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.cookie-modal.show {
  display: block;
}

.cookie-modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 2rem;
  border-radius: var(--border-radius);
  max-width: 600px;
  box-shadow: var(--box-shadow);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.cookie-modal-title {
  margin-bottom: 0;
}

.cookie-close {
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-dark);
  background: none;
  border: none;
}

.cookie-category {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-category-title {
  margin-bottom: 0;
  font-size: 1.2rem;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: var(--transition);
  border-radius: 34px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: var(--transition);
  border-radius: 50%;
}

input:checked + .cookie-slider {
  background-color: var(--accent);
}

input:disabled + .cookie-slider {
  background-color: #e9e9e9;
  cursor: not-allowed;
}

input:checked + .cookie-slider:before {
  transform: translateX(26px);
}

.cookie-modal-footer {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}


.thanks-section {
  padding: 100px 0;
  text-align: center;
}

.thanks-icon {
  font-size: 5rem;
  color: var(--success);
  margin-bottom: 2rem;
}


.policy-content {
  background-color: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.policy-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.policy-content p,
.policy-content ul {
  margin-bottom: 1rem;
}

.policy-content ul {
  padding-left: 2rem;
}

.policy-meta {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  font-style: italic;
  color: #777;
}


.iti {
  width: 100%;
}


@media (max-width: 991px) {
  section {
    padding: 60px 0;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .timeline:before {
    left: 30px;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
    left: 60px !important;
  }
  
  .timeline-date {
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    top: -30px;
  }
  
  .timeline-dot {
    left: 30px;
  }
}

@media (max-width: 767px) {
  section {
    padding: 50px 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  h3 {
    font-size: 1.4rem;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--light-bg);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem;
  }
  
  .nav-menu.show {
    display: flex;
  }
  
  .nav-menu li {
    margin: 0 0 0.5rem 0;
  }
  
  .nav-menu li:last-child {
    margin-bottom: 0;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .cookie-consent {
    padding: 1rem;
  }
  
  .cookie-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cookie-settings-btn {
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

@media (max-width: 575px) {
  .navbar {
    padding: 0.75rem 0;
  }
  
  .logo img {
    height: 32px;
  }
  
  .feature-box,
  .testimonial {
    padding: 1.5rem;
  }
  
  .contact-form,
  .cta-form {
    padding: 1.5rem;
  }
  
  .cookie-modal-content {
    margin: 20% auto;
    padding: 1.5rem;
  }
}