/* Reset box-sizing globally */
* {
  box-sizing: border-box;
}

/* Body styles - keep minimal to avoid nav issues */
body {
  font-family: "Karla", sans-serif;
  font-weight: 200;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  background: #F7F2E9;
  color: #000;
}

/* Scoped card styles */
.card1 {
  width: 90%;
  max-width: 1200px;        /* card can expand on large screens */
  margin: 20px auto;
  padding: 30px;
  line-height: 1.5;
  text-align: center;       /* default center for headings & intro */
  background-color: #F7F2E9;
  border-radius: 10px;
  box-sizing: border-box;   /* ensures padding doesn't squish content */
}

/* Intro section */
.card1 .intro-paragraph {
  max-width: 900px;         /* keeps paragraphs readable */
  margin: 0 auto 30px auto;
  text-align: center;
}

.card1 .intro-paragraph h1 {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.card1 .intro-paragraph p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Section headers */
.card1 h2,
.card1 h3 {
  text-align: center;       /* headers centered */
  margin-bottom: 15px;
}

/* Paragraphs & lists */
.card1 p,
.card1 ul {
  text-align: center;;         /* main content left-aligned */
  max-width: 1000px;         /* readable width */
  margin: 0 auto 20px auto;
}

.card1 ul {
  padding-left: 20px;       /* keep bullets visible */
}

.card1 ul li {
  line-height: 1.4;
  padding: 5px 0;
  border-bottom: 1px solid #eee;
}

.card1 ul li strong {
  font-weight: 700;
  color: #444;
}

/* Session type images */
.card1 .session-type {
  margin-bottom: 20px;
}

.card1 .session-type img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Calendly widget */
.card1 .calendly-inline-widget {
  width: 100%;
  height: 500px;
  margin-top: 20px;
  border-radius: 10px;
}

/* Optional: responsive layout for session cards */
.card1 .session-types {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.card1 .session-card {
  flex: 1;
  min-width: 250px;
}


.logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 200px;
    height: 100px;
    padding-top: 5px;
    padding-right: 3px;
    padding-bottom: 5px;
    padding-left: 3px;

}

.logo {
  visibility: hidden;
}

body.loaded .logo {
  visibility: visible;
}

/*portfolio gallery styles*/
/* Filter buttons */
.filter-buttons {
  text-align: center;
  margin: 20px 0;
}
.filter-buttons button {
  border: none;
  background-color: rgba(0,0,0,0.5);
  padding: 10px 20px;
  margin: 0 5px;
  font-family: 'Karla', sans-serif;
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  color: #F7F2E9; /* Explicit text color */
  -webkit-appearance: none; /* Remove iOS/Android default styles */
  -moz-appearance: none;
  appearance: none;
  text-decoration: none; /* Remove underline if any */
  font-size: 1rem;
}

.filter-buttons button:hover,
.filter-buttons button.active {
  background: #F7F2E9;
  color: black;
}

/* Gallery grid */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 100%;
  margin: 0 auto 10px;
}
.gallery-item {
  flex: 1 0 280px;
  max-width: 280px;
  box-sizing: border-box;
}
.gallery-item img {
  width: 100%;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.gallery-item img:hover {
  transform: scale(1.05);
}


/* Overwrite default styles of hr */
hr {
  border: none;
  height: 2px;
  background-color: grey; /* 30% opacity */
  margin: 2rem 0;
  width: 100%;
}



/* styling for the navigation bar */

nav {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bolder;
}

ul.topnav {
  list-style-type: none;
  margin: 0;
  padding: 10px 10px;
  overflow: hidden;
  background-color: #F7F2E9;
  border-radius: 10px;
}

nav img {
  width: 25px;
}

ul.topnav li {float: left;}

ul.topnav li a {
  display: block;
  color: black;
  text-align: center;
  padding: 14px;
  text-decoration: none; /* black with 50% opacity */
}

ul.topnav li a:hover:not(.active) {color: #3E594F;}

ul.topnav li.active {
  text-decoration: underline;

}

ul.topnav li.right {float: right;}




@media screen and (max-width: 600px) {
  ul.topnav li.right,
  ul.topnav li {float: none;}
  .container {
  margin: auto;
  border-radius: 10px;
  background-color: black;
  padding: 10px;
  max-width: 100%;
  min-width: 260px;
  }

}




/* Add a card effect for articles */
.card {
  background-color: #F7F2E9;
  max-width: 100%;       /* Limits how wide the slideshow can get on large screens */
  margin: 0 auto;         /* Centers it horizontally */
  padding: 0 15px;        /* Some horizontal padding for smaller screens */
  box-sizing: border-box; /* Include padding in width calculations */
  position: relative;     /* For your prev/next arrows positioning */
}






/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .product, .product2 {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .product, .product2 {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%;
  }
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%;
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}


iframe {
 width:100%;
 height:450px;
 border:0;
 border-radius: 10px;
 allowfullscreen:'';
 loading:lazy;
 }

/* Footer */

.footer {
  padding: 20px;
  text-align: center;
  background: #F7F2E9;
  font-size: 0.9rem;
  margin-top: 20px;
  font-family: 'karla', Helvetica, sans-serif;
  font-weight: bolder;
  border-radius: 10px;
}

.copy p {
  font-family: 'Karla', sans-serif;
  font-size: 0.9rem;
  color: #888;
  margin: 0;
}

footer #links img {
  height: 48px;
  width: 48px;
  margin: 3px;
  padding: 2px;
  transition: 0.3s ease;
  border-radius: 20%;
  opacity: 0.5; /* 0 = fully transparent, 1 = fully opaque */
}
footer #links img:hover {
  cursor: pointer;
  opacity: 0.9;
}

