/* Reset und Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

#container {
    width: 100%;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 15px;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

em {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    color: #B6AB86;
}

a {
    color: #B6AB86;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #a39874;
}

/* Header Styles */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.header-elements {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    max-height: 40px;
    width: auto;
    display: block;
}

.mobile-menu-button {
    display: none;
    font-size: 20px;
    cursor: pointer;
}

/* Navigation */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

#navigation {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item {
    position: relative;
}

.menu-item > a {
    display: block;
    padding: 10px 15px;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.menu-item:hover > a {
    color: #B6AB86;
}

.menu-button a {
    background: #B6AB86;
    color: white !important;
    border-radius: 3px;
    padding: 8px 20px !important;
}

.menu-button a:hover {
    background: #a39874;
}

/* Dropdown Menus */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    z-index: 1001;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    border-radius: 4px;
    border: 1px solid #f0f0f0;
}

.menu-item-has-children .sub-menu .menu-item-has-children .sub-menu {
    left: 100%;
    top: -9px; /* Align with parent item */
}

.menu-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu a {
    display: block;
    padding: 10px 18px !important;
    color: #555 !important;
    font-weight: normal !important;
    text-transform: none !important;
    font-size: 13px !important;
    letter-spacing: 0;
    transition: all 0.2s ease;
}

.sub-menu a:hover {
    background: #f8f9fa;
    color: #B6AB86 !important;
    padding-left: 22px !important;
}

/* Language Menu */
.ubomi-language-menu {
    position: relative;
}

.ubomi-language-menu li {
    list-style: none;
}

