html {
    scroll-behavior: smooth;
    scroll-padding-top: 75px;
    font-family: 'Roboto', sans-serif;
}

:root {
    --height-of-nav: 200px
}

h1 {
    font-weight: 300;
    font-size: 50px;
    color: #222344;
}

/* minor change */

p, ul {
    font-weight: 100;
    color: #222344;
}

.navbar-brand img {
    max-height: 50px;
}

.navbar {
    position: fixed;
    width: 100%;
    z-index: 1000;
}

/* HOME SECTION STYLING */

/* Hero Image Styling */
.hero-img {
    background: linear-gradient(rgba(34, 35, 68, 0.6), rgba(34, 35, 68, 0.6)), 
                url("../imgs/hero-image.jpeg") center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding-bottom: 5%;

    min-height: 100vh;
    height: 100svh;
    background-attachment: scroll;

    /*
    opacity: 0;
    animation: fade-in 1.5s ease-out forwards;
    */
}

/* Text Styling */
.home-text {
    position: absolute;
    bottom: 5%;
    left: 5%;
    max-width: 1000px;
    opacity: 0;
}

/* Title Styling */
.home-text h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 5rem;
    font-weight: 400;
    font-style: italic;
    color: #cdad7d;
    margin-bottom: 0.5rem;
}

/* Subtitle */
.home-text .subtitle {
    color: #eeead6;
    font-size: 1.5rem;
    font-family: 'Libre Baskerville', serif;
    margin-bottom: 0.5rem;
}

/* Italic Tagline */
.home-text .italic-text {
    font-family: 'Libre Baskerville', serif;
    color: #eeead6;
    font-size: 1.3rem;
    font-style: italic;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .home-text {
        transform: translateX(-50%);
        text-align: center;
    }

    .home-text h1 {
        font-size: 3rem;
    }

    .subtitle, .italic-text {
        font-size: 1.2rem;
    }
}

/* ABOUT SECTION STYLING */
#about {
    background-color: #f4f1ec;
}

/* About Title */
.about-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 3rem;
    font-weight: 300;
    color: #222344;
    margin-bottom: 1rem;
}

/* About Text */
.about-text {
    font-size: 1.2rem;
    font-weight: 100;
    color: #222344;
}

/* About Image */
.about-img {
    max-width: 90%;
    height: auto;
    filter: drop-shadow(10px 0 10px rgba(0, 0, 0, 0.5));
    border-radius: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-title {
        font-size: 2.5rem;
        text-align: center;
    }

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

    .about-img {
        max-width: 100%;
        object-fit: contain;
        height: auto;
        margin-top: 2rem;
    }

    #about .btn-outline-theme {
        display: block;
        margin: 0 auto;
    }

}

/* PHILOSOPHY SECTION STYLING */
#philosophy {
    background-color: #222344;
}

/* Philosophy Title */
.philosophy-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #eeead6;
    margin-bottom: 1rem;
}

/* Philosophy Image */
.philosophy-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(10px 0 10px rgba(0, 0, 0, 0.5));
}

/* Philosophy Text Boxes */
.philosophy-box {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 300;
}

/* Italic Text */
.philosophy-box .italic-text {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .philosophy-title {
        font-size: 2rem;
        text-align: center;
    }

    .philosophy-box {
        padding: 15px;
    }

    .philosophy-img {
        max-width: 70%;
        margin-bottom: 2rem;
    }
}

/* TESTAMONIALS SECTION */

.testamonial-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

#testamonials .carousel-inner {
   align-items: center;
   justify-content: center;
   min-height: 500px;
}

.testamonial-card .blockquote p {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 1.25rem;
}



/* CONDITIONS SECTION STYLING */
/* Conditions Section */
#conditions {
    background-color: #f4f1ec;
}

/* Title */
.conditions-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #222344;
    margin-bottom: 1rem;
}

/* Conditions List */
.conditions-list {
    list-style-type: none;
    padding-left: 0;
    font-size: 1.2rem;
    font-weight: 300;
    color: #222344;
}

