/* ========================================
   БАЗОВІ СТИЛІ
======================================== */
body {
    font-family: 'Open Sans', sans-serif;
}

.row {
    margin-left: 0px;
    margin-right: 0px;
} 

.container {
    padding-left: 0px;
    padding-right: 0px;
}

a:hover, 
a:focus {
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    text-shadow: 0 0 1px rgba(0,0,0,0.01);
    font-family: 'Open Sans', sans-serif;
}

/* ========================================
   HEADER & NAVIGATION STYLES
======================================== */
header {
    border-bottom: 1px solid #e5e5e5;
}

.top-bar {
    background-color: #00587a;
    color: #fff;
    font-size: 0.9rem;
    padding: 0.75rem 0;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.top-bar a:hover {
    opacity: 0.8;
}

.top-bar .logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.top-bar .logo-section img {
    height: 80px;
    width: auto;
}

.top-bar .site-title {
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.top-bar .site-description {
    font-size: 0.85rem;
    opacity: 0.95;
    margin: 0;
}

.contact-info a {
    display: inline-flex;
    align-items: center;
    margin-right: 1.25rem;
    white-space: nowrap;
}

.contact-info i {
    margin-right: 0.5rem;
}

.social-icons {
    display: inline-flex;
    gap: 0.5rem;
}

.social-icons a {
    color: #fff;
    border: 1px solid #fff;
    border-radius: 3px;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
}

.social-icons a:hover {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Language Switcher */
.language-switcher {
    display: inline-block;
    margin-left: 10px;
}

.language-switcher ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 5px;
}

.language-switcher li {
    display: inline-block;
}

.language-switcher a {
    color: #fff;
    border: 1px solid #fff;
    border-radius: 3px;
    padding: 4px 6px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1;
}

.language-switcher a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.language-switcher .lang-item-first a,
.language-switcher li a {
    min-width: 28px;
    text-align: center;
}

/* Активна мова */
.language-switcher li.current-lang a {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

/* Прапорці в перемикачі мови */
.language-switcher img {
    display: inline-block;
    max-width: 20px;
    max-height: 14px;
    vertical-align: middle;
}

/* Navigation Menu */
.navbar {
    background-color: #fff !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 0;
}

.navbar-nav {
    gap: 0.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #000;
    padding: 1rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #002f87;
}

.navbar-nav .nav-item.active .nav-link,
.navbar-nav .current-menu-item > .nav-link {
    color: #002f87;
    font-weight: 600;
}

/* Dropdown Menu */
.dropdown-menu {
    border-radius: 0;
    border-top: 2px solid #002f87;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 0;
    padding: 0.5rem 0;
}

.dropdown-item {
    color: #333;
    padding: 0.5rem 1.5rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f0f8ff;
    color: #00587a;
    padding-left: 2rem;
}

.dropdown-item.active,
.current-menu-item .dropdown-item {
    background-color: #00587a;
    color: #fff;
}

.dropdown-toggle::after {
    margin-left: 0.35rem;
    vertical-align: 0.15em;
}

/* Dropdown Submenu */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

/* Navbar Toggle (Mobile) */
.navbar-toggle {
    position: relative;
    float: right;
    padding: 9px 10px;
    margin-top: 28px;
    margin-right: 15px;
    margin-bottom: 8px;
    background-color: #00587a;
    background-image: none;
    border: 1px solid #00587a;
    border-radius: 4px;
    width: 3em;
}

.navbar-toggle:hover {
    background-color: #004b66;
    border-color: #004b66;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}

/* Header Shadow */
#header_shadow {
    background: url('../images/shadow.png') no-repeat top center;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 20px;
    z-index: 99;
    width: 100%;
}

/* ========================================
   RESPONSIVE STYLES
======================================== */
@media (max-width: 991.98px) {
    .top-bar .logo-section {
        margin-bottom: 1rem;
    }
    
    .top-bar {
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-info a {
        margin-right: 0;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }
    
    .navbar-toggler {
        margin: 0.5rem 0;
    }
    
    .dropdown-submenu .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
    }
}

@media (max-width: 767.98px) {
    .top-bar .logo-section img {
        height: 60px;
    }
    
    .top-bar .site-title {
        font-size: 0.9rem;
    }
    
    .top-bar .site-description {
        font-size: 0.75rem;
    }
}

/* ========================================
   CAROUSEL / SLIDER
======================================== */
.carousel-indicators li {
    width: 19px;
    height: 19px;
}

.carousel-indicators .active {
    width: 19px;
    height: 19px;
}

/* ========================================
   BREADCRUMB & PAGE HEADER
======================================== */
.enigma_header_breadcrum_title {
    margin-bottom: 70px;
    background: #edf0f2;
    opacity: 1;
    padding-top: 8px;
    padding-bottom: 8px;
}

.enigma_header_breadcrum_title h1 {
    color: #000000;
}

.breadcrumb {
    font-size: 17px;
    padding: 0;
    position: relative;
    display: inline-block;
    background: none;
    border-radius: 0;
    list-style: none;
}

.breadcrumb li {
    display: inline-block;
}

.breadcrumb li a {
    color: #004e6f;
}

.breadcrumb > .active {
    color: #000;
}

.breadcrumb > li + li:before {
    padding: 0 5px;
    color: #000;
    content: "/\00a0";
}

/* ========================================
   LEADERSHIP / ICONS
======================================== */
#leadership .activity-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #004e6f;
    display: inline-block;
}

/* ========================================
   PROGRESS BARS
======================================== */
.progress {
    height: 25px;
    margin-bottom: 12px;
    border-radius: 0px;
}

.progress-bar {
    font-size: 16px;
    line-height: 30px;
    color: #fff;
    text-align: left;
    background-color: #004e6f;
    padding-left: 20px;
}

/* ========================================
   BLOG & SIDEBAR
======================================== */
.enigma_blog_right_side {
    float: right;
}

.enigma_sidebar_left_side {
    float: left;
}

/* ========================================
   SEARCH FORM
======================================== */
.btn-search {
    color: #fff;
    background: #004e6f;
    border-radius: 0px;
    font-size: 14px;
}

.input-group {
    margin-top: 10px;
    margin-bottom: 30px;
}

.form-control {
    border-radius: 0px;
}

.input-group-btn {
    display: inherit;
}

#searchform .btn {
    font-size: 18px;
    font-weight: normal;
    height: 45px;
    width: 62px;
}

#searchform .form-control {
    display: block;
    width: 100%;
    height: 45px;
    padding: 6px 12px;
    font-size: 13px;
}

