/*=======================================================*/
/*General Styles (Body and Global Container)*/
/*=======================================================*/

html, body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0;
    background-color: #e2cf9f;
  font-family: 'Playfair Display', serif;
    color: #332b20;
}

#main-container {
    position: relative;
    max-width: 1500px;
    margin: auto;
    background-color: #e1cfa1; /* Very soft white color */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


#scripture {
  position: absolute;
  top: 20px;          /* distance from top */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 100;
}

/*=======================================================*/
/*Navigation Bar Styles*/
/*=======================================================*/

.nav-button {
    position: relative;
    width: 100px;
    height: 50px;
    background-color: transparent; /* Transparent background */
    color: black;
    font-size: 1.1em;
    padding: 10px;
    border: none;
    outline: none;
    transition: color 0.3s ease; /* Smooth color transition */
}

.nav-button::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #3A4B5C; /* Pale Green underline on hover */
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-button:hover::after {
    transform: scaleX(1);
    transform-origin: left; /* Animate underline from left to right */
}

.nav-button:hover {
    color: #69624a; /* Change text color on hover */
    cursor: pointer;
}


/*=======================================================*/
/*Section One Styles (Introduction Section)*/
/*=======================================================*/

/* Default section attributes */
.section {
   /* min-height: 735px;*/
    position: relative;
    overflow: hidden;
}

/* Image to be displayed on right or left side of section depending on screen size */
.section-border-img {
    position: absolute;
    bottom: -60px;
    right: -155px;
}

/* Section One Styles, Introduction */
#section-one {
    height: 100vh; /* Full viewport height */
    text-align: center;
    background-image: url("./resources/background.png");
    background-repeat: no-repeat;
    background-size: cover;
    /*background-position-x: -50px;*/
}

#section-one-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 100%;
    width: 53%;
    margin-left: auto;
}

#section-one-content-icon {
    width: 300px;
    height: 300px;
    display: none;
}

#section-one-quick-links {
    min-width: 350px;
    margin: 25px;
}

#section-one-quick-links button {
    padding: 10px;
    margin: 3px;
    font-size: 15px !important;
    color: black !important;
}

#section-one-content h1 {
    font-size: 60px;
    margin: 3px;
}

#section-one-content h3 {
    position: relative;
    font-size: 30px;
}

#section-one-content em {
    font-size: 32px;
}

#btn-contact {
    display: none;
}

#getting-started {
    margin: 0px 50px;
    margin-top: 15px;
}

/*=======================================================*/
/*Contact Information Styles*/
/*=======================================================*/


#section-contact-info {
    display: flex;
    justify-content: center;
    flex-direction: column;
    border-radius: 10px; /* Rounded corners */
    margin-top: 25px;
}

/* Removed unused #section-contact-icons block (no matching HTML) */

.contact-info-bar {
    display: block;
    text-align: center;
    text-decoration: none;

    position: relative;
    width: 350px;
    height: 50px;
    margin-top: 50px;
    background-color: #36332a;
    border: 2px solid #7e7557;
    border-radius: 5px;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add this line */

    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.contact-info-bar:hover {
    transform: scale(1.01);
    background-color: #403c31;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25); /* Slightly deeper on hover */
}


.contact-info-bar a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: rgb(207, 207, 207);
    font-size: 18px;
}

.contact-info-bar a:hover {
    color: white;
}

.contact-info-bar::after {
    pointer-events: none;
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 18px;
    color: rgb(219, 204, 154);
    transition: transform 0.3s ease;
}

.contact-info-banner {
    width: 75px;
    position: absolute;
    top: -28px;
    left: 5px;
    background-color: #979078; /* Matches border color */
    border: 2px solid #7e7557;
    border-radius: 5px; /* Rounded top corners */
    font-weight: 600; /* Makes text bold */
    text-align: center; /* Center the text inside the banner */
    padding: 5px; /* Adds padding for better readability */
    color: white; /* Color for banner text */
}

.email-bar::after {
    content: '\2709'; /* Unicode for ✉ */
}

.phone-bar::after {
    content: '\260E';
}

.contact-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    margin: 15px;

    background-color: #c9bba8;
    border: 3px solid #443e35;
    border-radius: 25%; /* Slightly rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.233); /* Subtle shadow for a professional look */
    
    text-decoration: none; /* Removes underline from links */
    color: inherit; /* Inherits color from parent or body */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

/* Font Awesome icons are used from CDN; no local emoji styling needed */

/*=======================================================*/
/* Section two Styles (Updated with About Section and Image) */
/*=======================================================*/


/* Main Services Wrapper */
#services-list {
    padding: 50px;
    background-color: #36332a;
    border-top: 2px solid #1b1a16;
    z-index: 1;
}

#services-list h2 {
    font-size: 32px;
    color: #f1e2ba;
    margin: 0px;
    margin: 45px 0px 45px 0px;
}

