/*
Theme Name: Sağlık İlkyardım
Description: Sağlık ve ilk yardım hizmetleri için profesyonel WordPress teması. Bu tema SMED YAZILIM tarafından geliştirilmiştir.
Version: 1.0
Author: SMED YAZILIM
Author URI: https://smedyazilim.com
Text Domain: saglik-ilkyardim
Tags: health, medical, responsive, bootstrap, custom-post-types
License: GPL v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Import existing CSS files */
@import url('./assets/css/bootstrap.min.css');
@import url('./assets/css/LineIcons.2.0.css');
@import url('./assets/css/animate.css');
@import url('./assets/css/tiny-slider.css');
@import url('./assets/css/glightbox.min.css');
@import url('./assets/css/main.css');

/* WordPress specific styles */
.alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-style: italic;
    margin-top: 0.5em;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Responsive embeds */
.wp-block-embed iframe,
.wp-block-embed object,
.wp-block-embed video {
    max-width: 100%;
    height: auto;
}

/* WordPress Block Search Widget Styles - Newsletter Form Style */
.sidebar .widget_block.widget_search .wp-block-search {
    position: relative;
}

.sidebar .widget_block.widget_search .wp-block-search__label {
    display: none;
}

.sidebar .widget_block.widget_search .wp-block-search .wp-block-search__inside-wrapper {
    position: relative;
    display: block;
}

.sidebar .widget_block.widget_search .wp-block-search__input {
    height: 55px;
    width: 100%;
    display: inline-block;
    background: transparent;
    border: none;
    color: #081828;
    border-radius: 0;
    padding: 0 150px 0 20px;
    font-size: 14px;
    background-color: rgba(152, 196, 181, 0.05);
    font-family: "Poppins", sans-serif;
    transition: all 0.3s ease;
    margin: 0;
    outline: none;
}

.sidebar .widget_block.widget_search .wp-block-search__input:focus {
    background-color: rgba(152, 196, 181, 0.1);
    box-shadow: 0 0 8px rgba(152, 196, 181, 0.2);
}

.sidebar .widget_block.widget_search .wp-block-search__input::placeholder {
    color: #888;
}

.sidebar .widget_block.widget_search .wp-block-search__button {
    position: absolute;
    right: 0;
    top: 0;
    display: inline-block;
    background: #558373;
    color: #fff;
    height: 55px;
    border: none;
    padding: 0 30px;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: 0.5s;
    z-index: 1;
    border-radius: 0;
    position: absolute;
}

.sidebar .widget_block.widget_search .wp-block-search__button::before {
    height: 100%;
    width: 0%;
    background-color: #517F72;
    left: 0;
    top: 0;
    position: absolute;
    content: "";
    transition: all 0.4s ease-in-out;
    z-index: -1;
}

.sidebar .widget_block.widget_search .wp-block-search__button:hover::before {
    width: 100%;
}

.sidebar .widget_block.widget_search .wp-block-search__button:hover {
    color: #fff;
}

/* Admin Bar & Sticky Header Compatibility */

/* Normal header position when admin bar is present */
.admin-bar .header.modern-navbar {
    top: 32px;
}

/* Sticky header admin bar compensation */
.admin-bar .header.modern-navbar.scrolled {
    top: 0 !important;
}

/* Mobile admin bar compensation */
@media (max-width: 782px) {
    .admin-bar .header.modern-navbar {
        top: 46px;
    }

    .admin-bar .header.modern-navbar.scrolled {
        top: 0 !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 600px) {
    .admin-bar .header.modern-navbar {
        top: 46px !important;
    }

    .admin-bar .header.modern-navbar.scrolled {
        top: 0 !important;
    }
}

/* Ensure sticky header never goes behind admin bar */
.admin-bar .header.modern-navbar {
    z-index: 99999 !important;
}

/* Normal sticky header (without admin bar) */
body:not(.admin-bar) .header.modern-navbar {
    top: 0 !important;
}

/* Modern Navbar Styles */
.header.modern-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(152, 196, 181, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.header.modern-navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(152, 196, 181, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.modern-navbar.scrolled .navbar-content {
    height: 70px;
}

/* Logo Section */
.navbar-brand-section {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 4px;
    border-radius: 0;
}

.navbar-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(82, 128, 115, 0.08), rgba(152, 196, 181, 0.06));
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
    z-index: -1;
}

.navbar-brand:hover::before {
    opacity: 1;
    transform: scale(1);
}

.navbar-brand:hover {
    transform: translateY(-1px);
}

.navbar-logo {
    height: 55px;
    width: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 1px 3px rgba(82, 128, 115, 0.1));
}

.header.modern-navbar.scrolled .navbar-logo {
    height: 48px;
}

.navbar-brand:hover .navbar-logo {
    filter: drop-shadow(0 3px 8px rgba(82, 128, 115, 0.25)) brightness(1.05) contrast(1.1);
    transform: scale(1.02);
}

/* Brand text removed - logo only navbar */

/* Navigation Menu */
.navbar-navigation {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}

.navbar-menu {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 8px;
}

.navbar-menu-item {
    position: relative;
    list-style: none;
}

.navbar-menu-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    color: #517F72;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    border-radius: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.navbar-menu-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #558373, #517F72);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: 0;
}

.navbar-menu-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.navbar-menu-link:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(82, 128, 115, 0.2);
}

.navbar-menu-item.current-menu-item .navbar-menu-link {
    color: #558373;
    font-weight: 600;
    background: rgba(82, 128, 115, 0.08);
}

.navbar-menu-item.current-menu-item .navbar-menu-link::before {
    transform: scaleX(0);
    background: transparent;
}

.navbar-menu-item.current-menu-item .navbar-menu-link:hover {
    color: #ffffff;
    background: transparent;
}

.navbar-menu-item.current-menu-item .navbar-menu-link:hover::before {
    transform: scaleX(1);
    background: linear-gradient(135deg, #558373, #517F72);
}

/* Dropdown Icon */
.dropdown-icon {
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.navbar-menu-item.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.navbar-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border: none;
    border-radius: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.navbar-menu-item.has-dropdown:hover .navbar-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-dropdown .navbar-menu-item {
    width: 100%;
    border-bottom: 1px solid rgba(136, 194, 80, 0.1);
}

.navbar-dropdown .navbar-menu-item:last-child {
    border-bottom: none;
}

.navbar-dropdown-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #517F72;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border-radius: 0;
    margin: 0;
}

.navbar-dropdown-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(135deg, #558373, #517F72);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
}

.navbar-dropdown-link:hover::before {
    transform: scaleY(1);
}

.navbar-dropdown-link:hover {
    background: linear-gradient(135deg, rgba(152, 196, 181, 0.15), rgba(82, 128, 115, 0.08));
    color: #558373;
    padding-left: 25px;
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(82, 128, 115, 0.1);
}

/* Sub Dropdown */
.navbar-sub-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 200px;
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.navbar-dropdown .navbar-menu-item.has-dropdown:hover .navbar-sub-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* CTA Button */
.navbar-cta {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 20px;
}

.navbar-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #558373;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border-radius: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.navbar-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.4s;
}

