@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Raleway:wght@300;400;500;600;700&display=swap');

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

body {
  font-family: Arial, sans-serif;
}

/* Navbar Styles */
.navbar {
  background-color: #C1121F;
  padding: 1rem;
  position: relative;
  z-index: 1000;
}

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

.logo {
  height: 50px;
  width: auto;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: opacity 0.3s;
}

.logo-link:hover,
.logo-link:focus {
  opacity: 0.85;
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.site-title {
  color: white;
  font-size: 1.2rem;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  display: none; 
}

/* Show title on larger screens */
@media screen and (min-width: 480px) {
  .site-title {
    display: block;
    font-size: 1rem;
  }
}

@media screen and (min-width: 768px) {
  .site-title {
    font-size: 1.3rem;
  }
}

/* Hamburger Menu Button */
.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger:focus {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #C1121F;
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.nav-menu.active {
  max-height: 300px;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.nav-menu li {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 1rem;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  transition: background-color 0.3s;
}

.nav-menu a:hover,
.nav-menu a:focus {
  background-color: #780000;
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: -2px;
}

/* Desktop Styles */
@media screen and (min-width: 768px) {
  .hamburger {
    display: none;
  }

  .nav-menu {
    position: static;
    max-height: none;
    width: auto;
    background-color: transparent;
  }

  .nav-menu ul {
    flex-direction: row;
    gap: 0;
  }

  .nav-menu li {
    border: none;
  }

  .nav-menu a {
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
  }
}

/* Header Section */
.header {
  position: relative;
  width: 100%;
  height: 500px;
  background-image: url('../images/palace.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.header-content {
  background-color: rgba(56, 78, 112, 0.75);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: left;
  max-width: 90%;
}

.header-content h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.header-content p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: white;
}

/* Responsive Header */
@media screen and (min-width: 768px) {
  .header {
    height: 600px;
    justify-content: flex-end;
  }

  .header-content {
    max-width: 500px;
  }

  .header-content h1 {
    font-size: 2.5rem;
  }

  .header-content p {
    font-size: 1rem;
  }
}

/* Program Introduction Section */
.program-intro {
  background-color: #FDF0D5;
  padding: 3rem 2rem;
}

.intro-container {
  max-width: 1200px;
  margin: 0 auto;
}

.program-intro h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #003049;
  margin-bottom: 1.5rem;
}

.program-intro p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #333;
  line-height: 1.8;
}

@media screen and (min-width: 768px) {
  .program-intro {
    padding: 4rem 2rem;
  }

  .program-intro h2 {
    font-size: 2rem;
  }

  .program-intro p {
    font-size: 1rem;
  }
}

/* Destinations Section */
.destinations {
  background-color: #ffffff;
  padding: 3rem 2rem;
}

.destinations-container {
  max-width: 1200px;
  margin: 0 auto;
}

.destinations h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #C1121F;
  margin-bottom: 1rem;
  text-align: center;
}

.destinations-intro {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #333;
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.destination-card {
  background-color: #FDF0D5;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.destination-card h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #003049;
  margin-bottom: 1rem;
}

.destination-description {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #333;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.destination-card h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #C1121F;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.destination-card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.destination-card li {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #333;
  line-height: 1.8;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.destination-card li::before {
  content: "✈";
  color: #C1121F;
  font-size: 1rem;
  position: absolute;
  left: 0;
}

.destination-images {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.image-placeholder {
  background-color: #E5E5E5;
  border: 2px dashed #999;
  border-radius: 8px;
  padding: 3rem 1rem;
  text-align: center;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
}

.destination-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.destinations-note {
  background-color: #384E70;
  color: white;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 2rem;
}

.destinations-note p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

.destinations-note strong {
  font-weight: 600;
}

/* Desktop responsive for destinations */
@media screen and (min-width: 768px) {
  .destinations {
    padding: 4rem 2rem;
  }

  .destinations h2 {
    font-size: 2.5rem;
  }

  .destinations-intro {
    font-size: 1.2rem;
  }

  .destination-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2.5rem;
  }

  .destination-content {
    order: 1;
  }

  .destination-images {
    order: 2;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Alternate layout for even cards */
  .destination-card:nth-child(even) .destination-content {
    order: 2;
  }

  .destination-card:nth-child(even) .destination-images {
    order: 1;
  }

  .destination-card h3 {
    font-size: 2rem;
  }

  .destination-description {
    font-size: 1.1rem;
  }

  .destination-card h4 {
    font-size: 1.4rem;
  }

  .destination-card li {
    font-size: 1rem;
  }

  .destinations-note p {
    font-size: 1rem;
  }
}

/* Program Logistics Section */
.program-logistics {
  background-color: #ffffff;
  padding: 3rem 2rem;
}

.logistics-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.logistics-info h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #C1121F;
  margin-bottom: 0.5rem;
}

.logistics-info p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #333;
}

.logistics-section {
  margin-bottom: 2.5rem;
}

.logistics-section h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #003049;
  margin-bottom: 1rem;
}

.logistics-section ul {
  list-style: none;
  padding-left: 0;
}