/* Feature List with Checkmarks */
.service-features {
    list-style: none;
    padding: 25px;
    margin-bottom: 30px;
}

.service-features li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 17px;
    color: #cabe9f;
    padding: 10px 0;
    border-bottom: 1px dashed #6d6552;
}

/* Checkmark Bubble */
.checkmark {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #4CAF50;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: pulse-check 1.5s infinite;
}

.checkmark::after {
    content: "";
    width: 5px;
    height: 10px;
    border: solid #4CAF50;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Pulse animation for checkmarks */
@keyframes pulse-check {
    0%   { transform: scale(1);   opacity: 1; }
    50%  { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1);   opacity: 1; }
}

/* Additional Service Sections */
.services-section {
    padding: 20px;
}

.services-section h3 {
    font-size: 20px;
    color: #f1e2ba;
    margin-bottom: 10px;
    border-bottom: 2px solid #6d6552;
    padding-bottom: 6px;
}

.services-section p {
    font-size: 16px;
    color: #e7dab7;
    line-height: 1.6;
    margin-bottom: 12px;
}

.services-section ul {
    list-style: disc inside;
    padding-left: 15px;
    margin-bottom: 12px;
}

  

/*=======================================================*/
/* Section three Styles (Updated with About Section and Image) */
/*=======================================================*/

#section-three {
    background-color: #e2cf9f;
    border-top: 2px solid #1b1a16;
    border-bottom: 2px solid #1b1a16;
    box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.3),0 6px 12px rgba(0, 0, 0, 0.3);
}

#section-three-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 35px;
}

#section-three-content {
    flex-basis: 50%;
    flex-grow: 0;
    flex-shrink: 0;
}

#section-three-image {
    flex-basis: 50%;
    display: flex;
    justify-content: center; /* Center image horizontally */
    align-items: center;
}

#section-three-image img {
    width: 100%;
    max-width: 400px; /* Matches section-three */
    border-radius: 10px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.8); /* Stronger shadow */
}

#section-three-container h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #1b1a16;
}

#section-three-container p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #36332a;
}

#section-three-container ul {
    list-style-type: none;
    padding-left: 0;
}

#section-three-container ul li {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #2b2a29;
    display: flex;
    align-items: center;
    font-weight: bold;
}

#section-three-container ul li i {
    margin-right: 10px;
    color: #69624a;
}

#section-three-container ul li i:hover {
    color: #504a3f;
}

/*=======================================================*/
/* FOOTER SECTION */
/*=======================================================*/

#footer-section {
    background-color: #36332a;
    padding: 50px 20px 30px;
    color: #ffeccc;
    text-align: center;
    z-index: 1;

}

#footer-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

#footer-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffe4be;
}

#footer-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #f6e7d0;
}

#section-three-contact-container {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

#section-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#footer-legal {
    margin-top: 30px;
    font-size: 14px;
    color: #d0c4ac;
    border-top: 1px solid #444035;
    padding-top: 25px;
}



/*=======================================================*/
/*Forms, Buttons, MISC*/
/*=======================================================*/

/* Arrow Down Icon Styles */
.arrow-down {
    position: absolute !important;
    bottom: 0px;
    font-size: 5em;
    cursor: pointer;
    padding-bottom: 8px;
    text-align: center;
    color: #332b20; /* Dark color for arrow */
    z-index: 2; /* Ensure arrow stays on top */
}

/* Panel Styles */
.panel {
    flex: 1 1 calc(33.333% - 10px); /* Responsive panels with spacing */
    box-sizing: border-box;
    background-color: #f0f0f0; /* Optional: Background color for visibility */
    padding: 20px; /* Padding inside panels */
    text-align: center; /* Center text within panels */
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

input[type="email"], textarea {
    margin-bottom: 15px;
    padding: 10px;
    font-family: 'Playfair Display', serif;
    border: 1px solid #ccc;
    border-radius: 5px;
}

textarea {
    resize: none;
}

button:hover {
    cursor: pointer;
}

button[type="submit"] {
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-family: 'Playfair Display', serif;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #555;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
}

.fancy-line {
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333; /* Color of the line */
    animation: line-animation 2s ease-in-out forwards;
}

.highlighted {
    color: #9c8a51;
}

.nodecor {
    font-style: normal; /* Removes the italic style */
    text-decoration: none; /* Removes any underline or other text decorations */
}

.hide-large {
    display: none;
}

.no-margin {
    margin: 15px !important;
}

/*=======================================================*/
/*Media Queries (Responsive Design)*/
/*=======================================================*/

/* === max-width: 1322px === */
@media (max-width: 1322px) {
  #main-container,
  #section-one {
    margin: 0;
    border: none;
    border-radius: 0;
  }

  #why-us-container,
  #about-container {
    flex-direction: column;
  }

  /* Assuming these are flex containers; otherwise no effect */
  #why-image,
  #about-image {
    justify-content: center;
  }
}