.ubomi-wpml-menu-button {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.top-header[data-color="dark"] .ubomi-wpml-menu-button {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.flags {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 80px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.ubomi-language-menu:hover .flags {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.flags li {
    border-bottom: 1px solid #f0f0f0;
}

.flags a {
    display: block;
    padding: 8px 15px;
    font-size: 12px;
}

/* Search Button */
.ubomi-search-button {
    padding: 10px;
    font-size: 16px;
    color: #666;
}

.top-header[data-color="dark"] .ubomi-search-button {
    color: #fff;
}

.ubomi-search-button:hover {
    color: #B6AB86;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background: white;
    border-top: 1px solid #eee;
    padding: 15px 0;
    max-height: 0;
    overflow-y: auto;
    transition: max-height 0.4s ease-out;
}

.mobile-nav.active {
    display: block;
    max-height: calc(100vh - 70px); /* Adjust based on header height */
}

#mobile-navigation {
    list-style: none;
    padding: 0 20px;
    margin: 0;
}

#mobile-navigation ul {
    list-style: none;
    padding-left: 20px;
}

#mobile-navigation a {
    display: block;
    padding: 10px 0;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

/* Main Content */
#main_content {
    margin-top: 71px; /* Match header height */
}

/* Hero Slider */
.hero-slider-container {
    position: relative;
    height: 600px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Content Rows */
.content_row {
    width: 100%;
}

.content_row_wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.content_row_wrapper.nopadding {
    padding: 0;
}

.fullwidth .content_row_wrapper {
    max-width: 100%;
}

/* Hero Slider */
.hero-slider-container {
    position: relative;
    height: 600px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.slide-content {
    width: 50%;
    background: rgba(255, 255, 255, 0.95);
    padding: 60px;
    margin-left: 50px;
    text-align: center;
}

.slide_heading {
    font-size: 48px;
    line-height: 48px;
    margin-bottom: 20px;
    color: #a39874;
}

.slide_sub_heading {
    font-family: 'Libre Baskerville', serif;
    font-style: italic;
    font-size: 22px;
    color: #B6AB86;
    display: block;
    margin-bottom: 25px;
}

.slide-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 1002;
    pointer-events: none;
}

.slider-nav button {
    pointer-events: all;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    transition: all 0.3s ease;
    z-index: 1003;
}

.slider-nav button:hover {
    background: white;
    color: #B6AB86;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 1002;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
}

/* Feature Boxes */
.feature-boxes {
    display: flex;
    min-height: 300px;
}

.feature-box {
    flex: 1;
    padding: 60px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-box.custom_bg {
    background-color: rgba(255, 255, 255, 0.1);
}

.feature-box:hover {
    background-color: #f8f9fa;
}

.icon-holder {
    font-size: 48px;
    color: #B6AB86;
    margin-bottom: 25px;
}

.text-holder h6 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #a39874;
}

.text-holder p {
    color: #666;
    line-height: 1.6;
}

/* Borders */
.border-top { border-top: 1px solid rgba(0, 0, 0, 0.1); }
.border-bottom { border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.border-left { border-left: 1px solid rgba(0, 0, 0, 0.1); }
.border-right { border-right: 1px solid rgba(0, 0, 0, 0.1); }

/* Feature Tabs */
.rt_features {
    display: flex;
    height: 600px;
}

.feature_galleries {
    width: 50%;
    flex: none;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature_gallery_wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature_gallery_wrapper.active {
    opacity: 1;
}

.feature_gallery_wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature_contents_wrapper {
    width: 50%;
    flex: none;
    background: #f8f9fa;
    padding: 60px;
}

.feature_nav {
    list-style: none;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature_title {
    padding: 10px 20px;
    background: white;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.feature_title:hover,
.feature_title.active {
    background: #B6AB86;
    color: white;
    border-color: #B6AB86;
}

.feature_content_wrapper {
    display: none;
}

.feature_content_wrapper.active {
    display: block;
}

.feature_content_wrapper h3 {
    margin-bottom: 20px;
}

.feature_content_wrapper h3:first-child {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.feature_content_wrapper p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #666;
}

.bullet-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.bullet-list li {
    position: relative;
    padding-left: 20px;
    color: #666;
}

.bullet-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #B6AB86;
    font-weight: bold;
}

.read_more {
    display: inline-block;
    padding: 12px 25px;
    background: #B6AB86;
    color: white;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.read_more:hover {
    background: #a39874;
    color: white;
}

/* News & Testimonials */
.news-testimonials {
    display: flex;
    min-height: 400px;
}

.news-section,
.testimonials-section {
    flex: 1;
    padding: 60px;
}

.testimonials-section {
    background: #f8f9fa;
}

.rt_heading_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.rt_heading {
    font-size: 20px;
    color: #a39874;
}

.heading_link {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
}

.rt_divider {
    height: 3px;
    background: #B6AB86;
    width: 60px;
    margin-bottom: 30px;
}

.latest_news article {
    display: flex;
    margin-bottom: 30px;
    gap: 20px;
}

.posts-image {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 3px;
}

.latest_news .text {
    flex: 1;
}

.date {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.latest_news h5 {
    margin: 10px 0;
}

.latest_news .title {
    color: #a39874;
    font-weight: 600;
}

.latest_news .title:hover {
    color: #B6AB86;
}

/* Testimonials */
.testimonial {
    display: none;
    align-items: flex-start;
    gap: 20px;
}

.testimonial.active {
    display: flex;
}

.client_image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.client_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial .text {
    flex: 1;
}

.testimonial p {
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #666;
}

.fa-quote-left,
.fa-quote-right {
    color: #3498db;
    font-size: 14px;
    margin: 0 5px;
}

.client_info {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.client_info span {
    color: #999;
    font-weight: normal;
}

.client_info .client_link {
    color: #B6AB86;
    text-decoration: none;
}

.client_info .client_link:hover {
    color: #a39874;
}

/* Guest Book Stars */
.testimonial .review-stars {
    margin: 0 0 15px 0;
    text-align: left;
}

.testimonial .review-stars .star {
    color: #B6AB86;
    font-size: 14px;
    margin-right: 2px;
}

/* Guest Avatars */
.guest-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #B6AB86 0%, #a39874 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(186, 167, 133, 0.3);
}

/* Contact Page Styles */
.contact-hero {
    background: none;
    padding: 0;
    height: 300px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin: 80px 0;
}

.contact-info-section h3,
.contact-form-section h3 {
    font-size: 28px;
    font-weight: 700;
    color: #a39874;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info-item {
    margin-bottom: 30px;
}

/* Extra space after intro paragraph before first contact block */
.contact-info-section > p + .contact-info-item {
    margin-top: 30px;
}

.contact-info-item h5 {
    font-size: 18px;
    font-weight: 600;
    color: #B6AB86;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.contact-info-item a {
    color: #B6AB86;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: #a39874;
}

/* Contact Form Styles */
.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-row {
    margin-bottom: 25px;
}

.form-group {
    width: 100%;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #B6AB86;
    box-shadow: 0 0 0 3px rgba(186, 167, 133, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.security-question input {
    width: 80px;
}

.submit-btn {
    background: linear-gradient(135deg, #B6AB86 0%, #a39874 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(186, 167, 133, 0.4);
}

/* Map Section */
.map-section {
    margin: 60px 0;
}

.map-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.map-container iframe {
    display: block;
    width: 100%;
}

/* Additional Info Section */
.additional-info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin: 80px 0;
}

.stay-connected h5,
.important-links h5 {
    font-size: 18px;
    font-weight: 600;
    color: #B6AB86;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stay-connected p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #B6AB86 0%, #a39874 100%);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(186, 167, 133, 0.4);
}

.important-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.important-links li {
    margin-bottom: 12px;
}

.important-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.important-links a:hover {
    color: #B6AB86;
}

/* Form Messages */
.form-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

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

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

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Responsive Contact Page */
@media screen and (max-width: 768px) {
    .contact-hero {
        height: 250px;
        width: 100%;
        margin-left: 0;
    }
    
    .contact-hero .slide-content-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }
    
    .contact-hero .slide-content {
        width: 90%;
        margin: 0;
        padding: 30px 20px;
        background: rgba(255, 255, 255, 0.95);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
        margin: 40px 0;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .additional-info-section {
        grid-template-columns: 1fr;
        gap: 40px;
        margin: 40px 0;
    }
    
    .map-container {
        width: 100%;
        margin-left: 0;
    }
}

.client_link {
    color: #3498db;
}

.book-section {
    margin-top: 40px;
    text-align: center;
}

.book-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #3498db;
    color: white;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.book-button:hover {
    background: #2c3e50;
    color: white;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
}

.footer_widgets {
    padding: 60px 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer_widget h5 {
    color: white;
    margin-bottom: 25px;
    font-size: 18px;
}

.footer_widget p {
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer_widget ul {
    list-style: none;
}

.footer_widget ul li {
    margin-bottom: 8px;
}

.footer_widget ul li a {
    color: #bbb;
    transition: color 0.3s ease;
}

.footer_widget ul li a:hover {
    color: white;
}

/* Subscription Form */
.subscription-form {
    margin-top: 20px;
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-row input[type="email"] {
    flex: 1;
    padding: 12px;
    border: 1px solid #444;
    background: #34495e;
    color: white;
    border-radius: 3px;
}

.form-row input[type="email"]::placeholder {
    color: #bbb;
}

.form-row input[type="submit"] {
    padding: 12px 20px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.form-row input[type="submit"]:hover {
    background: #2980b9;
}

/* Contact Info */
.contact-info div {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #bbb;
}

.contact-info i {
    width: 20px;
    color: #3498db;
}

.contact-info a {
    color: #bbb;
}

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

/* Footer Info Bar */
.footer_info_bar {
    background: #1a252f;
    padding: 20px 0;
    border-top: 1px solid #34495e;
}

.footer_info_bar .content_row_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: #bbb;
    font-size: 14px;
}

.footer-navigation {
    display: flex;
    gap: 30px;
    list-style: none;
}

.footer-navigation a {
    color: #bbb;
    font-size: 14px;
}

.footer-navigation a:hover {
    color: white;
}

/* Responsive Design */
@media screen and (max-width: 991px) {
    .header-elements {
        justify-content: center;
    }

    .header-right {
        display: none;
    }

    .mobile-menu-button {
        display: block;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .rt_features {
        flex-direction: column;
        height: auto;
    }
    
    .feature_galleries {
        height: 300px;
        order: 2;
    }
    
    .feature_contents_wrapper {
        order: 1;
        padding: 40px 20px;
    }
}

@media screen and (max-width: 480px) {
    .content_row_wrapper {
        padding: 0 15px;
    }
    
    .slide-content {
        width: 90%;
        padding: 30px 20px;
        margin-left: 10px;
    }
    
    .slide_heading {
        font-size: 24px;
    }
    
    .slide_sub_heading {
        font-size: 16px;
    }
    
    .feature-box {
        padding: 30px 15px;
    }
    
    .feature_contents_wrapper {
        padding: 30px 15px;
    }
    
    .news-section,
    .testimonials-section {
        padding: 30px 15px;
    }
}

/* Animations */
.slide-content {
    animation: slideInFromLeft 1s ease-out;
}

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

.feature-box:hover .icon-holder {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Loading Animation */
.ubomi-body {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

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

/* Scroll-triggered animations */
.feature-box {
    transition: all 0.6s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.latest_news article {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonial {
    display: none;
    align-items: flex-start;
    gap: 20px;
    transition: opacity 0.4s ease;
}

.testimonial.active {
    display: flex;
}

.footer_widget {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Animation class that gets added by JavaScript */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Smooth transitions for all animated elements */
.feature-box, 
.latest_news article, 
.footer_widget {
    will-change: opacity, transform;
}

/* Enhanced hover effects */
.feature-box:hover .icon-holder {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.latest_news article:hover {
    transform: translateY(-3px);
}

.latest_news article:hover .posts-image {
    transform: scale(1.05);
    transition: transform 0.3s ease;
} 
/* Legal pages */
.legal-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 20px 72px;
    color: #2c3e50;
    line-height: 1.65;
}

.legal-content h1,
.legal-content h1 em {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 2rem;
    margin: 0 0 1rem;
    color: #1a252f;
}

.legal-content h2,
.legal-content h2 em {
    font-family: 'Poppins', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 1.15rem;
    margin: 2rem 0 0.75rem;
    color: #1a252f;
}

.legal-content p,
.legal-content li {
    font-family: "Open Sans", sans-serif;
    font-size: 0.98rem;
}

.legal-content ul {
    padding-left: 1.25rem;
    margin: 0.5rem 0 1rem;
}

.legal-content li {
    margin-bottom: 0.4rem;
}

.legal-content a {
    color: #3498db;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content a:hover {
    color: #1f6f9f;
}

.legal-lede {
    font-size: 1.02rem;
    color: #445566;
}

.legal-meta {
    margin-top: 2rem;
    font-size: 0.92rem;
    color: #667788;
}

.legal-lang-switch {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin: 0.25rem 0 1.75rem;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.88rem;
}

.legal-lang-btn {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: #667788;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-lang-btn:hover {
    color: #1a252f;
}

.legal-lang-btn.is-active {
    color: #1a252f;
    font-weight: 600;
    text-decoration: none;
    cursor: default;
}

.legal-lang-sep {
    color: #b0b8c0;
    user-select: none;
}

.legal-lang-panel[hidden] {
    display: none;
}

.legal-divider {
    border: 0;
    border-top: 1px solid #dfe6ee;
    margin: 2.5rem 0 1.5rem;
}

a.js-email {
    cursor: pointer;
}
