body {
    margin: 0;
    padding: 0 32px;
    box-sizing: border-box;
    font-family: "aptos", serif;               
    background-color: #F6EBDC;
}

@font-face {
  font-family: 'MyFont';
  src: url('Fonts/kefa.ttf');
  font-weight: normal;
  font-weight: lighter;
  font-style: normal;
}

@font-face {
  font-family: 'aptos';
  src: url('Fonts/Aptos-Light.ttf');
  font-weight: lighter;
  font-style: normal;
}

h1{
    font-family: 'Zapfino', sans-serif;
   
}


.section{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Header */

.header{
    display: flex;
    flex-direction: row;
    gap: auto;
    width: 1280px;
    max-width: 1280px;
    padding: 24px;
    justify-content: space-between;
    align-items: center;
}

.header img{
    min-width: 50px;
    min-height: 50px;
    max-height: 50px;
    max-width: 50px;
}

.header img:hover{
    cursor: pointer;
}

.header a{
    text-decoration: none;
    color: rgba(0,0,0,0.50);
    font-weight: 600;
}

.header a.button{
    border: 2px solid rgb(0, 0, 0, 25%);
    padding: 8px 16px;
    border-radius: 4px;
    color: #4A5D3A;
}

.header a.button:hover{
    background-color: #4A5D3A;
    color: white;
    border: 2px solid #4A5D3A;
    transition: background-color 0.3s, color 0.3s;
}

.header div{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

/* Background Image */

.bg-section {
  height: 655px;
  max-height: 655px; /* or use min-height / vh for responsiveness */
  background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%), url('Images/background.jpeg');
  background-size: cover;       /* fills the area, cropping as needed */
  background-position: center;  /* center the crop */
  background-repeat: no-repeat;
  width: 100%;
  display: flex;
  justify-content: start;
  align-items: end;
  border-radius: 16px;
  margin: 32px 0;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.bg-section div{
    color: white;
    margin: 96px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 1000px) {
    .bg-section div {
        margin: 48px;
    }
}

@media (max-width: 600px) {
    .bg-section div {
        margin: 24px;
    }
}

.bg-section h1{
    font-size: 48px;
    font-weight: bold;
    margin-bottom: -80px;
    padding: 0;
}

.bg-section p{
    font-size: 18px;
    line-height: 1.5;
}

/* Quote */

.quote-section{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #38533C;
    border-radius: 20px 100px 20px 100px;
}

.quote-container{
    display: flex;
    margin: 90px 48px;
    max-width: 1062px;
    width: 100%;
    padding: 32px 64px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    border-radius: 16px;
    background: #38533C;
    position: relative; 
    overflow: visible;
}

@media (max-width: 975px) {
  .break {
    display: none;
  }
}

@media (max-width: 700px) {
    .quote-container {
        padding: 16px;
    }
}

.quote-container::before,
.quote-container::after {
    position: absolute;
    font-size: 150px;
    line-height: 1;
    color: #D3FF53; 
    font-weight: 600;
    z-index: 1;
    pointer-events: none;
}

.quote-container::before {
    content: '“';
    top: 0px;
    left: -30px;
    transform: translate(-6px, -20px); 
}

.quote-container::after {
    content: '”';
    bottom: -90px;
    right: 0px;
    transform: translate(6px, 20px); 
}

.quote-container p{
    font-size: 1.5rem;
    text-align: center;
    z-index: 2; 
    margin: 0;
    padding: 0;
    color: white;
}

/* Collage */

.collage-section{
    display: flex;
    padding: 96px 0;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    background: #F6EBDC;
}

.collage-container{
    max-width: 1280px;
    width: 100%;
    box-sizing: border-box;
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 2fr 2fr; /* 2 equal columns */
    gap: 24px;
}

@media (max-width: 640px) {
    .collage-container {
        grid-template-columns: 1fr; /* single column on small screens */
    }

    .collage-section{
        padding: 36px 0;
    }
}


.collage-card {
    position: relative;
    display: block;
    height: 270px;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none;
}




/* keep heading above the pseudo element */
.collage-card h2 {
    position: absolute;
    bottom: 16px;
    left: 16px;
    margin: 0;
    z-index: 2;
    color: #fff;
    font-size: 16px;
    font-family: 'Zapfino', sans-serif;
                                                
}

/* even cards align text to right */
.collage-container .collage-card:nth-child(even) h2 {
    left: auto;
    right: 16px;
    text-align: right;
}

@media (max-width: 650px) {
    .collage-container .collage-card:nth-child(even) h2 {
        left: 16px;
        right: 0;
        text-align: left;
}
}


/* Footer section */

.footer-section {
    display: flex;
    flex-direction: column;
    padding: 24px 24px 64px 24px;
    margin-top: 32px;
    justify-content: center;
    align-items: center;
    background: #38533C;
    color: white;
    border-radius: 32px 32px 0 0;
    gap: 32px;
}

.text-section{
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items:start;
    flex-wrap: wrap;
    gap: 48px;
    width: 80%;
}

.text-section p{
    font-size: 20px;
    width: 80%;
}

.text-section a{
    text-decoration: none;
    color: white;
}

.text-section div{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    gap: 8px;
}

.footer-section hr{
    width: 80%;
    background: rgb(255, 255, 255, 0.3);
    border-radius: 55px;
    height: 1px;
    border: 0px solid transparent;
}

.rights{
    color: rgb(255, 255, 255, 0.5);
}










.card-header {
    height: 450px;
    border-radius: 16px;
    display: flex;
    align-items: end;
    justify-content: start;
    padding: 48px;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
}

.card-header {
    max-width: 800px;
    width: 100%;
    margin: 64px auto 0 auto; /* centers the image section */
    border-radius: 16px;
}

.extra{
    width: 100%;      /* full width of the container */
    height: 400px;    /* fixed height */
    object-fit: cover; /* ensures the image fills the space without distortion */
    display: block; 
    border-radius: 16px;
}

video{
    width: 100%; 
    height: 400px;
}


.card-title-large {
    font-size: 24px;
    color: white;
    margin: 0;
    padding: 0;
    font-family: 'Zapfino', sans-serif;
}

.card-content {
    margin: 48px 0;
    display: flex;
    justify-content: center;
}

.card-text-container {
    max-width: 800px;
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 96px;
}




.collage-card.card-1 { 
    background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%), url('images/1.jpeg'); 
}

.collage-card.card-2 { 
    background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%), url('images/2.heic'); 
}