/* === max-width: 1232px === */
/* Reserved for future adjustments to #section-one */
@media (max-width: 1232px) {
  #section-one {
    /* background-position-x: -100px; */
  }
}

/* === Hide Getting Started if below 600px width === */
@media (max-height: 600px) {
  #getting-started-para {
    display: none !important;
  }
}

/* === max-height: 1200px === */
@media (max-height: 1200px) {
  /* inline-block plays nicer with padding/height */
  #btn-contact {
    display: inline-block;
  }
  .main-section-contact {
    display: none !important;
  }
  .section-one-content-icon {
    display: none !important;
  }
}

/* === max-width: 1180px === */
@media (max-width: 1180px) {
  /* Set once here; removed duplicate at 800px (same value) */
  html, body, #main-container {
    background-color: #e2cf9f;
  }

  #section-one {
    background-image: none;
  }

  #section-one-content {
    margin: 0 auto;
  }

  #section-one-content h1 {
    font-size: 35px;
  }

  #section-one-content h3 {
    font-size: 24px;
    position: relative;
  }

  #section-one-content em {
    font-size: 30px;
  }

  /* Shown at this width; may be hidden by height rules below */
  #section-one-content-icon,
  .section-border-img {
    display: block;
  }

  #section-three-container {
    flex-direction: column;
  }

  #section-three-content {
    margin-top: 50px;
  }

  .main-section-contact {
    display: none !important;
  }

  #btn-contact {
      display: inline-block !important;
  }  
}

/* === Hide #scripture if width < 1000px AND height < 1000px === */
@media (max-width: 1180px) and (max-height: 1000px) {
  #scripture {
    display: none !important;
  }
}


/* === max-height: 950px === */
@media (max-height: 800px) {

  #section-one {
    background-size: 100% 1200px;   /* stretches width, keeps height ratio */
    background-repeat: no-repeat; /* prevents tiling */
    background-position: top center; /* aligns nicely */
  }


  #section-one-content {
    margin-top: 35px;
    justify-content: flex-start;
  }

  /* Hidden at shorter heights regardless of width */
  #section-one-content-icon {
    width: 200px;
    height: 200px;
  }

  /* Align to existing ID: #section-contact-info */
  #section-contact-info {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .contact-info-bar {
    margin-top: 25px !important;
  }

  #btn-contact {
    display: inline-block;
  }

  .arrow-down {
    bottom: 50px;
  }

  #scripture {
    left: 400px;
    font-size: small;
  }
}

/* === max-width: 800px === */
@media (max-width: 800px) {
  /* background-color already set at <=1180; keep if you want redundancy removed */
  /* html, body, #main-container { background-color: #e2cf9f; } */

  #section-three-container {
    flex-direction: column;
    padding: 20px;
  }

  #section-three-image {
    display: none;
  }

  #services-list,
  #section-three-content {
    padding: 20px 0;
  }

  #services-list h2,
  #section-three-content h2 {
    text-align: center;
  }

  #services-list ul li {
    justify-content: space-between;
  }
}

/* === min-width: 850px === */
@media (max-width: 850px) {
    #section-one-content-icon {
        display: flex !important;
    }
}


/* === max-width: 650px === */
@media (max-width: 650px) {
  .hide-large {
    display: block;
  }

  #section-one-content {
    height: 100%;
    width: 100%;
  }

  #section-one-content h1 {
    font-size: 30px;
    margin: 3px;
  }

  #section-one-content h3 {
    font-size: 18px;
    position: relative;
  }

  #section-one-content em {
    font-size: 25px;
  }

  #section-one-quick-links button {
    font-size: 12px;
  }

  .contact-info-bar {
    width: 300px;
    height: 40px;
  }

  .contact-info-bar a {
    font-size: 15px;
  }

  .contact-info-bar::after {
    top: 10px;
    right: 10px;
    font-size: 16px;
  }

  .section-border-img {
    opacity: 0.2;
  }

  #services-list li,
  #section-three-content p {
    font-size: 16px;
  }

  .checkmark {
    width: 16px;
    height: 16px;
  }

  .checkmark::after {
    width: 4px;
    height: 8px;
  }
}

/* === max-height: 750px === */
@media (max-height: 750px) {
    .main-section-contact {
        display: none !important;
    }
    #section-one-content-icon {
        display: none !important;
    }
}


/*=======================================================*/
/*Animations and Special Styles*/
/*=======================================================*/

@keyframes line-animation {
    0% {
        width: 0;
        left: 150%;
        border-radius: 0;
    }
    50% {
        width: 45%;
        left: 0%;
        border-radius: 50%;
    }
    100% {
        width: 100%;
        left: 0;
        border-radius: 0;
    }
}

/* Minimal replacements for animate.css classes used */
/* Animate.css is loaded via CDN; remove local minimal replacements */