.navbar-btn:hover::before {
    left: 100%;
}

.navbar-btn:hover {
    transform: translateY(-2px);
    background: #517F72;
    box-shadow: 0 8px 20px rgba(82, 128, 115, 0.25);
    color: #ffffff;
}

.navbar-btn i {
    font-size: 16px;
}

/* Mobile Menu Toggle */
.navbar-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.navbar-mobile-toggle:hover {
    transform: scale(1.1);
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background: #081828;
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.navbar-mobile-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.navbar-mobile-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Overlay */
.mobile-navigation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-navigation-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-navigation-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    max-height: 100vh;
    background: #ffffff;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
}

.mobile-navigation-overlay.active .mobile-navigation-content {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid rgba(152, 196, 181, 0.1);
    flex-shrink: 0;
}

.mobile-nav-logo img {
    height: 35px;
    width: auto;
}

.mobile-nav-close {
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #081828;
    font-size: 20px;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.mobile-nav-close:hover {
    background: rgba(152, 196, 181, 0.1);
    color: #558373;
    transform: rotate(90deg);
}

/* Mobile Navigation Menu */
.mobile-navigation {
    flex: 1 1 0;
    padding: 10px 0;
    overflow-y: auto;
    min-height: 0;
    max-height: calc(100vh - 160px);
}

.mobile-navbar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-navbar-menu-item {
    border-bottom: 1px solid rgba(152, 196, 181, 0.1);
}

.mobile-navbar-menu-item:last-child {
    border-bottom: none;
}

.mobile-menu-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-navbar-menu-link {
    display: block;
    padding: 15px 20px;
    color: #081828;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    flex-grow: 1;
}

.mobile-navbar-menu-link:hover {
    color: #558373;
    background: rgba(152, 196, 181, 0.1);
    padding-left: 25px;
}

.mobile-navbar-menu-item.current-menu-item .mobile-navbar-menu-link {
    color: #558373;
    background: rgba(152, 196, 181, 0.15);
    font-weight: 600;
}

/* Mobile Submenu Toggle */
.mobile-submenu-toggle {
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #081828;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mobile-submenu-toggle:hover {
    color: #558373;
    background: rgba(152, 196, 181, 0.1);
}

.mobile-submenu-toggle.active {
    transform: rotate(180deg);
    color: #558373;
}

/* Mobile Submenu */
.mobile-navbar-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: rgba(152, 196, 181, 0.02);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-navbar-submenu.active {
    max-height: 500px;
}

.mobile-navbar-submenu .mobile-navbar-menu-item {
    border-bottom: 1px solid rgba(152, 196, 181, 0.05);
}

.mobile-navbar-submenu .mobile-navbar-menu-link {
    padding: 12px 20px 12px 40px;
    font-size: 15px;
    position: relative;
}

.mobile-navbar-submenu .mobile-navbar-menu-link::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 50%;
    width: 6px;
    height: 1px;
    background: #558373;
    transform: translateY(-50%);
}

/* Mobile CTA */
.mobile-nav-cta {
    padding: 15px 20px;
    border-top: 1px solid rgba(152, 196, 181, 0.1);
    flex-shrink: 0;
    position: sticky;
    bottom: 3rem;
    background: #ffffff;
    z-index: 10;
}

.mobile-navbar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 15px;
    background: #558373;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    border-radius: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.mobile-navbar-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.4s;
}

.mobile-navbar-btn:hover::before {
    left: 100%;
}

.mobile-navbar-btn:hover {
    background: #517F72;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(82, 128, 115, 0.25);
}

/* Body Scroll Lock */
body.mobile-nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Critical breakpoint for navbar overflow */
@media (max-width: 1208px) and (min-width: 992px) {
    .navbar-menu {
        gap: 4px;
    }

    .navbar-menu-link {
        padding: 10px 12px;
        font-size: 14px;
    }

    .navbar-cta {
        margin-left: 12px;
    }

    .navbar-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .navbar-container {
        padding: 0 15px;
    }
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .navbar-navigation {
        display: none;
    }

    .navbar-cta {
        display: none;
    }

    .navbar-mobile-toggle {
        display: flex;
    }

    .navbar-content {
        height: 70px;
    }

    .header.modern-navbar.scrolled .navbar-content {
        height: 65px;
    }

    .navbar-logo {
        height: 40px;
    }

    .header.modern-navbar.scrolled .navbar-logo {
        height: 35px;
    }

    /* Brand text CSS removed */

    /* Mobil cihazlarda hero'nun min-height 100vh özelliğini kaldır */
    .hero-area.modern-hero,
    .hero-banner {
        min-height: auto !important;
    }
}

@media (max-width: 575.98px) {
    .navbar-container {
        padding: 0 15px;
    }

    .navbar-content {
        height: 65px;
    }

    .header.modern-navbar.scrolled .navbar-content {
        height: 60px;
    }

    .navbar-logo {
        height: 35px;
    }

    .header.modern-navbar.scrolled .navbar-logo {
        height: 30px;
    }

    /* Brand text CSS removed */

    .mobile-navigation-content {
        width: 280px;
    }
}

/* 404 Error Page Styles */
.error-404-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: 80px;
}

.error-404-content {
    margin-bottom: 40px;
}

.error-number .error-title {
    font-size: 120px;
    font-weight: 900;
    color: #96CFB8;
    margin-bottom: 20px;
    line-height: 1;
    text-shadow: 3px 3px 8px rgba(136, 194, 80, 0.3);
    background: linear-gradient(135deg, #96CFB8 0%, #517F72 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-text h2 {
    font-size: 28px;
    font-weight: 700;
    color: #081828;
    margin-bottom: 15px;
}

.error-text p {
    font-size: 16px;
    color: #888;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 26px;
}

.error-search-form {
    margin-bottom: 30px;
}

/* 404 Page Newsletter Form Style Override - Add List Button Style */
.error-search-form .newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    display: block;
}

.error-search-form .newsletter-form input[type="search"] {
    height: 55px;
    width: 100%;
    display: inline-block;
    background: transparent;
    border: none;
    color: #081828;
    border-radius: 0;
    padding: 0 150px 0 20px;
    font-size: 14px;
    background-color: rgba(152, 196, 181, 0.05);
    font-family: "Poppins", sans-serif;
    transition: all 0.3s ease;
    margin: 0;
    outline: none;
}

.error-search-form .newsletter-form input[type="search"]:focus {
    background-color: rgba(152, 196, 181, 0.1);
    box-shadow: 0 0 8px rgba(152, 196, 181, 0.2);
}