.logistics-section li {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #333;
  line-height: 1.8;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.logistics-section li::before {
  content: "•";
  color: #C1121F;
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
}

.logistics-section li strong {
  color: #003049;
  font-weight: 600;
}

.important-note {
  background-color: #384E70;
  color: white;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 2rem;
}

.important-note p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

.important-note p:last-child {
  margin-bottom: 0;
}

.important-note strong {
  font-weight: 600;
}

@media screen and (min-width: 768px) {
  .program-logistics {
    padding: 4rem 2rem;
  }

  .logistics-info h3 {
    font-size: 1.8rem;
  }

  .logistics-info p {
    font-size: 1.2rem;
  }

  .logistics-section h3 {
    font-size: 1.8rem;
  }

  .logistics-section li {
    font-size: 1.1rem;
  }

  .important-note p {
    font-size: 1rem;
  }
}

/* Timeline Section */
.timeline-section {
  margin-top: 3rem;
  padding: 2rem;
  background-color: #FDF0D5;
  border-radius: 10px;
}

.timeline-section h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #003049;
  margin-bottom: 0.5rem;
  text-align: center;
}

.timeline-intro {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #333;
  text-align: center;
  margin-bottom: 2rem;
}

.timeline-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 1rem;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.timeline-marker {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  background-color: #C1121F;
  border: 3px solid #FDF0D5;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #C1121F;
  margin-top: 0.3rem;
}

.timeline-content h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #003049;
  margin-bottom: 0.3rem;
}

.timeline-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #C1121F;
  margin-bottom: 0.3rem;
}

.timeline-content p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

@media screen and (min-width: 768px) {
  .timeline-section {
    padding: 3rem;
  }

  .timeline-section h3 {
    font-size: 2.2rem;
  }

  .timeline-intro {
    font-size: 1.1rem;
  }

  .timeline-placeholder {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
    padding-top: 3rem;
    position: relative;
  }

  /* Horizontal line connecting timeline items */
  .timeline-placeholder::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0.6rem;
    height: 3px;
    background-color: #C1121F;
    z-index: 0;
  }

  .timeline-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
  }

  .timeline-marker {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0;
  }

  .timeline-content {
    margin-top: 1rem;
  }

  .timeline-content h4 {
    font-size: 1.1rem;
  }

  .timeline-date {
    font-size: 0.95rem;
  }

  .timeline-content p {
    font-size: 0.9rem;
  }
}

@media screen and (min-width: 1024px) {
  .timeline-content h4 {
    font-size: 1.2rem;
  }

  .timeline-date {
    font-size: 1rem;
  }

  .timeline-content p {
    font-size: 0.95rem;
  }
}

/* Footer Styles */
.footer {
  background-color: #003049;
  color: white;
  text-align: center;
  padding: 1.5rem;
  width: 100%;
  margin-top: auto;
}

.footer p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
}




.faq-section {
    background-color: #f7eccc;
    padding: 3rem 1rem;              
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.faq-container {
    max-width: 960px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 18px;            
    padding: 2rem 1.75rem;        
    margin: 0 auto;
}

.faq-title {
    text-align: center;
    font-size: 1.7rem;              
    margin-bottom: 2rem;
    color: #123047;
}

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

.faq-item + .faq-item {
    margin-top: 1.75rem;
    padding-top: 1.75rem;
    border-top: 1px solid #f0e0c0;
}

.faq-question {
    font-size: 0.98rem;            
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #1f2a36;
}

.faq-answer {
    margin: 0;
    line-height: 1.7;
    font-size: 0.95rem;          
    color: #38424f;
}

/* Links inside answers */
.faq-answer a {
    color: #b42828;              
    text-decoration: underline;
}

.faq-answer a:hover,
.faq-answer a:focus {
    text-decoration: none;
}

.nav-menu a.active {
    font-weight: 600;
    border-bottom: 2px solid #ffffff;
}

@media (min-width: 768px) {
    .faq-section {
        padding: 4rem 1.5rem;
    }

    .faq-container {
        padding: 3rem 3.5rem;
        border-radius: 28px;
    }

    .faq-title {
        font-size: 2.1rem;
        margin-bottom: 2.5rem;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-answer {
        font-size: 0.98rem;
    }
}





/* apply styles */

.apply-section {
    background-color: #f7eccc;
    padding: 3rem 1rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.apply-container {
    max-width: 960px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 18px;
    padding: 2.5rem 2rem;
    margin: 0 auto 3rem;
}

.apply-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #123047;
    letter-spacing: 0.02em;
}

.apply-form .form-group {
    margin-bottom: 1.25rem;
}

.apply-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
    color: #1f2a36;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.6rem 0.75rem;
    border-radius: 2px;
    border: 1px solid #bfbfbf;
    font-size: 0.95rem;
    font-family: inherit;
}

.apply-button {
    display: block;
    margin: 1.75rem auto 0;
    padding: 0.7rem 2.5rem;
    border: none;
    border-radius: 4px;
    background-color: #b42828;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.apply-button:hover,
.apply-button:focus {
    background-color: #902020;
}

.form-status {
    margin-top: 0.75rem;
    text-align: center;
    font-size: 0.9rem;
    color: #123047;
}

@media (min-width: 768px) {
    .apply-section {
        padding: 4rem 1.5rem;
    }

    .apply-container {
        padding: 3rem 3.5rem;
        border-radius: 28px;
    }

    .apply-title {
        font-size: 2.1rem;
        margin-bottom: 2.5rem;
    }
}