.conditions-list li {
    padding: 8px 0;
    display: flex;

}

.conditions-list li::before {
    content: "✔";
    color: #cdad7d;
    font-size: 1.5rem;
    margin-right: 10px;
}

/* Conditions Image */
.conditions-img {
    max-width: 90%;
    height: auto;
    filter: drop-shadow(10px 0 10px rgba(0, 0, 0, 0.5));

}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .conditions-title {
        font-size: 2rem;
        text-align: center;
    }

    .conditions-img {
        max-width: 80%;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}

/* SERVICES SECTION STYLING */
#services {
    background-color: #f4f1ec;
}

/* Services Title */
.services-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #222344;
    margin-bottom: 2rem;
}

/* Service Cards */
.service-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
}

/* Service Card Images */
.service-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

/* Service Text */
.service-card h5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #222344;
}

.service-card p {
    font-size: 1rem;
    font-weight: 300;
    color: #555;
}

.service-highlight-card {
  background: #eeead6;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-highlight-card h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #222344;
  margin-bottom: 1rem;
}

.service-highlight-card p {
  font-size: 1.1rem;
  font-weight: 300;
  color: #333;
  margin-bottom: 1rem;
}

.service-highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
}

/* CONTACT STYLING */
#contact {
    background-color: #f4f1ec;
}

.contact-title {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #222344;
    margin-bottom: 2rem;
}

/* Contact Cards */
.contact-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Icons */
.contact-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

/* Contact Text */
.contact-card h5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #222344;
}

.contact-card p {
    font-size: 1rem;
    font-weight: 300;
    color: #555;
}


/* Location */

.location-image-container {
    background-color: #f4f1ec;
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
}
  
.location-image-box {
    position: relative;
    overflow: hidden;
    width: 600px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.location-image-box img {
    width: 100%;
    height: 90%;
    display: block;
    transition: transform 0.4s ease;
    border-radius: 8px;
}

.location-image-box:hover {
    transform: scale(1.1);
}

.location-image-text {
    text-align: center;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;

    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 100;
}

.location-image-box:hover .location-image-text {
opacity: 1;
}


@media (max-width: 768px) {
    .location-image-box:hover {
        transform: none;
    }

    .location-image-text {
        opacity: 1;
    }
}

/* Logos Section */
#logos {
    background-color: #f4f1ec;
}

.logos-container img {
    max-height: 100px;
    width: auto;
    margin: 10px 20px;
    transition: transform 0.3s ease;
}

.logos-container img:hover {
    transform: scale(1.1);
}

#logos .section-divider {
    margin-bottom: 2%;
    margin-top: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-title, .logos-title {
        font-size: 2rem;
    }

    .carousel-img {
        height: 300px;
    }

    .logos-container img {
        max-height: 80px;
        margin: 5px 10px;
    }
}

/* OTHER UTILITIES */

/* General Button Styling */
.btn-theme {
    background-color: #cdad7d;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

/* Hover Effect */
.btn-theme:hover {
    background-color: #b89564;
    transform: translateY(-2px);
}

/* Button with Outline */
.btn-outline-theme {
    background: transparent;
    color: #cdad7d;
    border: 2px solid #cdad7d;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

/* Outline Button Hover */
.btn-outline-theme:hover {
    background-color: #cdad7d;
    color: white;
    transform: translateY(-2px);
}

/* Section Divider */
.section-divider {
    width: 80%;
    height: 2px;
    background-color: #cdad7d;
    margin: 40px auto;
    opacity: 0.5;
    margin-bottom: 0;
}

/* Animations */
@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slide-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-slide-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-in-left {
    opacity: 0;
    animation: slide-in-left 1s ease-out forwards 0.5s;
}

.animate-slide-in-right {
    opacity: 0;
    animation: slide-in-right 1s ease-out forwards 0.5s;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.animate-visible {
    opacity: 1;
    transform: translateY(0);
}