.error-search-form .newsletter-form input[type="search"]::placeholder {
    color: #888;
}

.error-search-form .newsletter-form .button {
    margin: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.error-search-form .newsletter-form .button .btn {
    display: inline-block;
    text-transform: capitalize;
    font-size: 14px;
    font-weight: 500;
    padding: 0 30px;
    background: #558373;
    color: #fff;
    border: none;
    transition: 0.5s;
    border-radius: 0;
    position: relative;
    z-index: 1;
    margin: 0;
    height: 55px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
}

.error-search-form .newsletter-form .button .btn::before {
    height: 100%;
    width: 0%;
    background-color: #517F72;
    left: 0;
    top: 0;
    position: absolute;
    content: "";
    transition: all 0.4s ease-in-out;
    z-index: -1;
}

.error-search-form .newsletter-form .button .btn:hover::before {
    width: 100%;
}

.error-search-form .newsletter-form .button .btn:hover {
    color: #fff;
}

.error-search-form .newsletter-form .button .btn i {
    margin-right: 8px;
    font-size: 14px;
}

.search-field-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-field-wrapper .search-input {
    height: 55px;
    width: 100%;
    padding: 15px 20px;
    padding-right: 120px;
    border: 1px solid rgba(136, 194, 80, 0.3);
    border-radius: 0;
    outline: none;
    font-size: 16px;
    background: #fff;
    color: #081828;
    font-family: "Poppins", sans-serif;
    transition: all 0.3s ease;
}

.search-field-wrapper .search-input:focus {
    border-color: #96CFB8;
    box-shadow: 0 0 10px rgba(136, 194, 80, 0.2);
}

.search-field-wrapper .search-input::placeholder {
    color: #888;
}

.search-field-wrapper .search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 55px;
    padding: 0 25px;
    border: none;
    background: #96CFB8;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    border-radius: 0;
}

.search-field-wrapper .search-btn:hover {
    background: #517F72;
}

.error-actions {
    margin-bottom: 50px;
}

.error-actions .btn {
    display: inline-block;
    text-transform: capitalize;
    font-size: 14px;
    font-weight: 500;
    padding: 15px 30px;
    background-color: #96CFB8;
    color: #fff;
    border: none;
    transition: 0.5s;
    border-radius: 0;
    position: relative;
    z-index: 1;
    margin: 0 10px 10px 10px;
    text-decoration: none;
}

.error-actions .btn::before {
    height: 100%;
    width: 0%;
    background-color: #517F72;
    left: 0;
    top: 0;
    position: absolute;
    content: "";
    transition: all 0.4s ease-in-out;
    z-index: -1;
}

.error-actions .btn:hover::before {
    width: 100%;
}

.error-actions .btn:hover {
    color: #fff;
}

.error-actions .btn i {
    display: inline-block;
    margin-right: 5px;
}

.error-actions .alt-btn {
    background-color: #081828;
    color: #fff;
}

.error-actions .alt-btn::before {
    background-color: #96CFB8;
}

.error-actions .alt-btn:hover {
    color: #fff;
}

.helpful-links-section {
    background: white;
    padding: 40px;
    border-radius: 0;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(8, 24, 40, 0.1);
    border: 1px solid rgba(136, 194, 80, 0.1);
}

.helpful-links-section h4 {
    font-size: 24px;
    font-weight: 700;
    color: #081828;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.helpful-links-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #96CFB8 0%, #517F72 100%);
    border-radius: 0;
}

.helpful-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.helpful-links-list li {
    margin-bottom: 12px;
}

.helpful-links-list a {
    color: #517F72;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
    padding: 12px 15px;
    border-radius: 0;
    border-left: 3px solid transparent;
    font-family: "Poppins", sans-serif;
}

.helpful-links-list a:hover {
    color: #004d28;
    background: rgba(136, 194, 80, 0.1);
    border-left-color: #96CFB8;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(136, 194, 80, 0.2);
}

