/* Add KantumruyPro font */
@font-face {
  font-family: "KantumruyPro";
  src: url("assets/fonts/KantumruyPro-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "KantumruyPro";
  src: url("assets/fonts/KantumruyPro-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

/* Keep Philosopher for headings */
@font-face {
  font-family: "Philosopher";
  src: url("assets/fonts/Philosopher-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Philosopher";
  src: url("assets/fonts/Philosopher-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Philosopher";
  src: url("assets/fonts/Philosopher-Italic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

/* style.css */

/* --- Global Resets & Base Styles --- */
*,
*::before,
*::after {
  font-size: 1.05rem;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style-position: inside;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory; /* Enables scroll snapping */
  overflow-y: scroll; /* Ensures scrollbar is always present for snapping */
}

body {
  font-family: "KantumruyPro", "Arial", sans-serif; /* Default font for general text */
  background-color: #000e18; /* Very dark grey, almost black */
  color: #e0e0e0; /* Light grey for text */
  line-height: 1.7;
  overflow-x: hidden; /* Prevent horizontal scroll */
  font-size: 17px; /* Base font size */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Philosopher", "Georgia", serif; /* Philosopher for headings */
  color: #ffffff; /* White for headings */
  margin-bottom: 0.75em;
  line-height: 1.3;
}

h1 {
  font-size: 2.8em;
  font-weight: bold;
} /* Adjusted sizes for Philosopher */
h2 {
  font-size: 2.2em;
  font-weight: bold;
  color: #f7c844; /* Lighter gold on hover */
}
h3 {
  font-size: 1.5em;
  font-weight: bold;
}

p {
  font-family: "KantumruyPro", "Arial", sans-serif; /* Ensure paragraphs use KantumruyPro */
  margin-bottom: 1.2em;
}

a {
  color: #d4af37; /* A gold/amber color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #f7c844; /* Lighter gold on hover */
}

.container {
  width: 90%;
  max-width: 960px; /* Max width for content readability */
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

li:not(:first-child) {
  margin-top: 1rem;
}

/* --- Full Page Section Styling --- */
.full-page-section {
  min-height: 100dvh; /* Dynamic viewport height */
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px; /* Vertical and horizontal padding */
  scroll-snap-align: start; /* Align to the start of the viewport for snapping */
  scroll-snap-stop: always; /* More precise snapping */
  position: relative; /* For potential absolute elements like scroll down arrow */
}

.section-content-wrapper {
  max-width: 100%;
  padding: 20px 0; /* Internal vertical padding */
}

.profile-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

/* --- Section 1: Home --- */
#home .logo {
  max-width: 300px; /* Adjust as needed */
  height: auto;
  margin-bottom: 25px;
}
#home .site-title {
  color: #ffffff;
  margin-bottom: 15px;
}
#home .tagline {
  font-size: 1.3em;
  color: #c0c0c0; /* Slightly dimmer than main text */
  font-family: "KantumruyPro", "Arial", sans-serif; /* Ensure paragraphs use KantumruyPro */
  font-weight: normal;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}
.scroll-down-link {
  display: inline-block;
  font-size: 2em;
  color: #d4af37;
  animation: bounce 2s infinite;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-15px);
  }
  60% {
    transform: translateX(-50%) translateY(-7px);
  }
}

/* --- Section 2: About --- */
#about h2 {
  margin-bottom: 30px;
}
#about p {
  text-align: justify; /* Justified text can look good for longer passages */
  color: #b3b3b3;
}

/* --- Section 3: Services --- */
#services h2 {
  text-align: center;
  margin-bottom: 40px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}
.service-card {
  background-color: #1c1c1c; /* Darker card background */
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #333333; /* Subtle border */
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: #d4af37;
}
.service-card h3 {
  color: #d4af37; /* Gold for card titles */
  margin-bottom: 15px;
}
.service-card p {
  font-size: 0.95em;
  color: #a0a0a0;
}

/* --- Section 4: Contact --- */
#contact h2 {
  text-align: center;
  margin-bottom: 20px;
}
#contact .contact-intro {
  margin-bottom: 30px;
  color: #b3b3b3;
}
.contact-list {
  list-style: none;
  padding: 0;
}
.contact-list li {
}
.contact-link {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #d4af37;
  color: #d4af37;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 220px; /* For consistent button width */
}
.contact-link:hover {
  background-color: #d4af37;
  color: #121212; /* Dark text on hover for contrast */
}
/* Specific hover for social to maintain brand if desired, or keep generic */
/*
.contact-link.instagram:hover { background-color: #C13584; border-color: #C13584; color: white; }
.contact-link.email:hover { background-color: #555; border-color: #555; color: white; }
.contact-link.maps:hover { background-color: #4285F4; border-color: #4285F4; color: white; }
*/

