@font-face {
    font-family: 'Above and Beyond';
    src: url('/fonts/AboveAndBeyond.woff2') format('woff2'),
         url('/fonts/AboveAndBeyond.woff') format('woff');
    font-weight: normal;
    font-style: normal;
  }
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Dancing Script', cursive !important;
    font-size: 45px !important;
  }
  
  p, label, input, textarea, .overlay span, .footer-name p {
    font-family: Garamond, serif !important;
  }
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e3f2f9;
    position: relative;  /* Already set, keep it */
    z-index: 1000;     
    padding: 0;
  }

  .logo-container {
    background-color: white;
    padding: 3px 20px;
  }

  .logo-container img {
    height: 85px;
  }

  .nav-links {
    list-style: none;
    display: flex;
    z-index: 999;  
    gap: 10px;
    padding: 0;
    margin: 0;
  }

  .nav-links a {
    position: relative;
    text-decoration: none;
    color: #111;
    padding-right: 24px;
    font-weight: 500;
    transition: color 0.3s ease;
  }

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

  .nav-links a:hover::after {
    width: 69%;
  }

  .nav-links a:hover {
    color: #000;
  }

  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    width: 30px;
    height: 24px;
    margin-right: 20px;
    z-index: 10;
  }

  .hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.4s ease;
    transform-origin: center;
  }

  /* Responsive Styles */
  @media (max-width: 768px) {
    .hamburger {
      display: flex;
    }
  
    .nav-links {
      flex-direction: column;
      background-color: white;               /* white background */
      position: absolute;
      top: 100%;
      right: 0;
      z-index: 999;
      width: 100%;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);  /* subtle shadow */
      border-bottom-left-radius: 12px;
      border-bottom-right-radius: 12px;
    }
  
    .nav-links.open {
      max-height: 300px;
      padding: 10px 0; /* padding inside dropdown */
    }
  
    .nav-links li {
      padding: 8px 20px;
      border-top: 1px solid #eee;
    }
  
    .nav-links a {
      padding: 8px 0;
      padding-top: 20px;
      color: #222;
      font-weight: 500;
      font-size: 16px;
      text-decoration: none;
      display: block;
      transition: background-color 0.2s ease, color 0.2s ease;
    }
  
    .nav-links a:hover {
      background-color: #f7f7f7;
      color: #bfa14c; /* optional gold hover color */
      width: 150%;
    }
  }

  body {
    margin: 0;
    font-family: 'Garamond', serif;
    background-color: #f9f8f4;
    background-size: 400% 400%;
    animation: backgroundShift 15s ease infinite;
    color: #222;
  }

 /* Landing Section with Background Image */
 .landing {
    position: relative;
    width: 100%;
    height: 50vh; /* Full viewport height */
    background-image: url('https://bythalene.com/images/contact_bg.JPG'); /* Add your image URL here */
    background-size: cover; /* Ensures the image covers the entire div */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
  }

  /* Styling the content inside the landing section */
  .landing h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem !important;
    margin: 0;
    font-weight: bold;
    opacity: 0; /* Start hidden */
    animation: fadeIn 2s forwards; /* Fade-in effect */
  }

  .landing p {
    font-size: 2rem !important;
    margin: 10px 0;
    opacity: 0; /* Start hidden */
    animation: fadeIn 3s forwards; /* Fade-in effect with delay */
    animation-delay: 1s; /* Delay for the paragraph */
  }

  /* Fade-in animation */
  @keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translateY(20px); /* Start below */
    }
    100% {
      opacity: 1;
      transform: translateY(0); /* End at normal position */
    }
  }


  .featured-section {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
  }

  .featured-section h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #000;
  }

  .featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .slideshow-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 66.66%; /* 3:2 aspect ratio */
    overflow: hidden;
  }

  .slideshow-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* shrinks image to fully fit */
    opacity: 0;
    animation: fade 8s infinite;
  }

  .slideshow-container img:nth-child(1) {
    animation-delay: 0s;
  }

  .slideshow-container img:nth-child(2) {
    animation-delay: 4s;
  }
  .see-more-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 40px;
    padding: 12px 20px;
    background-color: #bfa14c;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .see-more-btn:hover {
    background-color: #555;
  }
  @keyframes fade {
    0%, 45%, 100% { opacity: 0; }
    5%  { opacity: 1; }
    40% { opacity: 1; }
  }

  .bottom-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }

  .bottom-row img {
    width: 100%;
    display: block;
  }
 /* Footer */
 .portfolio-footer {
    background-color: #e3f2f9;
    color: #cfd8dc;
    padding: 20px 30px;
    font-weight: 300;
  }

  .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .footer-name h2 {
    font-size: 1.4rem;
    font-weight: 400;
    color: #bfa14c;
    margin: 0;
  }

  .footer-name p {
    font-size: 0.9rem;
    color: #bfa14c;
    margin: 0;
  }

  .get-in-touch {
    margin-top: 20px;
    padding: 15px 34px;
    font-size: 1rem;
    font-weight: 400;
    color: #111;
    background-color: #bfa14c;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }

  .get-in-touch:hover {
    background-color: #777;
  }

  .social-icons {
    margin: 25px 0 15px;
    text-align: center;
  }

  .social-icons a {
    color: #bfa14c;
    margin: 0 10px;
    font-size: 1.3rem;
    transition: color 0.3s ease;
    text-decoration: none;
  }

  .social-icons a:hover {
    color: #777;
  }

  .copyright {
    font-size: 0.75rem;
    color: #777;
    text-align: center;
  }

  /* Desktop layout: side-by-side */
  @media (min-width: 600px) {
    .footer-top {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      text-align: left;
    }

    .footer-name {
      text-align: left;
    }

    .get-in-touch {
      margin-top: 0;
    }

    .social-icons {
      text-align: left;
    }
  }

   /* Work Page Styles */
  h1 {
    text-align: center;
    font-family: 'Brush Script MT', cursive;
    font-size: 3em;
    margin-bottom: 40px;
  }
  .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
  }

  .grid-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-decoration: none;
    display: block;
    height: 0;
    padding-bottom: 66.66%; /* 3:2 aspect ratio */
    background-color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
  }

  .grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  }

  .grid-item img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .grid-item:hover .overlay {
    opacity: 1;
  }

  .overlay strong {
    display: block;
    font-size: 1.1em;
    font-weight: bold;
  }

  .overlay span {
    font-size: 0.9em;
    color: #ccc;
  }

  @media (max-width: 900px) {
    .grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 600px) {
    .grid {
      grid-template-columns: 1fr;
    }
  }

   /* Contact Page Styles */
  .contact-section {
    max-width: 540px;
    margin: 0 auto;
    padding-bottom: 40px;
  }

  .contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #bfa14c;
    border-bottom: 1px solid #ccc;
    display: inline-block;
    padding-bottom: 5px;
  }

  form {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  label {
    font-size: 0.95rem;
    margin-bottom: 6px;
    display: block;
  }

  input,
  textarea {
    width: 100%;
    font-family: inherit;
    font-size: 1rem;
    padding: 12px;
    border: 1px solid #ccc;
    background: #fff;
    transition: border-color 0.3s ease;
  }

  input:focus,
  textarea:focus {
    border-color: #999;
    outline: none;
  }

  textarea {
    min-height: 120px;
    resize: vertical;
  }

  .button-container {
    text-align: right;
  }

  button {
    background: #bfa14c;
    color: #fff;
    padding: 8px 24px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  button:hover {
    background: #444;
  }

  @media (max-width: 600px) {
    .contact-section {
      padding: 0 10px;
    }

    .contact-section h2 {
      font-size: 2rem;
    }
  }
   /* Projects Page Styles */
  .layout {
    flex-direction: column;
    padding-bottom: 40px;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
  }
  .main-content {
    flex: 3;
    padding-bottom: 40px;
  }

  .sidebar {
    flex: 1;
    background-color: #e5e5e5;
   padding-left: 40px;
   padding-top: 10px;
   padding-bottom: 20px;
   padding-right: 40px;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
    font-size: 12.5px;
    line-height: 1.4;
  }
  
  .sidebar h2 {
    font-size: 24px !important;
    margin-bottom: 10px;
    border-bottom: 1px solid #bfa14c;
    padding-bottom: 4px;
  }
  
  .sidebar ul {
    padding-left: 15px;
  }
  
  .sidebar li {
    margin-bottom: 8px;
  }

  h1 {
    text-align: center;
    font-size: 24px;
    border-bottom: 1px solid #bfa14c;
    padding-bottom: 10px;
    margin-bottom: 30px;
  }

  .text-block {
    padding: 30px;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 40px;
  }

  .text-block strong {
    font-weight: 600;
  }
  .disclaimer {
    margin-top: 60px;
    padding-top: 20px;
    padding-right: 40px;
    padding-left: 40px;
    border-top: 1px solid #ccc;
    font-size: 0.9rem;
    color: #666;
  }
  .container4 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .left-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .container4,
  .layout,
  .bottom-section {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  /* General Image Style Reset */
  img,
  .image-box,
  .right-box,
  .top-image,
  .small-image,
  .large-image,
  .small-image2,
  .small-image3,
  .large-image2,
  .large-image4 {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }
  
  /* Myanmar Boxes Styles */
  .image-box {
    width: 500px;
    height: 500px;
    background-color: #ccc;
    object-fit: cover;
  }
  
  .right-box {
    width: 550px;
    height: 1010px;
    background-color: #eee;
  }
  /*Myanmar Responsive styles for mobile */
@media (max-width: 900px) {
  .box-container {
    flex-direction: column;
    align-items: center;
    padding: 20px; /* Adds padding on small screens */
  }
  .image-box{
    margin-left: 16px;
  }
  .left-column,
  .image-box,
  .right-box {
    width: 100%;
    max-width: 500px;
  }
}
  /* Changemakers Boxes */
  .top-image {
    width: 98%;
    height: 400px;
    background-color: #ccc;
  }
  
  .bottom-section {
    flex-wrap: wrap; /* Allow wrapping for stacking on smaller screens */
  }
  
  .left-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
  }
  
  .small-image {
    width: 550px;
    height: 550px;
    background-color: #ccc;
  }
  
  .large-image {
    width: 610px;
    height: 910px;
    background-color: #ccc;
    flex-shrink: 0;
  }
  
  /* Partum Page Styles */
  .large-image2-container {
    width: 52%;
    max-width: 100%;
    overflow: hidden;
  }
  
  .small-image2,
  .small-image3 {
    width: 550px;
    height: 450px;
    background-color: #ccc;
  }
  
  .large-image2 {
    width: 100%;
    max-width: 100%;
    object-fit: contain;
  }
   /* Brews&bonds Boxes */
   .top-image {
    width: 98%;
    height: 400px;
    background-color: #ccc;
  }
  
  .bottom-section {
    flex-wrap: wrap; /* Allow wrapping for stacking on smaller screens */
  }
  
  .left-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
  }
  
  .small-image4 {
    width: 550px;
    height: 550px;
    background-color: #ccc;
  }
  
  .large-image4 {
    width: 610px;
    height: 1108px;
    background-color: #ccc;
    flex-shrink: 0;
  }
   /* Moongate Boxes */
   .top-image {
    width: 1170px;
    height: 400px;
    background-color: #ccc;
  }
  
  .bottom-section {
    flex-wrap: wrap; /* Allow wrapping for stacking on smaller screens */
  }
  
  .left-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
  }
  
  .small-image4 {
    width: 550px;
    height: 550px;
    background-color: #ccc;
  }
  
  .large-image5 {
    width: 610px;
    height: 900px;
    background-color: #ccc;
    flex-shrink: 0;
  }
  /* Responsive Fixes */
  @media (max-width: 900px) {
    .container4,
    .layout,
    .bottom-section {
      flex-direction: column;
      align-items: center;
      padding: 10px; /* Padding around the entire container */
    }
  
    .image-box,
    .right-box,
    .small-image,
    .large-image,
    .small-image2,
    .small-image3,
    .large-image2 {
      width: 100%;
      max-width: 600px; /* Prevents from being too wide */
      
    }
  
    .top-image {
      height: auto;
    }
  
    .left-stack {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
    }
  }
