/* Import EB Garamond font */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&display=swap');

/* Base styles */
body {
    font-family: 'EB Garamond', serif;
    background-color:  #fffaf2 !important ;
    color:  #fff ;
}

h1, h2, h3, h4, h5, h6, .mbr-section-title, .item-title, .panel-title-edit {
    font-family: 'EB Garamond', serif !important;
    font-weight: 700;
}

p, .mbr-text, .item-text, .panel-text {
    font-family: 'EB Garamond', serif !important;
    color: #383737;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleDown {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(0.8);
    }
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Hero Section Animations */
.header01 .content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;

    text-align: center;
    padding: 6rem 0;
}

.header01 .mbr-section-title {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.header01 .text-wrapper {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.header01 .mbr-section-btn {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

/* Background decorations for hero */
.header01::before {
    content: "";
    position: absolute;
    bottom: -4rem;
    right: -4rem;
    width: 16rem;
    height: 16rem;
    background-color: #e8dfd1;
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(3rem);
    z-index: 1;
}

.header01::after {
    content: "";
    position: absolute;
    top: 8rem;
    left: -4rem;
    width: 12rem;
    height: 12rem;
    background-color: #d4c8b0;
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(3rem);
    z-index: 1;
}

/* Reveal Animation for Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Scrolling text animation */
.loop-container {
    overflow: hidden;
    white-space: nowrap;
}

.loop-container .item {
    display: inline-block;
    animation: scrollText 20s linear infinite;
}

/* Card hover effects */
.card, .item-wrapper, .features-without-image {
    transition: all 0.3s ease;
    border-radius: 28px;
}

.card:hover, .item-wrapper:hover, .features-without-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.15) !important;
}

/* Button animations */
.btn {
    transition: all 0.3s ease;
    font-family: 'EB Garamond', serif !important;
    margin-left:0px !important
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background-color: #A48374 !important;
    border-color: #CBAD8D !important;
}

.btn-primary:hover {
    background-color:  #3A2D28  !important;
    border-color:  #fff  !important;
}


.timeline-item-vertical {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.timeline-item-vertical.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-icon-vertical {
    position: relative;
    z-index: 2;
    padding: 5px;
    background-color: white;
    border: 4px solid  #fff ;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Accordion animations */
.accordion .card {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #d4c8b0;
}

.accordion .card-header {
    background-color: transparent;
    border: none;
    padding: 1rem 0;
}

.accordion .panel-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color:  #fff ;
    text-decoration: none;
}

.accordion .icon-wrapper {
    transition: transform 0.3s ease;
}

.accordion .panel-title[aria-expanded="true"] .icon-wrapper {
    transform: rotate(45deg);
}

.accordion .panel-collapse {
    transition: all 0.3s ease;
}

/* Form animations */
.form-control {
    transition: all 0.3s ease;
    border: 1px solid #d4c8b0;
    border-radius: 28px;
    padding: 0.75rem 1rem;
    font-family: 'EB Garamond', serif !important;
}

.form-control:focus {
    border-color:  #fff ;
    box-shadow: 0 0 0 0.2rem rgba(58, 46, 40, 0.25);
}

/* Contact info animations */
.contacts01 .item {
    transition: all 0.3s ease;
}

.contacts01 .item:hover {
    transform: translateY(-5px);
}

.contacts01 .icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: #f0e6d9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.contacts01 .item:hover .icon-wrapper {
    background-color:  #fff ;
    color: white;
}

/* Sticky header */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 250, 242, 0.95) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* Custom icons */
.custom-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color:  #fff ;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.card:hover .custom-icon {
    transform: scale(1.1);
}


/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    body {
        font-size: 16px;
        line-height: 1.5;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 20px;
    }

    p {
        font-size: 14px;
    }

    .header01 .content-wrapper {
        padding: 3rem 1rem;
    }

    .header01 .mbr-section-title {
        font-size: 26px;
    }

    .header01 .text-wrapper {
        font-size: 16px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .form-control {
        padding: 0.5rem 0.75rem;
    }

    /* Reduce excessive paddings */
    .mbr-section {
        padding: 2rem 1rem;
    }

    .navbar {
        padding-bottom: 0rem !important;
        
    }

}
