/* =========================
   GLOBAL STYLES
========================= */

body {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    background-color: #ffffff;
    color: #3a2a2c;
    
}

.image {
    max-height: 600px;
    height: auto !important;
    width: auto !important;
}

.shadow {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 1);
}

h1, h2, h3 {
    margin: 0;
    font-weight: normal;
}

h2 {
    font-size: 35px;
    color: #5a2d33;
    margin-bottom: 20px;
}

h3 {
    font-size: 25px;
    color: #5a2d33;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

.selected {
    color: #cfcfcf;
}

.section {
    padding: 20px 0;
    max-width: 1500px;
    margin: 0 auto;
}

.container {
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
}

.tagline {
    font-style: italic;
    letter-spacing: 4px;
    color: #b87c8b;
    margin-top: 10px;
}

p, li {
    line-height: 1.6;
}

/* =========================
   HEADER
========================= */

.site-banner{
  width: calc(100% - 60px);
  background:#ff0026;
  color:#000000;
  text-align:center;
  font-size: 15px;
  padding: 30px;
  font-weight:bold;
  border-bottom:2px solid #c7a6ab;
}

.site-header {
    background-color: #e6dede;
    padding: 20px 40px;
    position: relative;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

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

.brand-text {
    line-height: 1.1;
    margin-right: 50px;
}

.site-title {
    font-size: 28px;
    letter-spacing: 3px;
    color: #5a2d33;
}

.sub-title {
    font-size: 16px;
    letter-spacing: 4px;
    color: #b87c8b;
}


.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: #e6dede;
    min-width: 200px;
    top: 100%;
    left: 0;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.dropdown-menu a {
    display: block;
    padding: 12px 18px;
    color: #5a2d33;
    text-decoration: none;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: #b87c8b;
    color: white;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* =========================
   NAVIGATION
========================= */

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-size: 14px;
    letter-spacing: 2px;
    color: #3a2a2c;
    padding-bottom: 5px;
    position: relative;
    background: none;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #b87c8b;
    transition: 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.selected::after {
    width: 100%;
}

/* =========================
   PAGE HERO BANNER
========================= */

.page-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay h1 {
    color: white;
    font-size: 60px;
    letter-spacing: 4px;
    font-weight: bold;
}

/* =========================
   HOME LAYOUT
========================= */

.home-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.home-text {
    flex: 1;
}

.home-text h2 {
    font-size: 48px;
    color: #5a2d33;
    margin-bottom: 20px;
}

.home-text p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.home-image {
    flex: 1;
    text-align: center;
}

.home-image img {
    width: 100%;
    max-width: 100%;
}

.apply-img {
    width: 50%;
    margin:auto;
    display:block;
}

/* =========================
   SIMPLE TEXT PAGE LAYOUT
========================= */

.simple-page {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.simple-text p {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* =========================
   ALTERNATE SECTION
========================= */

.alt-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.reverse {
    flex-direction: row-reverse;
}

/* =========================
   FIXED CIRCLE PHOTO
========================= */

.circle-photo {
    width: 350px;
    height: 350px; 
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    margin-left: -10px
}

.circle-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================
   BUTTON
========================= */

.button {
    display: inline-block;
    background-color: #b87c8b;
    padding: 12px 28px;
    letter-spacing: 2px;
    font-size: 14px;
    transition: 0.3s;
    border-radius: 100px;
    color: white;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
    background-color: #5a2d33;
    transform: scale(1.05);
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.blog-link:hover {
    text-decoration: underline;
}

/* =========================
   FOOTER
========================= */
.site-footer {
    background-color: #5a2d33;
    color: #ffffff;
    padding: 60px 40px 30px 40px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand img {
    width: 80px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h4 {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.footer-column a {
    font-size: 14px;
    opacity: 0.85;
    transition: 0.3s ease;
}

.footer-column a:hover {
    opacity: 1;
}

.footer-column p {
    font-size: 14px;
    opacity: 0.85;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 13px;
    opacity: 0.8;
}

/* =========================
   APPLY PAGE
========================= */

.apply-page {
    align-items: center;
    gap: 60px;
}

.apply-top {
    display: flex;
    align-items: center;
    gap: 60px;
}

.apply-image {
    flex: 1;
    text-align: center;
}

.apply-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.apply-intro {
    flex: 1;
}

.apply-bottom {
    margin-top: 40px;
}

/* =========================
   CONTACT FORM
========================= */

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    margin-top: 40px;
    
}

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

.contact-form label {
    display: block;
    margin-bottom: 8px;
    letter-spacing: 2px;
    font-size: 14px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    border: 1px solid #d4caca;
    background-color: #ffffff;
    box-sizing: border-box;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #b87c8b;
}

.contact-form textarea {
    resize: vertical;
}



/* =========================
   BLOG CARDS
========================= */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.blog-card {
  display: block;
  background: white;
  padding: 20px;
  margin: 0px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.blog-card h2 {
  color: #6d3a3a;
}

.blog-card a {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  text-decoration: none;
  color: #6d3a3a;
}

.blog-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 15px;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-date {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.25rem;
}

.read-more {
  font-weight: bold;
  margin-top: 10px;
  display: inline-block;
}



.blog-filters{
  margin-bottom:30px;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
}

.blog-filters button{
  padding:8px 14px;
  border:none;
  background:#6e8a6f;
  color:white;
  cursor:pointer;
}

.blog-filters button:hover{
  background:#4e6b4e;
}

.post-tags{
  margin-top:10px;
}

.tag{
  display:inline-block;
  font-size:12px;
  padding:3px 8px;
  margin-right:5px;
  background:#e8efe8;
  border-radius:6px;
}



/* =========================
   ARTICLES
========================= */
.content-container {
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 20px;
}

.dropdown-section {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}

.dropdown-section summary {
  cursor: pointer;
  list-style: none;
  font-weight: bold;
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-section summary::after {
  content: "▼";
  font-size: 0.8rem;
  transition: transform 0.2s;
}

.dropdown-section[open] summary::after {
  transform: rotate(180deg);
}

.dropdown-section article {
  padding: 15px;
}

.dropdown-section article p {
  line-height: 1.6;
  color: #444;
}

.dropdown-section img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.image-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0;
  justify-content: center;
  max-width: 1000px;
}

.article-image {
  max-width: 330px;
}

.article-image img {
  width: 100%;
  border-radius: 6px;
}

.article-image figcaption {
  font-size: 0.9rem;
  color: #555;
  margin-top: 6px;
  text-align: center;
}

.pink-link {
    color: #b87c8b
}

.pink-link:hover {
    color: gray
}

.blog-img-right {
  float: right;
  width: 250px;
  margin: 0 0 15px 20px;
  border-radius: 10px;
}


/* =========================
   CITATIONS
========================= */
.citation-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 30px 20px 0 20px;
  border-top: 1px solid #ddd;
}

.citation-section h2 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.citation-list {
  padding-left: 20px;
  line-height: 1.6;
  color: #444;
}

.citation-list li {
  margin-bottom: 10px;
}

.citation-list a {
  color: #2a6db0;
  text-decoration: none;
}

.citation-list a:hover {
  text-decoration: underline;
}

.content-container,
.citation-section {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}



.section {
    opacity: 0;
    transform: translateX(-40px);
    animation: sectionFadeSlide 0.9s ease forwards;
}

.section:nth-of-type(2) {
    animation-delay: 0.2s;
}

.section:nth-of-type(3) {
    animation-delay: 0.4s;
}

@keyframes sectionFadeSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.page-hero h1 {
    opacity: 0;
    animation: heroFade 1.2s ease forwards;
    animation-delay: 0.4s;
}

@keyframes heroFade {
    to {
        opacity: 1;
    }
}







@media (max-width: 768px) {

/* =========================
    HEADER MOBILE
========================= */

    .site-header {
        padding: 25px 15px;
    }

    .header-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        position: relative;
    }

    .brand {
        flex-direction: column;
        gap: 10px;
    }

    .logo {
        width: 70px;
    }

    .site-title {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .sub-title {
        font-size: 14px;
        letter-spacing: 3px;
    }

    /* NAV CONTAINER */
    nav {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        margin-top: 10px;
    }

    .menu-toggle span {
        width: 28px;
        height: 3px;
        background: #5a2d33;
        transition: all 0.3s ease;
    }

.nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #e6dede;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0;

    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;

    z-index: 2000;
}

/* When open */
.nav-links.active {
    padding: 20px 0;
    max-height: 600px;
}
.nav-links a {
    padding: 10px 0;
}

    /* =========================
       PAGE LAYOUT MOBILE
    ========================= */
    .home-layout {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .container {
        width: 92%;
    }
    .home-text h2 {
        font-size: 32px;
    }
    .section {
        padding: 30px 0;
    }
    .button-row {
        flex-direction: column;
        align-items: center;
    }
    .button {
        width: 80%;
        text-align: center;
    }
    .home-image img {
        width: 100%;
        height: auto;
    }
    .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    }
}

/* =========================
   HAMBURGER ANIMATION
========================= */

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