/* About Page Styles */
.landing2 {
    position: relative;
    width: 100%;
    height: 50vh; /* Full viewport height */
    background-image: url('https://bythalene.com/images/landing_bg.jpg'); /* Add your image URL here */
    background-size: cover; /* Ensures the image covers the entire div */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
  }
  .container3 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding-bottom: 200px;
    padding-top: 100px;
    max-width: 1000px;
    margin: auto;
  }

  .text-content {
    max-width: 500px;
    flex: 1;
  }

  .text-content h1 {
    font-family: 'Brush Script MT', cursive;
    font-size: 36px;
    margin-bottom: 20px;
  }

  .text-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .resume-link {
    display: inline-flex;
    align-items: center;
    font-weight: bold;
    text-decoration: none;
    color: #000;
    transition: color 0.3s ease;
    font-size: 16px;
  }

  .resume-link:hover {
    color: goldenrod;
  }

  .resume-link span {
    margin-left: 6px;
    font-size: 18px;
  }

  .image-content {
    flex: 1;
    max-width: 350px;
  }

  .image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  }

  @media (max-width: 768px) {
    .container {
      flex-direction: column;
      text-align: center;
    }

    .text-content, .image-content {
      max-width: 100%;
    }

    .text-content h1 {
      font-size: 28px;
    }

    .text-content p {
      font-size: 15px;
    }

    .resume-link {
      justify-content: center;
    }
  }