/* --- Footer (inside Contact Section) --- */
#contact footer {
  margin-top: auto; /* Pushes footer to bottom of its flex container */
  padding-top: 30px;
  font-size: 0.85em;
  color: #777777;
}
#contact footer p {
  margin-bottom: 5px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  h1 {
    font-size: 2.4em;
  }
  h2 {
    font-size: 2em;
  }

  .full-page-section {
    padding: 30px 15px;
  }

  #home .logo {
    max-width: 150px;
  }
  #home .tagline {
    font-size: 1em;
  }

  .services-grid {
    grid-template-columns: 1fr; /* Stack cards on smaller screens */
  }
  .scroll-down-link {
    font-size: 1.8em;
    bottom: 20px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2em;
  }
  h2 {
    font-size: 1.7em;
  }
  #home .logo {
    max-width: 200px;
  }
  #home .tagline {
    font-size: 0.9em;
  }
  .contact-link {
    min-width: 100%; /* Make contact buttons full width */
    padding: 12px 15px;
  }
}
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Adjustments for very short viewports if content overflows 100dvh */
/* The .section-content-wrapper with overflow-y: auto will handle actual overflow,
   but you might want to reduce font sizes or padding further. */
@media (max-height: 650px) {
  body {
    font-size: 15px;
  }
  h1 {
    font-size: 1.8em;
  }
  h2 {
    font-size: 1.6em;
  }
  .full-page-section {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  #home .tagline {
    margin-bottom: 15px;
  }
  .scroll-down-link {
    display: none;
  } /* Hide if space is too tight */
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Margin Utilities */
.m-0 {
  margin: 0;
}
.m-1 {
  margin: 0.25rem;
}
.m-2 {
  margin: 0.5rem;
}
.m-3 {
  margin: 1rem;
}
.m-4 {
  margin: 1.5rem;
}
.m-5 {
  margin: 3rem;
}

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 1rem;
}
.mt-4 {
  margin-top: 1.5rem;
}
.mt-5 {
  margin-top: 3rem;
}

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 1rem;
}
.mb-4 {
  margin-bottom: 1.5rem;
}
.mb-5 {
  margin-bottom: 3rem;
}

.ml-0 {
  margin-left: 0;
}
.ml-1 {
  margin-left: 0.25rem;
}
.ml-2 {
  margin-left: 0.5rem;
}
.ml-3 {
  margin-left: 1rem;
}
.ml-4 {
  margin-left: 1.5rem;
}
.ml-5 {
  margin-left: 3rem;
}

.mr-0 {
  margin-right: 0;
}
.mr-1 {
  margin-right: 0.25rem;
}
.mr-2 {
  margin-right: 0.5rem;
}
.mr-3 {
  margin-right: 1rem;
}
.mr-4 {
  margin-right: 1.5rem;
}
.mr-5 {
  margin-right: 3rem;
}

.mx-0 {
  margin-left: 0;
  margin-right: 0;
}
.mx-1 {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}
.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
.mx-3 {
  margin-left: 1rem;
  margin-right: 1rem;
}
.mx-4 {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}
.mx-5 {
  margin-left: 3rem;
  margin-right: 3rem;
}

