:root {
  --primary: #1A3C68;
  --secondary: #C45A2D;
  --accent: #E9B44C;
  --background-light: #F9F9F9;
  --background-blue: #E6EBF2;
  --text-dark: #333333;
  --text-medium: #666666;
}

body {
  font-family: 'Raleway', sans-serif;
  color: var(--text-dark);
  background-color: var(--background-light);
  background-image: linear-gradient(rgba(230, 235, 242, 0.5) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(230, 235, 242, 0.5) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  font-weight: 700;
}

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

a:hover, a:focus {
  color: var(--secondary);
  text-decoration: underline;
}

.btn {
  border-radius: 0;
  padding: 10px 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  transition: all 0.3s ease;
}

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

.btn-primary:hover, .btn-primary:focus {
  background-color: #15305A;
  border-color: #15305A;
}

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

.btn-secondary:hover, .btn-secondary:focus {
  background-color: #B24D25;
  border-color: #B24D25;
}


.navbar {
  background-color: var(--background-light);
  border-bottom: 1px solid var(--background-blue);
  padding: 15px 0;
}

.navbar-brand img {
  height: 50px;
}

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  margin: 0 12px;
  position: relative;
}

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

.navbar-nav .nav-link:hover:after,
.navbar-nav .nav-link:focus:after,
.navbar-nav .nav-item.active .nav-link:after {
  width: 100%;
}

.navbar-nav .nav-item.active .nav-link {
  color: var(--primary);
}

.navbar-toggler {
  border: none;
}


.hero {
  position: relative;
  padding: 100px 0;
  background-color: var(--background-blue);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(230, 235, 242, 0.7) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(230, 235, 242, 0.7) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-medium);
  margin-bottom: 30px;
}

.hero-image {
  position: relative;
  z-index: 1;
  border: 15px solid white;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: translateY(-10px);
}


.section {
  padding: 80px 0;
}

.section-title {
  position: relative;
  margin-bottom: 40px;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
  bottom: -10px;
  left: 0;
}

.card {
  border: none;
  border-radius: 0;
  background: white;
  transition: all 0.3s ease;
  height: 100%;
}

.card-body {
  padding: 30px;
}

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

.card-title {
  color: var(--primary);
  font-weight: 700;
}

.card-img-top {
  height: 250px;
  object-fit: cover;
  border-radius: 0;
}


.feature {
  text-align: center;
  margin-bottom: 30px;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 700;
}


.testimonial {
  background-color: white;
  padding: 30px;
  margin-bottom: 30px;
  position: relative;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 5rem;
  color: var(--background-blue);
  font-family: Georgia, serif;
  opacity: 0.3;
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 700;
  display: block;
}

.testimonial-position {
  color: var(--text-medium);
  font-size: 0.9rem;
}


footer {
  background-color: var(--primary);
  color: white;
  padding: 60px 0 30px;
}

.footer-title {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

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

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #CCD9E8;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
  text-decoration: none;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: #CCD9E8;
}


.contact-form .form-control {
  border-radius: 0;
  border: 1px solid #ddd;
  padding: 12px 15px;
  margin-bottom: 20px;
}

.contact-form .form-control:focus {
  box-shadow: none;
  border-color: var(--secondary);
}

.contact-info {
  margin-bottom: 40px;
}

.contact-info-item {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.2rem;
}


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

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: var(--background-blue);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline-container {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -12px;
  background-color: white;
  border: 4px solid var(--secondary);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-left {
  left: 0;
}

.timeline-right {
  left: 50%;
}

.timeline-right::after {
  left: -13px;
}

.timeline-content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline-date {
  color: var(--secondary);
  font-weight: 700;
}


.calendar {
  background-color: white;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar-day {
  text-align: center;
  padding: 10px;
  background-color: var(--background-light);
  font-weight: 700;
}

.calendar-date {
  text-align: center;
  padding: 10px;
  background-color: var(--background-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.calendar-date:hover {
  background-color: var(--background-blue);
}

.calendar-date.active {
  background-color: var(--primary);
  color: white;
}

.calendar-date.event {
  position: relative;
}

.calendar-date.event::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: var(--secondary);
  border-radius: 50%;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
}


.event-card {
  display: flex;
  margin-bottom: 20px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  overflow: hidden;
}

.event-date {
  width: 100px;
  background-color: var(--primary);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
}

.event-day {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.event-month {
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-top: 5px;
}

.event-content {
  padding: 20px;
  flex-grow: 1;
}

.event-title {
  margin-bottom: 10px;
}

.event-meta {
  display: flex;
  margin-bottom: 10px;
  color: var(--text-medium);
  font-size: 0.9rem;
}

.event-meta-item {
  margin-right: 20px;
  display: flex;
  align-items: center;
}

.event-meta-item i {
  margin-right: 5px;
  color: var(--secondary);
}


.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
  padding: 20px;
  z-index: 9999;
  display: none;
}

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

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  margin-right: 20px;
  margin-bottom: 10px;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}


.cookie-settings {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  display: none;
}

.cookie-settings.show {
  display: flex;
}

.cookie-settings-content {
  background-color: white;
  padding: 30px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

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

.cookie-settings-title {
  margin: 0;
}

.cookie-settings-group {
  margin-bottom: 30px;
}

.cookie-settings-group-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cookie-settings-description {
  color: var(--text-medium);
  margin-bottom: 20px;
}

.cookie-settings-actions {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}


.form-check-input:checked {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(196, 90, 45, 0.25);
  border-color: var(--secondary);
}


.thank-you-container {
  text-align: center;
  padding: 100px 0;
}

.thank-you-icon {
  font-size: 5rem;
  color: var(--secondary);
  margin-bottom: 30px;
}

.thank-you-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.thank-you-text {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 30px;
}


.iti {
  width: 100%;
  margin-bottom: 20px;
}


@media (max-width: 992px) {
  .navbar-nav {
    margin-top: 15px;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .timeline::after {
    left: 31px;
  }
  
  .timeline-container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-container::after {
    left: 18px;
  }
  
  .timeline-right {
    left: 0;
  }
  
  .cookie-consent-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-text {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .event-card {
    flex-direction: column;
  }
  
  .event-date {
    width: 100%;
    padding: 10px 0;
    flex-direction: row;
    justify-content: center;
  }
  
  .event-day, .event-month {
    margin: 0 5px;
  }
}


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 1s ease-in-out;
}

@keyframes slideInUp {
  from { 
    transform: translateY(40px);
    opacity: 0;
  }
  to { 
    transform: translateY(0);
    opacity: 1;
  }
}

.slide-in-up {
  animation: slideInUp 0.8s ease-in-out;
}


.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-secondary {
  background-color: var(--secondary) !important;
}

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

.bg-blue-light {
  background-color: var(--background-blue) !important;
}