/* ========================================
   PORTFOLIO / NAVIGATION PILLS
======================================== */
.nav-pills {
    margin-bottom: 50px;
}

.nav-pills > li > a {
    background: #ffffff;
    color: #3b3b3b;
    border: 3px solid #004e6f;
    margin-right: 15px;
    margin-bottom: 15px;
    border-radius: 0px;
    padding: 9px 27px;
    background-size: 100% 200%;
    background-image: linear-gradient(to bottom, #fff 50%, #004e6f 50%);
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    transition: all ease 0.5s;
    font-family: 'Open Sans', sans-serif;
}

.nav-pills > li > a:hover {
    color: #fff;
    background-position: 0 -100%;
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
    color: #fff;
    background-image: linear-gradient(to bottom, #004e6f 50%, #004e6f 50%);
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    transition: all ease 0.5s;
}

.nav-stacked {
    margin-bottom: 50px;
}

.nav-stacked > li > a {
    background: #ffffff;
    color: #3b3b3b;
    border: 3px solid #004e6f;
    margin-bottom: 12px;
    border-width: 3px !important;
    background-size: 100% 200%;
    background-image: linear-gradient(to bottom, #fff 50%, #004e6f 50%);
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    transition: all ease 0.5s;
    font-family: 'Open Sans', sans-serif;
}

.nav-stacked > li > a:hover {
    color: #fff;
    background-position: 0 -100%;
}

.nav-stacked > li.active > a,
.nav-stacked > li.active > a:hover,
.nav-stacked > li.active > a:focus {
    color: #fff;
    background-image: linear-gradient(to bottom, #004e6f 50%, #004e6f 50%);
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    transition: all ease 0.5s;
}

/* ========================================
   TABS STYLES
======================================== */
.nav-tabs li a {
    background: #F5F5F5;
    color: #666666;
    border: 1px solid #e8e8e8;
    border-radius: 0px;
    margin-right: 0px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

.nav-tabs li.active > a {
    border: 1px solid #e8e8e8;
    background: #fff;
    color: #555;
    border-bottom-color: transparent;
}

.nav-tabs li > a:hover {
    border: 1px solid #e8e8e8;
    background: #fff;
    color: #555;
}

/* ========================================
   PANELS STYLES
======================================== */
.panel {
    margin-bottom: 20px;
    background-color: #ffffff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.panel-default {
    border-color: #e9e9e9;
}

.panel-default > .panel-heading {
    color: #333333;
    background-color: #f6f6f6;
    border-color: #e9e9e9;
}

.enigma_panel-pink {
    border-color: #F22853;
}

.enigma_panel-pink > .panel-heading {
    color: #fff;
    background-color: #F22853;
    border-color: #F22853;
}

.enigma_panel-green {
    border-color: #1FA67A;
}

.enigma_panel-green > .panel-heading {
    color: #fff;
    background-color: #1FA67A;
    border-color: #1FA67A;
}

.enigma_panel-black {
    border-color: #000000;
}

.enigma_panel-black > .panel-heading {
    color: #fff;
    background-color: #000000;
    border-color: #000000;
}

.enigma_panel-orange {
    border-color: #ff8300;
}

.enigma_panel-orange > .panel-heading {
    color: #fff;
    background-color: #ff8300;
    border-color: #ff8300;
}

.enigma_panel-blue {
    border-color: #004e6f;
}

.enigma_panel-blue > .panel-heading {
    color: #fff;
    background-color: #004e6f;
    border-color: #004e6f;
}

.enigma_panel-red {
    border-color: #db2723;
}

.enigma_panel-red > .panel-heading {
    color: #fff;
    background-color: #db2723;
    border-color: #db2723;
}

.enigma_panel-purple {
    border-color: #800080;
}

.enigma_panel-purple > .panel-heading {
    color: #fff;
    background-color: #800080;
    border-color: #800080;
}

.enigma_panel-brown {
    border-color: #555555;
}

.enigma_panel-brown > .panel-heading {
    color: #fff;
    background-color: #555555;
    border-color: #555555;
}

/* ========================================
   CUSTOM LINKS & SOCIAL
======================================== */
p.discipline_link a {
    color: white;
}

.social_networks a i:hover {
    color: bisque !important;
}

.social_networks a i {
    color: #fff;
    font-size: 32px;
    padding: 0px 4px 8px 4px;
}

.social_networks {
    padding-bottom: 1em;
}

/*
    Hero section
*/
.hero-section {
    background: linear-gradient(135deg, #00587a 0%, #004b66 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 0;
}
.hero-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}
.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
}
.breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}
.breadcrumb-item.active {
    color: #fff;
}
.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255,255,255,0.6);
}

/*
    Footer
*/
footer {
    background-color: #00587a;
    color: #fff;
    margin-top: 50px;
}

.social-icons a {
    color: #fff;
    border: 1px solid #fff;
    border-radius: 3px;
    padding: 4px 6px;
    display: inline-block;
    margin-left: 5px;
}