/* Responsive Design for 404 Page */
@media (max-width: 768px) {
    .error-404-section {
        padding: 40px 0;
    }

    .error-number .error-title {
        font-size: 80px;
        background: linear-gradient(135deg, #96CFB8 0%, #517F72 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .error-text h2 {
        font-size: 22px;
        color: #081828;
    }

    .error-text p {
        font-size: 14px;
        color: #888;
        padding: 0 15px;
    }

    .search-field-wrapper {
        margin: 0 15px;
    }

    .search-field-wrapper .search-input {
        height: 50px;
        padding: 12px 15px;
        padding-right: 100px;
        font-size: 15px;
    }

    .search-field-wrapper .search-btn {
        height: 50px;
        padding: 0 20px;
        font-size: 14px;
    }

    .error-actions .btn {
        display: block;
        margin: 15px auto;
        text-align: center;
        max-width: 280px;
        padding: 18px 35px;
        font-size: 16px;
    }

    .helpful-links-section {
        padding: 25px 20px;
        margin: 30px 15px 0;
        border-radius: 0;
    }

    .helpful-links-section h4 {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .helpful-links-list a {
        padding: 15px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .error-404-section {
        padding: 30px 0;
    }

    .error-number .error-title {
        font-size: 60px;
        margin-bottom: 15px;
    }

    .error-text h2 {
        font-size: 20px;
        margin-bottom: 12px;
        padding: 0 10px;
    }

    .error-text p {
        font-size: 14px;
        padding: 0 10px;
        margin-bottom: 25px;
    }

    .search-field-wrapper {
        margin: 0 10px;
    }

    .search-field-wrapper .search-input {
        height: 45px;
        padding: 10px 12px;
        padding-right: 80px;
        font-size: 14px;
    }

    .search-field-wrapper .search-btn {
        height: 45px;
        padding: 0 15px;
        font-size: 13px;
    }

    .error-actions .btn {
        max-width: 250px;
        padding: 15px 30px;
        font-size: 15px;
        margin: 12px auto;
    }

    .helpful-links-section {
        margin: 25px 10px 0;
        padding: 20px 15px;
    }

    .helpful-links-section h4 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .helpful-links-list a {
        padding: 12px;
        font-size: 14px;
    }
}

/* Search Results Page Styles */
.search-results-info {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(136, 194, 80, 0.05);
    border-left: 4px solid #96CFB8;
    border-radius: 0;
}

.search-results-info p {
    margin: 0;
    font-size: 16px;
    color: #081828;
    font-weight: 500;
}

.search-result {
    background: #fff;
    margin-bottom: 30px;
    padding: 30px;
    border-radius: 0;
    box-shadow: 0 8px 25px rgba(8, 24, 40, 0.08);
    border: 1px solid rgba(136, 194, 80, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.search-result::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #96CFB8 0%, #517F72 100%);
    border-radius: 0;
}

.search-result:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(8, 24, 40, 0.12);
}

.search-result .entry-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.search-result .entry-title a {
    color: #081828;
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-result .entry-title a:hover {
    color: #517F72;
}

.search-result .entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(136, 194, 80, 0.15);
}

.search-result .entry-meta span {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #888;
    font-weight: 500;
}

.search-result .entry-meta span i {
    margin-right: 5px;
    font-size: 14px;
    color: #96CFB8;
}

.search-result .search-thumbnail {
    float: left;
    margin: 0 20px 15px 0;
    max-width: 150px;
}

.search-result .search-thumbnail img {
    border-radius: 0;
    transition: transform 0.3s ease;
}

.search-result .search-thumbnail:hover img {
    transform: scale(1.05);
}

.search-result .entry-summary {
    color: #888;
    line-height: 26px;
    margin-bottom: 20px;
}

.search-result .entry-footer {
    clear: both;
    padding-top: 15px;
}

/* No Results Styles */
.no-results {
    background: #fff;
    padding: 60px 40px;
    border-radius: 0;
    text-align: center;
    box-shadow: 0 8px 25px rgba(8, 24, 40, 0.08);
    border: 1px solid rgba(136, 194, 80, 0.1);
}

.no-results h2 {
    color: #081828;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.no-results p {
    color: #888;
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-again {
    margin-bottom: 40px;
}

.search-again h4 {
    color: #081828;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.search-again .newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    display: flex;
}

.search-again .newsletter-form input[type="search"] {
    height: 55px;
    width: 100%;
    display: inline-block;
    background: transparent;
    border: none;
    color: #081828;
    border-radius: 0;
    padding: 0 150px 0 20px;
    font-size: 14px;
    background-color: rgba(136, 194, 80, 0.05);
    font-family: "Poppins", sans-serif;
    transition: all 0.3s ease;
    flex: 1;
    margin: 0;
    outline: none;
}

.search-again .newsletter-form input[type="search"]:focus {
    background-color: rgba(136, 194, 80, 0.1);
    box-shadow: 0 0 8px rgba(136, 194, 80, 0.2);
}

.search-again .newsletter-form input[type="search"]::placeholder {
    color: #888;
}

.search-again .newsletter-form .button {
    margin: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.search-again .newsletter-form .button .btn {
    display: inline-block;
    text-transform: capitalize;
    font-size: 14px;
    font-weight: 500;
    padding: 15px 30px;
    background-color: #96CFB8;
    color: #fff;
    border: none;
    transition: 0.5s;
    border-radius: 0;
    position: relative;
    z-index: 1;
    margin: 0;
    height: 55px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.search-again .newsletter-form .button .btn::before {
    height: 100%;
    width: 0%;
    background-color: #517F72;
    left: 0;
    top: 0;
    position: absolute;
    content: "";
    transition: all 0.4s ease-in-out;
    z-index: -1;
}

.search-again .newsletter-form .button .btn:hover::before {
    width: 100%;
}

.search-again .newsletter-form .button .btn:hover {
    color: #fff;
}

.search-again .newsletter-form .button .btn i {
    margin-right: 8px;
    font-size: 14px;
}

.search-suggestions,
.popular-content {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 25px;
    background: rgba(136, 194, 80, 0.05);
    border-radius: 0;
    border-left: 4px solid #96CFB8;
}

.search-suggestions h4,
.popular-content h4 {
    color: #081828;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.search-suggestions ul,
.popular-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-suggestions li,
.popular-content li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: #888;
    line-height: 24px;
}

.search-suggestions li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #96CFB8;
    font-weight: 600;
}

.popular-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #96CFB8;
    font-weight: 600;
    font-size: 18px;
    line-height: 20px;
}

.popular-content a {
    color: #517F72;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.popular-content a:hover {
    color: #004d28;
}

/* Responsive Search Results */
@media (max-width: 768px) {
    .search-result {
        padding: 20px 15px;
    }

    .search-result .entry-title {
        font-size: 20px;
    }

    .search-result .search-thumbnail {
        float: none;
        margin: 0 0 15px 0;
        max-width: 100%;
    }

    .search-result .entry-meta {
        flex-direction: column;
        gap: 10px;
    }

    .no-results {
        padding: 40px 20px;
    }

    .no-results h2 {
        font-size: 24px;
    }
}

/* Contact Page Styles */
.contact-us {
    padding: 80px 0;
    background: #f9f9f9;
}

.contact-form {
    background: #fff;
    padding: 50px 40px;
    border-radius: 0;
    box-shadow: 0 8px 25px rgba(8, 24, 40, 0.08);
    border: 1px solid rgba(136, 194, 80, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #96CFB8 0%, #517F72 100%);
    border-radius: 0;
}

.contact-head {
    margin-bottom: 40px;
    text-align: center;
}

.contact-head h2 {
    color: #081828;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.contact-head p {
    color: #888;
    font-size: 16px;
    line-height: 26px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form .form-group label {
    display: block;
    color: #081828;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(136, 194, 80, 0.3);
    border-radius: 0;
    background: #fff;
    color: #081828;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    outline: none;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    border-color: #96CFB8;
    box-shadow: 0 0 10px rgba(136, 194, 80, 0.2);
    background: rgba(136, 194, 80, 0.05);
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
    color: #888;
}

.contact-form .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .form-group.button {
    text-align: center;
    margin-top: 30px;
}

/* Contact Info Styles */
.contact-info {
    padding: 0;
}

.single-info {
    background: #fff;
    padding: 30px 25px;
    border-radius: 0;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(8, 24, 40, 0.08);
    border: 1px solid rgba(136, 194, 80, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.single-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #96CFB8 0%, #517F72 100%);
    border-radius: 0;
}

.single-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(8, 24, 40, 0.12);
}

.single-info .info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #96CFB8 0%, #517F72 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(136, 194, 80, 0.3);
}

.single-info .info-icon i {
    font-size: 28px;
    color: #fff;
}

.single-info .info-content h4 {
    color: #081828;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.single-info .info-content p {
    color: #888;
    line-height: 26px;
    margin: 0;
}

.single-info .info-content a {
    color: #517F72;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.single-info .info-content a:hover {
    color: #004d28;
}

/* Map Section Styles */
.map-section {
    margin-top: 60px;
    text-align: center;
}

.map-section .section-title {
    margin-bottom: 40px;
}

.map-section .section-title h2 {
    color: #081828;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.map-section .section-title p {
    color: #888;
    font-size: 16px;
    line-height: 26px;
}

.google-map {
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(8, 24, 40, 0.08);
    border: 1px solid rgba(136, 194, 80, 0.1);
}

.google-map iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

/* Contact Success/Error Messages */
.contact-success {
    background: rgba(136, 194, 80, 0.1);
    border: 2px solid #96CFB8;
    color: #517F72;
    padding: 20px;
    border-radius: 0;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.contact-error {
    background: rgba(220, 53, 69, 0.1);
    border: 2px solid #dc3545;
    color: #721c24;
    padding: 20px;
    border-radius: 0;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

/* Responsive Contact Styles */
@media (max-width: 991px) {
    .contact-info {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .contact-us {
        padding: 60px 0;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .contact-head h2 {
        font-size: 26px;
    }

    .single-info {
        padding: 25px 20px;
    }

    .single-info .info-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .single-info .info-icon i {
        font-size: 24px;
    }

    .single-info .info-content h4 {
        font-size: 18px;
    }

    .map-section {
        margin-top: 40px;
    }

    .map-section .section-title h2 {
        font-size: 26px;
    }

    .google-map iframe {
        height: 300px;
    }
}

/* Sidebar Styles */
.sidebar {
    padding: 0;
}

.sidebar .widget {
    background: #fff;
    border-radius: 0;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(8, 24, 40, 0.08);
    border: 1px solid rgba(136, 194, 80, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sidebar .widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #96CFB8 0%, #517F72 100%);
    border-radius: 0;
}

.sidebar .widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(8, 24, 40, 0.12);
}

.sidebar .widget-title {
    color: #081828;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    position: relative;
    font-family: "Poppins", sans-serif;
}

.sidebar .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #96CFB8 0%, #517F72 100%);
    border-radius: 0;
}

/* Search Widget */
.widget_search .search-form {
    position: relative;
    margin-bottom: 0;
}

.widget_search .search-field {
    position: relative;
}

.widget_search .search-input {
    height: 50px;
    width: 100%;
    padding: 12px 15px;
    padding-right: 80px;
    border: 1px solid rgba(136, 194, 80, 0.3);
    border-radius: 0;
    outline: none;
    font-size: 14px;
    background: #fff;
    color: #081828;
    font-family: "Poppins", sans-serif;
    transition: all 0.3s ease;
}

.widget_search .search-input:focus {
    border-color: #96CFB8;
    box-shadow: 0 0 8px rgba(136, 194, 80, 0.2);
}

.widget_search .search-input::placeholder {
    color: #888;
}

.widget_search .search-submit {
    position: absolute;
    right: 0;
    top: 0;
    height: 50px;
    padding: 0 18px;
    border: none;
    background: #96CFB8;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    border-radius: 0;
}

.widget_search .search-submit:hover {
    background: #517F72;
}

.widget_search .screen-reader-text {
    display: none;
}

/* General Search Form Styles (for other search forms) */
.search-form {
    position: relative;
}

.search-form .search-field {
    position: relative;
}

.search-form .search-input {
    height: 50px;
    width: 100%;
    padding: 12px 15px;
    padding-right: 80px;
    border: 1px solid rgba(136, 194, 80, 0.3);
    border-radius: 0;
    outline: none;
    font-size: 14px;
    background: #fff;
    color: #081828;
    font-family: "Poppins", sans-serif;
    transition: all 0.3s ease;
}

.search-form .search-input:focus {
    border-color: #96CFB8;
    box-shadow: 0 0 8px rgba(136, 194, 80, 0.2);
}

.search-form .search-input::placeholder {
    color: #888;
}

.search-form .search-submit {
    position: absolute;
    right: 0;
    top: 0;
    height: 50px;
    padding: 0 18px;
    border: none;
    background: #96CFB8;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    border-radius: 0;
}

.search-form .search-submit:hover {
    background: #517F72;
}

.search-form .screen-reader-text {
    display: none;
}

/* Recent Posts Widget */
.widget_recent_posts ul,
.widget_recent_entries ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_recent_posts li,
.widget_recent_entries li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(136, 194, 80, 0.15);
    transition: all 0.3s ease;
}

.widget_recent_posts li:last-child,
.widget_recent_entries li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget_recent_posts li:hover,
.widget_recent_entries li:hover {
    padding-left: 10px;
    background: rgba(136, 194, 80, 0.05);
    border-radius: 0;
}

.widget_recent_posts a,
.widget_recent_entries a {
    color: #081828;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
    font-family: "Poppins", sans-serif;
}

.widget_recent_posts a:hover,
.widget_recent_entries a:hover {
    color: #517F72;
}

.widget_recent_posts .post-date {
    display: block;
    color: #888;
    font-size: 12px;
    margin-top: 8px;
    font-weight: 400;
    padding-left: 2px;
}

.widget_recent_posts .post-date i {
    margin-right: 5px;
    font-size: 11px;
    color: #96CFB8;
}

/* Categories Widget */
.widget_categories ul,
.widget_archive ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_categories li,
.widget_archive li {
    margin-bottom: 12px;
}

.widget_categories a,
.widget_archive a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #517F72;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 15px;
    border-radius: 0;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-family: "Poppins", sans-serif;
}

.widget_categories a:hover,
.widget_archive a:hover {
    background: rgba(136, 194, 80, 0.1);
    border-left-color: #96CFB8;
    transform: translateX(5px);
    color: #004d28;
}

.widget_categories a .post-count,
.widget_archive a .post-count {
    background: linear-gradient(135deg, #96CFB8 0%, #517F72 100%);
    color: white;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 0;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

/* Tag Cloud Widget */
.widget_tag_cloud .tagcloud a {
    display: inline-block;
    background: rgba(136, 194, 80, 0.1);
    color: #517F72;
    padding: 8px 15px;
    margin: 0 5px 8px 0;
    border-radius: 0;
    text-decoration: none;
    font-size: 13px !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(136, 194, 80, 0.2);
    font-family: "Poppins", sans-serif;
}

.widget_tag_cloud .tagcloud a:hover {
    background: linear-gradient(135deg, #96CFB8 0%, #517F72 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(136, 194, 80, 0.3);
}

/* Services Widget */
.widget_services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_services li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.widget_services li::before {
    content: '\e91e';
    font-family: 'LineIcons';
    position: absolute;
    left: 0;
    top: 2px;
    color: #96CFB8;
    font-size: 16px;
}

.widget_services a {
    color: #081828;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
}

.widget_services a:hover {
    color: #517F72;
    padding-left: 8px;
}

/* Doctors Widget */
.widget_doctors ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_doctors li {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(136, 194, 80, 0.03);
    border-radius: 0;
    border-left: 4px solid #96CFB8;
    transition: all 0.3s ease;
}

.widget_doctors li:hover {
    background: rgba(136, 194, 80, 0.08);
    transform: translateX(3px);
}

.widget_doctors li:last-child {
    margin-bottom: 0;
}

.widget_doctors a {
    color: #081828;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
    font-family: "Poppins", sans-serif;
}

.widget_doctors a:hover {
    color: #517F72;
}

.widget_doctors .doctor-specialty {
    display: block;
    color: #888;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 400;
    font-style: italic;
}

/* Contact Widget */
.widget_contact .contact-info {
    margin: 0;
}

.widget_contact .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 15px;
    background: rgba(136, 194, 80, 0.05);
    border-radius: 0;
    border-left: 4px solid #96CFB8;
    transition: all 0.3s ease;
}

.widget_contact .contact-item:hover {
    background: rgba(136, 194, 80, 0.1);
    transform: translateX(5px);
}

.widget_contact .contact-item i {
    font-size: 18px;
    color: #517F72;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.widget_contact .contact-item span {
    color: #081828;
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
}

/* Custom List Styles */
.helpful-links-list,
.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    position: relative;
}

/* Responsive Sidebar */
@media (max-width: 991px) {
    .sidebar {
        margin-top: 50px;
    }

    .sidebar .widget {
        margin-bottom: 25px;
        padding: 25px 20px;
    }

    .sidebar .widget-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .sidebar .widget {
        padding: 20px 15px;
        border-radius: 0;
    }

    .sidebar .widget-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .widget_search .search-input {
        height: 45px;
        padding: 10px 12px;
        padding-right: 70px;
        font-size: 13px;
    }

    .widget_search .search-submit {
        height: 45px;
        padding: 0 15px;
        font-size: 13px;
    }

    .widget_categories a,
    .widget_archive a {
        padding: 10px 12px;
        font-size: 14px;
    }

    .widget_contact .contact-item {
        padding: 12px;
        margin-bottom: 15px;
    }

    .widget_contact .contact-item i {
        font-size: 16px;
        margin-right: 12px;
    }

    .widget_contact .contact-item span {
        font-size: 13px;
    }
}

/* ========================================
   FRONT PAGE STYLES
   ======================================== */

/* Modern hero layout */
.hero-area.modern-hero {
    position: relative;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0;
    background: linear-gradient(170deg, #f4faf6 0%, #ffffff 60%, #eef6f2 100%);
    overflow: hidden;
}

.hero-area.modern-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(81, 127, 114, 0.11), transparent 60%);
    pointer-events: none;
}

.hero-banner {
    position: relative;
    min-height: clamp(320px, 55vh, 480px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    box-shadow: 0 35px 80px rgba(35, 55, 48, 0.18);
}

.hero-fallback {
    background: linear-gradient(135deg, #528073 0%, #3d6155 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, rgba(20, 44, 38, 0.75) 0%, rgba(29, 61, 52, 0.55) 55%, rgba(17, 34, 29, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: clamp(2rem, 5vw, 3rem);
}

.min-vh-70 {
    min-height: clamp(260px, 50vh, 360px);
}

.hero-text-modern {
    max-width: 700px;
    padding: clamp(1.75rem, 4vw, 2.75rem);
    background: rgba(14, 32, 27, 0.55);
    backdrop-filter: blur(12px);
    border-left: 4px solid var(--primary-color, #558373);
    box-shadow: 0 24px 52px rgba(10, 24, 20, 0.35);
    color: #ffffff;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: inherit;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2.2vw, 1.3rem);
    font-weight: 500;
    margin-bottom: 1rem;
    color: inherit;
    opacity: 0.88;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: clamp(1.4rem, 3vw, 2.1rem);
    color: inherit;
    opacity: 0.85;
}

.hero-description p {
    margin-bottom: 0.85rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.hero-buttons .navbar-btn {
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    min-width: 0;
}

.hero-buttons .hero-btn-outline {
    background: transparent;
    border: 1px solid rgba(152, 196, 181, 0.65);
    color: #e4f1eb;
    box-shadow: none;
}

.hero-buttons .hero-btn-outline::before {
    content: none;
}

.hero-buttons .hero-btn-outline:hover {
    background: var(--primary-color, #558373);
    border-color: var(--primary-color, #558373);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(81, 127, 114, 0.35);
}

.shapes .shape1,
.shapes .shape2 {
    position: absolute;
    width: clamp(140px, 18vw, 220px);
    opacity: 0.15;
    filter: blur(0.6px);
    z-index: 0;
}

.shapes .shape1 {
    top: 8%;
    right: -8%;
}

.shapes .shape2 {
    bottom: 12%;
    left: -8%;
}

@media (max-width: 992px) {
    .hero-area.modern-hero {
        padding: clamp(2.2rem, 8vw, 3.5rem) 0;
    }

    .hero-banner {
        min-height: clamp(300px, 58vh, 440px);
    }

    .hero-content {
        padding: 2.5rem;
    }

    .hero-text-modern {
        padding: 2.2rem;
        border-left-width: 3px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .navbar-btn {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-area.modern-hero {
        padding: 2.5rem 0;
    }

    .hero-banner {
        min-height: 300px;
        box-shadow: 0 20px 50px rgba(35, 55, 48, 0.18);
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .hero-text-modern {
        padding: 1.8rem;
        border-left-width: 4px;
    }

    .shapes .shape1,
    .shapes .shape2 {
        display: none;
    }
}

/* İlkyardım Eğitimleri Section */
.ilkyardim-egitimleri-anasayfa {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(152, 196, 181, 0.05) 0%, rgba(82, 128, 115, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.ilkyardim-egitimleri-anasayfa::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1.5" fill="%23528073" opacity="0.1"/></svg>') repeat;
    background-size: 40px 40px;
    animation: float-bg 25s ease-in-out infinite;
    z-index: 0;
}

@keyframes float-bg {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
    }

    25% {
        transform: translateY(-5px) translateX(3px);
    }

    50% {
        transform: translateY(0px) translateX(-3px);
    }

    75% {
        transform: translateY(3px) translateX(0px);
    }
}

.ilkyardim-egitimleri-anasayfa .container {
    position: relative;
    z-index: 1;
}

.ilkyardim-image-wrapper {
    position: relative;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ilkyardim-image {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(82, 128, 115, 0.15);
    border: 4px solid #96CFB8;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    max-width: 100%;
}

.ilkyardim-image::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #96CFB8, #558373, #517F72, #96CFB8);
    border-radius: 0;
    z-index: -1;
    opacity: 0;
    transition: all 0.6s ease;
    animation: ilkyardim-pulse-border 4s infinite;
}

@keyframes ilkyardim-pulse-border {

    0%,
    100% {
        transform: scale(1);
        opacity: 0;
    }

    50% {
        transform: scale(1.02);
        opacity: 0.3;
    }
}

.ilkyardim-image:hover::before {
    opacity: 0.6;
    animation: ilkyardim-rotate-border 3s linear infinite, ilkyardim-pulse-border 4s infinite;
}

@keyframes ilkyardim-rotate-border {
    0% {
        transform: rotate(0deg) scale(1.02);
    }

    100% {
        transform: rotate(360deg) scale(1.02);
    }
}

.ilkyardim-image:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 30px 60px rgba(82, 128, 115, 0.25);
    border-color: #517F72;
}

.ilkyardim-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
    transition: all 0.6s ease;
    display: block;
    filter: brightness(1.05) contrast(1.1) saturate(1.1);
    position: relative;
    z-index: 2;
}

.ilkyardim-image:hover img {
    transform: scale(1.08);
    filter: brightness(1.15) contrast(1.2) saturate(1.2);
}

/* Stats Overlay - Top Left */
.image-stats-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 0;
    box-shadow: 0 8px 25px rgba(82, 128, 115, 0.15);
    border: 2px solid rgba(152, 196, 181, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(152, 196, 181, 0.2), transparent);
    transition: left 0.6s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-item:hover {
    transform: translateX(8px) scale(1.05);
    box-shadow: 0 12px 35px rgba(82, 128, 115, 0.25);
    border-color: rgba(152, 196, 181, 0.6);
    background: rgba(255, 255, 255, 1);
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #517F72;
    line-height: 1;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    color: #558373;
    transform: scale(1.1);
}

.stat-unit {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #96CFB8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-unit {
    color: #517F72;
}

.stat-label {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: #666;
    line-height: 1.2;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-item:hover .stat-label {
    color: #517F72;
}

/* Hover Overlay */
.image-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(152, 196, 181, 0.9) 0%, rgba(82, 128, 115, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 3;
}

.ilkyardim-image:hover .image-hover-overlay {
    opacity: 1;
}

.hover-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.ilkyardim-image:hover .hover-content {
    transform: translateY(0);
}

.hover-content i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hover-content h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hover-content p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsiveness - İlkyardım */
@media (max-width: 992px) {
    .ilkyardim-egitimleri-anasayfa {
        padding: 60px 0;
    }

    .ilkyardim-image {
        margin-top: 30px;
    }

    .image-stats-overlay {
        top: 15px;
        left: 15px;
        gap: 10px;
    }

    .stat-item {
        padding: 10px 12px;
        min-width: 100px;
    }

    .stat-number {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .image-stats-overlay {
        top: 12px;
        left: 12px;
        gap: 8px;
    }

    .stat-item {
        padding: 8px 10px;
        min-width: 90px;
    }

    .stat-number {
        font-size: 18px;
    }

    .stat-unit {
        font-size: 11px;
    }

    .stat-label {
        font-size: 9px;
    }

    .hover-content i {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .hover-content h4 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .hover-content p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .image-stats-overlay {
        top: 10px;
        left: 10px;
        gap: 6px;
    }

    .stat-item {
        padding: 6px 8px;
        min-width: 80px;
    }

    .stat-number {
        font-size: 16px;
    }

    .stat-unit {
        font-size: 10px;
    }

    .stat-label {
        font-size: 8px;
    }
}

/* Performance optimization for reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    .ilkyardim-image,
    .ilkyardim-image::before,
    .stat-item,
    .image-hover-overlay,
    .hover-content {
        transition: none !important;
        animation: none !important;
    }

    .ilkyardim-image:hover {
        transform: none !important;
    }
}

/* Trainings Section Styles */
.trainings.section {
    padding: 80px 0;
}

.single-training {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 80px #00000014;
    transition: all 0.4s ease;
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-top: 4px solid #528073;
    border-left: 1px solid #e9ecef;
    border-right: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.single-training:hover {
    transform: translateY(-5px);
    box-shadow: 0px 15px 80px rgba(82, 128, 115, 0.15);
    border-top-width: 6px;
}

.training-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.training-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.training-placeholder {
    background: linear-gradient(135deg, #528073 0%, #3d6155 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.training-placeholder i {
    font-size: 60px;
    color: white;
    opacity: 0.8;
}

.training-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(82, 128, 115, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.single-training:hover .training-overlay {
    opacity: 1;
}

.single-training:hover .training-image img {
    transform: scale(1.1);
}

.btn-overlay {
    background: white;
    color: #528073;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.btn-overlay:hover {
    background: #98c4b5;
    color: #3d6155;
}

.single-training:hover .btn-overlay {
    transform: translateY(0);
}

.training-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.training-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.training-meta span {
    background: #98c4b5;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    color: #3d6155;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.training-meta span i {
    font-size: 14px;
    color: #528073;
}

.training-title {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.training-title a {
    color: #3d6155;
    text-decoration: none;
    transition: color 0.3s ease;
}

.training-title a:hover {
    color: #528073;
}

.training-subtitle {
    color: #528073;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.training-description {
    margin-bottom: 20px;
    flex-grow: 1;
}

.training-description p {
    color: #888;
    line-height: 26px;
    margin: 0;
    font-size: 14px;
}

.training-features {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.training-features .feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 14px;
}

.training-features .feature i {
    color: #449f81;
    font-size: 16px;
    width: 16px;
}

.training-button {
    margin-top: auto;
}

.training-button .btn {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.4s ease;
    background: #528073;
    color: white;
    border: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.training-button .btn::before {
    height: 100%;
    width: 0%;
    background-color: #449f81;
    left: 0;
    top: 0;
    position: absolute;
    content: "";
    transition: all 0.4s ease-in-out;
    z-index: -1;
}

.training-button .btn:hover::before {
    width: 100%;
}

.training-button .btn:hover {
    color: white;
    transform: translateY(-2px);
}

.trainings-button {
    margin-top: 30px;
}

.trainings-button .btn {
    background: #528073;
    color: white;
    padding: 15px 35px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.trainings-button .btn::before {
    height: 100%;
    width: 0%;
    background-color: #449f81;
    left: 0;
    top: 0;
    position: absolute;
    content: "";
    transition: all 0.4s ease-in-out;
    z-index: -1;
}

.trainings-button .btn:hover::before {
    width: 100%;
}

.trainings-button .btn:hover {
    color: white;
    transform: translateY(-3px);
}

.no-trainings-home {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-style: italic;
}

@media (max-width: 768px) {
    .training-meta {
        justify-content: center;
    }

    .single-training {
        margin-bottom: 20px;
    }

    .training-image {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .training-title {
        font-size: 18px;
    }

    .training-content {
        padding: 20px;
    }
}

/* References Section Styles */
.references.section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9f4f1 100%);
    position: relative;
    overflow: hidden;
}

.references.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(82, 128, 115, 0.03) 0%, rgba(152, 196, 181, 0.05) 100%);
    z-index: 0;
}

.references .container {
    position: relative;
    z-index: 1;
}

.references .section-title h3 {
    color: #98c4b5;
    font-weight: 600;
}

.references .section-title h2 {
    color: #3d6155;
    margin-bottom: 15px;
}

.references .section-title p {
    color: #666;
}

.references-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.references-container {
    display: flex;
    animation: scroll-horizontal 20s linear infinite;
    width: calc(200px * var(--items-count, 6));
}

.references-container:hover {
    animation-play-state: paused;
}

.reference-item {
    flex-shrink: 0;
    width: 200px;
    height: 120px;
    margin: 0 15px;
}

.reference-logo-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 0;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(82, 128, 115, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #98c4b5;
}

.reference-logo-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(82, 128, 115, 0.2);
    border-color: #528073;
}

.reference-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.reference-logo-container:hover .reference-logo {
    filter: grayscale(0%);
}

.reference-placeholder {
    width: 60px;
    height: 60px;
    background: #98c4b5;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #528073;
}

.reference-placeholder i {
    font-size: 30px;
}

.reference-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(82, 128, 115, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border-radius: 0;
}

.reference-logo-container:hover .reference-overlay {
    opacity: 1;
}

.reference-info {
    text-align: center;
    color: white;
    padding: 10px;
}

.reference-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
}

.reference-info p {
    font-size: 12px;
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
}

.no-references {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-200px * (var(--items-count, 6) / 2) - 15px * (var(--items-count, 6) / 2)));
    }
}

/* Mobile Responsiveness - References */
@media (max-width: 768px) {
    .reference-item {
        width: 150px;
        height: 100px;
        margin: 0 10px;
    }

    .reference-logo-container {
        padding: 15px;
    }

    .reference-info h4 {
        font-size: 14px;
    }

    .reference-info p {
        font-size: 11px;
    }

    @keyframes scroll-horizontal {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-150px * (var(--items-count, 6) / 2) - 10px * (var(--items-count, 6) / 2)));
        }
    }

    .references-container {
        width: calc(150px * var(--items-count, 6));
    }
}

@media (max-width: 576px) {
    .reference-item {
        width: 120px;
        height: 80px;
        margin: 0 8px;
    }

    .reference-logo-container {
        padding: 10px;
    }

    .reference-placeholder {
        width: 40px;
        height: 40px;
    }

    .reference-placeholder i {
        font-size: 20px;
    }

    @keyframes scroll-horizontal {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-120px * (var(--items-count, 6) / 2) - 8px * (var(--items-count, 6) / 2)));
        }
    }

    .references-container {
        width: calc(120px * var(--items-count, 6));
    }
}

/* Why Choose Us Section Styles */
.why-choose-us.section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.why-choose-us.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23528073" opacity="0.1"/></svg>') repeat;
    background-size: 50px 50px;
    animation: why-float 20s ease-in-out infinite;
}

@keyframes why-float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.why-choose-us .container {
    position: relative;
    z-index: 2;
}

.why-choose-us .section-title {
    margin-bottom: 60px;
}

.why-choose-us .row[class*="g-"] {
    margin-left: -15px;
    margin-right: -15px;
}

.why-choose-us .row[class*="g-"]>[class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 30px;
}

.why-choose-us .section-title h3 {
    color: #98c4b5;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.why-choose-us .section-title h2 {
    color: #3d6155;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.why-choose-us .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #528073 0%, #98c4b5 100%);
    border-radius: 2px;
}

.why-choose-us .section-title p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}

.highlight-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: linear-gradient(135deg, #528073 0%, #3d6155 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 0;
    margin: 0 auto;
    max-width: 600px;
    position: relative;
    overflow: hidden;
}

.highlight-text::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(152, 196, 181, 0.1) 0%, transparent 70%);
    animation: highlight-rotate 8s linear infinite;
}

@keyframes highlight-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.highlight-text i {
    font-size: 24px;
    color: #98c4b5;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}

.highlight-text span {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    z-index: 2;
    position: relative;
}

.single-feature {
    background: white;
    padding: 40px 30px;
    border-radius: 0;
    text-align: center;
    margin-bottom: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #e9ecef;
    border-top: 4px solid #98c4b5;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.single-feature::before {
    display: none;
}

.single-feature:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(82, 128, 115, 0.2);
    border-top-color: #528073;
}

.single-feature::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(82, 128, 115, 0.05) 0%, rgba(68, 159, 129, 0.05) 100%);
    opacity: 0;
    transition: all 0.5s ease;
    border-radius: inherit;
}

.single-feature:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #528073 0%, #449f81 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.single-feature:hover .feature-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 15px 35px rgba(82, 128, 115, 0.4);
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #98c4b5, #528073, #449f81, #98c4b5, #98c4b5);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: all 0.5s ease;
    animation: feature-pulse-ring 2s infinite;
}

.single-feature:hover .feature-icon::before {
    opacity: 1;
    animation: feature-rotate-border 3s linear infinite, feature-pulse-ring 2s infinite;
}

@keyframes feature-pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(0.8);
        opacity: 1;
    }
}