.collage-card.card-3 { 
    background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%), url('images/3.jpeg'); 
}

.collage-card.card-4 { 
    background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%), url('images/4.jpeg'); 
}

.collage-card.card-5 { 
    background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%), url('images/5.jpeg'); 
}

.collage-card.card-6 { 
    background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%), url('images/6.jpg'); 
}

.collage-card.card-7 { 
    background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%), url('images/7.jpeg'); 
}

.collage-card.card-8 { 
    background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%), url('images/8.JPG'); 
}

/* Style the dropdown like your buttons */
#langSelect.button {
    background-color: #F6EBDC;
    color: #4A5D3A;
    border: 2px solid rgba(0,0,0,0.25);
    border-radius: 4px;
    padding: 8px 32px 8px 16px; /* right padding for arrow */
    font-size: 14px;
    cursor: pointer;
    outline: none;
    appearance: none;       /* remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    transition: background-color 0.3s, color 0.3s;
}

/* Hover effect */
#langSelect.button:hover {
    background-color: #4A5D3A;
    color: white;
    border: 2px solid #4A5D3A;
}

/* Custom arrow using ::after */
#langSelect.button::after {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 50%;
    right: 12px;
    transform: translateY(-50%) rotate(45deg);
    border: solid #38533C;
    border-width: 0 2px 2px 0;
    padding: 4px;
    transition: border-color 0.3s;
}

/* Change arrow color on hover */
#langSelect.button:hover::after {
    border-color: white;
}

.select-wrapper {
    position: relative;
    display: inline-block;
}

/* Style the select */
.select-wrapper select {
    appearance: none;       /* remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #F6EBDC;
    color: #4A5D3A;
    border: 2px solid rgba(0,0,0,0.25);
    border-radius: 4px;
    padding: 10px 32px 6px 16px; /* leave space for arrow */
    font-family: "MyFont", serif;
    font-size: 14px;
    cursor: pointer;
}

/* Custom arrow using CSS */
.select-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 12px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #4A5D3A;
    border-bottom: 2px solid #4A5D3A;
    transform: translateY(-90%) rotate(45deg);
    pointer-events: none;
}

/* Hover effect for both select and arrow */
.select-wrapper:hover select {
    background-color: #4A5D3A;
    color: white;
    border: 2px solid #4A5D3A;
}

.select-wrapper:hover::after {
    border-color: white;
}