.my-0 {
  margin-top: 0;
  margin-bottom: 0;
}
.my-1 {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}
.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.my-3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.my-4 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.my-5 {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

/* Padding Utilities */
.p-0 {
  padding: 0;
}
.p-1 {
  padding: 0.25rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 1rem;
}
.p-4 {
  padding: 1.5rem;
}
.p-5 {
  padding: 3rem;
}

.pt-0 {
  padding-top: 0;
}
.pt-1 {
  padding-top: 0.25rem;
}
.pt-2 {
  padding-top: 0.5rem;
}
.pt-3 {
  padding-top: 1rem;
}
.pt-4 {
  padding-top: 1.5rem;
}
.pt-5 {
  padding-top: 3rem;
}

.pb-0 {
  padding-bottom: 0;
}
.pb-1 {
  padding-bottom: 0.25rem;
}
.pb-2 {
  padding-bottom: 0.5rem;
}
.pb-3 {
  padding-bottom: 1rem;
}
.pb-4 {
  padding-bottom: 1.5rem;
}
.pb-5 {
  padding-bottom: 3rem;
}

.pl-0 {
  padding-left: 0;
}
.pl-1 {
  padding-left: 0.25rem;
}
.pl-2 {
  padding-left: 0.5rem;
}
.pl-3 {
  padding-left: 1rem;
}
.pl-4 {
  padding-left: 1.5rem;
}
.pl-5 {
  padding-left: 3rem;
}

.pr-0 {
  padding-right: 0;
}
.pr-1 {
  padding-right: 0.25rem;
}
.pr-2 {
  padding-right: 0.5rem;
}
.pr-3 {
  padding-right: 1rem;
}
.pr-4 {
  padding-right: 1.5rem;
}
.pr-5 {
  padding-right: 3rem;
}

.px-0 {
  padding-left: 0;
  padding-right: 0;
}
.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-3 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-4 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.px-5 {
  padding-left: 3rem;
  padding-right: 3rem;
}

.py-0 {
  padding-top: 0;
  padding-bottom: 0;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-4 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.bg-read {
  background-color: #000611;
  p {
    color: white !important;
  }
}

/* Display */
.d-flex {
  display: flex !important;
}
.d-inline-flex {
  display: inline-flex !important;
}

/* Flex Direction */
.flex-row {
  flex-direction: row !important;
}
.flex-column {
  flex-direction: column !important;
}

/* Justify Content */
.justify-start {
  justify-content: flex-start !important;
}
.justify-center {
  justify-content: center !important;
}
.justify-end {
  justify-content: flex-end !important;
}
.justify-between {
  justify-content: space-between !important;
}
.justify-around {
  justify-content: space-around !important;
}
.justify-evenly {
  justify-content: space-evenly !important;
}

/* Align Items */
.align-start {
  align-items: flex-start !important;
}
.align-center {
  align-items: center !important;
}
.align-end {
  align-items: flex-end !important;
}
.align-stretch {
  align-items: stretch !important;
}
.align-baseline {
  align-items: baseline !important;
}

/* Flex Wrap */
.flex-wrap {
  flex-wrap: wrap !important;
}
.flex-nowrap {
  flex-wrap: nowrap !important;
}
.flex-wrap-reverse {
  flex-wrap: wrap-reverse !important;
}

/* Align Self */
.align-self-start {
  align-self: flex-start !important;
}
.align-self-center {
  align-self: center !important;
}
.align-self-end {
  align-self: flex-end !important;
}

/* Gap */
.gap-1 {
  gap: 0.25rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 1rem;
}

/* Mission Quote */
.mission-quote {
  margin-top: 30px;
  font-size: 1.8rem; /* Default size for larger screens */
  font-style: italic;
  text-align: center;
  margin: 20px auto;
  max-width: 800px; /* Limit width for better layout */
  line-height: 1.6;
}

.mission-quote::before {
  content: open-quote;
  font-size: 2rem;
}

.mission-quote::after {
  content: close-quote;
  font-size: 2rem;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .mission-quote {
    font-size: 1.5rem; /* Slightly smaller font size for tablets */
  }
}

@media (max-width: 480px) {
  .mission-quote {
    font-size: 1.5rem; /* Smaller font size for mobile devices */
    line-height: 1.4; /* Adjust line height for readability */
  }
}

/* Founder Content */
.founder-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.founder-image img {
  max-width: 400px; /* Limit the image size on desktop */
  width: 100%; /* Ensure responsiveness */
  height: auto; /* Maintain aspect ratio */
  border-radius: 10px;
}

.founder-text {
  flex: 1;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .founder-content {
    flex-direction: column; /* Stack image and text vertically */
    align-items: center; /* Center-align content */
  }

  .founder-image {
    text-align: center; /* Center-align the image container */
  }

  .founder-image img {
    max-width: 80%; /* Reduce image size for tablets */
  }

  .founder-text {
    margin-top: 20px; /* Add spacing between image and text */
  }
}

@media (max-width: 480px) {
  .founder-image img {
    max-width: 100%; /* Further reduce image size for mobile devices */
  }

  .founder-text {
    font-size: 0.9em; /* Adjust text size for readability */
  }
}