@keyframes feature-rotate-border {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.feature-icon i {
    font-size: 36px;
    color: #ffffff !important;
    transition: all 0.5s ease;
    z-index: 10;
    position: relative;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-feature:hover .feature-icon i {
    transform: scale(1.2);
    color: #ffffff !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}


.feature-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-content h4 {
    color: #3d6155;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
    transition: all 0.4s ease;
    position: relative;
}

.single-feature:hover .feature-content h4 {
    color: #528073;
    transform: translateY(-2px);
    text-shadow: 0 2px 4px rgba(82, 128, 115, 0.2);
}

.feature-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-size: 14px;
    transition: all 0.4s ease;
    opacity: 0.9;
}

.single-feature:hover .feature-content p {
    color: #555;
    opacity: 1;
    transform: translateY(-1px);
}

/* Mobile Responsiveness - Why Choose Us */
@media (max-width: 992px) {
    .why-choose-us .section-title h2 {
        font-size: 30px;
    }

    .single-feature {
        margin-bottom: 35px;
    }
}

@media (max-width: 768px) {
    .why-choose-us.section {
        padding: 60px 0;
    }

    .why-choose-us .section-title {
        margin-bottom: 40px;
    }

    .why-choose-us .section-title h2 {
        font-size: 26px;
    }

    .why-choose-us .section-title p {
        font-size: 15px;
        padding: 0 15px;
    }

    .highlight-text {
        flex-direction: column;
        gap: 10px;
        padding: 15px 20px;
        margin: 0 15px;
    }

    .highlight-text span {
        font-size: 14px;
        text-align: center;
    }

    .single-feature {
        padding: 30px 25px;
        margin-bottom: 30px;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
    }

    .feature-icon i {
        font-size: 30px;
    }

    .feature-content h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .feature-content p {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .why-choose-us .section-title h2 {
        font-size: 22px;
    }

    .single-feature {
        padding: 25px 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon i {
        font-size: 26px;
    }

    .feature-content h4 {
        font-size: 15px;
    }
}