footer #links span {
  width: 100%;
  height: 1px;
}

/* Footer Contact Form - Unified Style */

#footer-contact {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background-color: #F7F2E9f;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

#footer-contact h2.footer-heading {
  font-size: 1.6rem;
  font-weight: 200;
  text-align: center;
  margin-bottom: 25px;
  font-family: 'Karla', sans-serif;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* Form container styling */
#footer-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#footer-form input[type="text"],
#footer-form input[type="email"],
#footer-form textarea {
  width: 100%;
  padding: 15px;
  margin: 5px 0 15px;
  border: 2px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  background-color: #f1f1f1;
  font-family: 'Karla', sans-serif;
  font-size: 1rem;
  color: #000;
  resize: vertical;
}

#footer-form input:focus,
#footer-form textarea:focus {
  background-color: #ddd;
  outline: none;
  border-color: #aaa;
}

#footer-form input::placeholder,
#footer-form textarea::placeholder {
  color: #777;
}

/* Submit Button */
#footer-form button {
  background-color: #101820;
  color: white;
  padding: 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  width: 50%;
  margin: 10px auto 0;
  font-family: 'Karla', sans-serif;
  font-size: 1rem;
  transition: 0.3s ease;
  opacity: 0.9;
}

#footer-form button:hover {
  opacity: 1;
}

.form-feedback {
  margin-top: 15px;
  text-align: center;
  font-size: 1rem;
  font-family: 'Karla', sans-serif;
  padding: 10px 20px;
  border-radius: 8px;
  display: block;
}

.form-feedback.success {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
}

.form-feedback.error {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 600px) {
  #footer-contact {
    padding: 20px;
    margin: 30px 15px;
  }

  #footer-form button {
    width: 100%;
  }
}

ul.botnav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
}

ul.botnav li {float: none;}

ul.botnav li a {
  display: block;
  color: black;
  text-align: center;
  padding: 14px;
  text-decoration: none;
}

ul.botnav li a:hover:not(.active) {color: #B3D2DB;}

i {
  font-style: italic;
  color: #F7F2E9;
}


/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  border-radius: 25px;
  position: relative;
  margin: auto;
}

.mySlides {
  width: 100%;
  display: none;
  position: relative; /* important for overlay positioning */
}

.mySlides img {
  width: 100%;
  border-radius: 50px;
  vertical-align: middle;
}

/* Slide text overlay */
.slide-text {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #F7F2E9;
  background: rgba(0, 0, 0, 0.3);
  padding: 15px 25px;
  font-size: 2.2rem;
  font-family: "Meow Script", cursive;
  font-weight: 200;
  border-radius: 8px;
  text-align: center;
  z-index: 2;
  letter-spacing: 0.5px;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  margin-top: -22px;
  color: #F7F2E9;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  user-select: none;
  background-color: rgba(0,0,0,0.5);
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: 0;
  border-radius: 0 3px 3px 0;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Dots */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
  background-color: #B3D2DB;
}

/* Fade animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* Responsive text size */
@media only screen and (max-width: 300px) {
  .prev, .next, .slide-text {font-size: 11px;}
}
