body{
    font-family: 'Lato', arial, sans-serif;
    color: #444;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.header {
    padding: 10px 0;
    background: #17baef;
    color: #fff;
    position: fixed;
    width: 100%;
  }
  
  .header.navbar-fixed-top {
    background: #fff;
    z-index: 9999;
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
  }
  
  .header.navbar-fixed-top .logo a {
    color: #17baef;
  }
  
  .header.navbar-fixed-top span small {
    color: #17baef;
  }
  
  .header .logo {
    margin: 0;
    font-size: 26px;
    padding-top: 10px;
  }
  
  .header .logo a {
    color: #fff;
  }
  
  .header .logo a:hover {
    text-decoration: none;
  }
  
  .header .main-nav .navbar-collapse {
    padding: 0;
  }
  
  .header .main-nav .navbar-toggler {
    margin-right: 0;
    margin-top: 0;
    background: none;
    float: right;
    margin-top: 8px;
    margin-bottom: 8px;
    padding: 8px 8px;
    right: 10px;
    top: 10px;
    background: #074f66;
  }
  
  .header .main-nav .navbar-toggler:focus {
    outline: none;
  }
  
  .header .main-nav .navbar-toggler .icon-bar {
    display: block;
    background-color: #fff;
    height: 2px;
    width: 22px;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    -ms-border-radius: 1px;
    -o-border-radius: 1px;
    border-radius: 1px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
  }
  
  .header .main-nav .navbar-toggler .icon-bar + .icon-bar {
    margin-top: 4px;
  }
  
  .header .main-nav .navbar-toggler:hover .icon-bar {
    background-color: #fff;
  }
  
  .header .main-nav .nav .nav-item {
    font-weight: bold;
    margin-right: 30px;
    font-family: 'Montserrat', sans-serif;
  }
  
  .header .main-nav .nav .nav-item .nav-link {
    color: #09617e;
    transition: none;
    -webkit-transition: none;
    -moz-transition: none;
    -ms-transition: none;
    -o-transition: none;
    font-size: 14px;
    padding: 15px 10px;
  }
  
  .header .main-nav .nav .nav-item .nav-link.active {
    color: #17baef;
    background: none;
  }
  
  .header .main-nav .nav .nav-item .nav-link:hover {
    color: #074f66;
    background: none;
  }
  
  .header .main-nav .nav .nav-item .nav-link:focus {
    outline: none;
    background: none;
  }
  
  .header .main-nav .nav .nav-item .nav-link:active {
    outline: none;
    background: none;
  }
  
  .header .main-nav .nav .nav-item.last {
    margin-right: 0;
  }
  
#promo{
    background: #17baef;
    text-align: center;
    padding-top: 150px;
}

#promo h1{
    font-size: 98px;
    color: #074f66;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: .5rem;
}

#promo h1 span.hl{
    color: #eebf3f;
}

#promo .repr{
    font-size: 28px;
    color: white;
    margin: 0 auto 30px auto;
}

#promo .repr p.intro{
    max-width: 680px;
    margin: 0 auto;
}

#promo .header-bottom{
    background: #0c86ae;
    padding: 10px 0;
    margin: 0 auto;
}
#promo .header-bottom ul{
    list-style: none;
}

#promo .header-bottom ul li{
    text-align: -webkit-match-parent;
    box-sizing: border-box;
    display: inline-block;
    margin-right: .5rem;
    margin-top: 15px;
    font-size: 12px;
}

li.nav-item{
    font-weight: bold;
    margin-right: 30px;
    font-family: 'Montserrat', sans-serif;
}

li.nav-item .last{
    margin-right: 0;
}

li.nav-item a.nav-link{
    color: #09617e;
    font-size: 14px;
    padding: 15px 10px;
}

#about{
    padding: 80px 0;
    background: #f5f5f5;
}

#about h2{
    text-align:center;
    color: #074f66;
    margin-top: 0;
    margin-bottom: 60px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

#about p.repr{
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 60px;
    text-align: center;
}

#about .item{
    position: relative;
    margin-bottom: 30px;
}

#about .item .icon{
    position: absolute;
    left: 30px;
    top: 0;
    font-size: 16px;
}

#about .item .text{
    padding-left: 60px;
}

#about .item .text h3{
    margin-top: 0;
    color: #074f66;
    font-size: 18px;
}

#features{
    padding: 80px 0;
    background: #17baef;
    color: #fff;
}

#features h2{
    color: #074f66;
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

#features ul.list-unstyled{
    padding-left: 0;
    list-style: none;
    display: inline-block;
}

#features ul.feature-list li{
    margin-bottom: 10px;
    color: #074f66;
    text-align: left;
}

#features ul.feature-list li svg.svg-inline--fa{
    margin-right: 5px;
    color: #fff;
    width: 1em;
    display: inline-block;
    font-size: inherit;
    height: 1em;
    overflow: visible;
    vertical-align: -.125em;
}

#projects{
    padding: 80px 0;
    background: #f5f5f5;
}

#projects .docs-inner{
    /* max-width: 800px; */
    background: #fff;
    padding: 30px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    margin: 0 auto;
}

#projects h2{
    color: #074f66;
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* ===== Projects list — Variant 2: filled pill badges ===== */
#projects .project-list {
    max-width: 1040px;
    margin: 0 auto;
}

#projects .project-row {
    background: #fff;
    border-radius: 4px;
    padding: 16px 24px;
    margin-bottom: 12px;
    box-shadow: 0 1px 2px rgba(4, 42, 54, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

#projects .project-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #074f66;
    font-size: 16px;
    flex: 1 1 240px;
}

#projects .project-params {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

#projects .project-param {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1;
    white-space: nowrap;
}

#projects .project-param i {
    font-size: 12px;
}

#projects .project-param.active {
    background: #e3f8ea;
    color: #1e7e34;
}

#projects .project-param.active i {
    color: #28a745;
}

#projects .project-param.inactive {
    background: #f0f1f3;
    color: #9296a0;
}

#projects .project-param.inactive i {
    color: #b9bcc1;
}

/* Subtle cue that a row carries a description (and a tooltip). */
#projects .project-row[title] {
    cursor: help;
}

/* jQuery UI Tooltip — themed for project descriptions. */
.ui-tooltip {
    background: #074f66;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 14px;
    font-family: 'Lato', arial, sans-serif;
    font-size: 13px;
    line-height: 1.45;
    max-width: 320px;
    box-shadow: 0 6px 18px rgba(4, 42, 54, 0.28);
}


/* ============================================================
 *  404 error page — styles previously inlined in 404.html.
 * ============================================================ */

#error404 {
    min-height: calc(100vh - 56px);          /* занять весь экран за вычетом хедера */
    display: flex;
    flex-direction: column;
}

.error404-hero {
    flex: 1;
    background: #17baef;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 60px;
}

.error404-code {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 160px;
    line-height: 1;
    color: #074f66;
    letter-spacing: -8px;
    margin-bottom: 16px;
    user-select: none;
}

.error404-code .hl {
    color: #eebf3f;
}

.error404-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #fff;
    margin-bottom: 20px;
}

.error404-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 480px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.error404-btn {
    display: inline-block;
    background: #074f66;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 36px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.error404-btn:hover {
    background: #042a36;
    color: #eebf3f;
    text-decoration: none;
}

.error404-footer-strip {
    background: #0c86ae;
    padding: 14px 0;
}

.error404-links {
    margin: 0;
}

.error404-links .list-inline-item {
    margin: 0 12px;
}

.error404-links .list-inline-item a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.error404-links .list-inline-item a:hover {
    color: #fff;
}

@media (max-width: 576px) {
    .error404-code {
        font-size: 100px;
        letter-spacing: -4px;
    }

    .error404-title {
        font-size: 22px;
    }

    .error404-text {
        font-size: 15px;
    }
}




#contact{
    padding: 80px 0;
    background: #17baef;
    color: #fff;
}

#contact h2{
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #074f66;
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
}

#contact h4{
    color: #0e98c5;
    margin-bottom: 30px;
    margin-top: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

#contact ul.social-icons li{
    margin:5px;
}

#contact ul.social-icons li a img{
    background-color: white; 
    padding: 0 5px;
}

#contact .text-inner{
/*
    margin-left: 155px;
*/
    background: #10b2e7;
    color: #074f66;
    padding: 30px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    position: relative;
}














#technologies{
    padding: 80px 0;
    background: #f5f5f5;
    color: #fff;
}

#technologies h2{
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #074f66;
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
}

#technologies h4{
    color: #074f66;
    margin-bottom: 30px;
    margin-top: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

#technologies ul.social-icons li{
    margin:5px;
}

#technologies ul.social-icons li a img{
    background-color: white;
    padding: 0 5px;
}

#technologies .text-inner{
/*
    margin-left: 155px;
*/
    background: #10b2e7;
    color: #074f66;
    padding: 30px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border-radius: 4px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    position: relative;
}
















footer{
    padding: 15px 0;
    background: #042a36;
    color: #fff;
}

footer .copyright{
    opacity: 0.8;
}

/* Contact form: disable textarea resize grabber. */
#contactForm textarea {
    resize: none;
}

/* "Attach file" label-button in the contact form.
 * Idle state uses a light, muted color so the button does not compete
 * visually with the blue "Send" primary action on the same row.
 * Hover/focus is intentionally NOT overridden — Bootstrap's default
 * .btn-outline-primary:hover has higher specificity and stays intact. */
label.btn-outline-primary {
    color: #f5f5f5;
    border-color: #f5f5f5;
}


/* ============================================================
 *  jQuery UI Dialog — themed under .pendos-dialog
 *  Palette mirrors the site: #074f66 dark blue, #17baef bright blue,
 *  #0c86ae mid blue, #f5f5f5 light gray, Montserrat for accents.
 * ============================================================ */

/* Outer container: drop the default jQuery UI chrome, add a soft shadow. */
.ui-dialog.pendos-dialog {
    border: none;
    border-radius: 4px;
    box-shadow: 0 12px 32px rgba(4, 42, 54, 0.28);
    font-family: 'Lato', arial, sans-serif;
    color: #444;
    padding: 0;
    overflow: hidden;
}

/* Title bar: dark teal, Montserrat 700, white text. */
.ui-dialog.pendos-dialog .ui-dialog-titlebar {
    background: #074f66;
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 14px 18px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}
.ui-dialog.pendos-dialog .ui-dialog-title {
    color: #fff;
    font-size: 16px;
    line-height: 1.4;
    overflow: visible;
    white-space: normal;
}
.ui-dialog.pendos-dialog .dialog-title-icon {
    margin-right: 8px;
}
.ui-dialog.pendos-dialog.dialog-success .dialog-title-icon {
    color: #eebf3f;       /* gold accent for success */
}
.ui-dialog.pendos-dialog.dialog-error .dialog-title-icon {
    color: #ffb4b4;       /* soft warm tint for errors on dark teal */
}

/* Close button: replace jQuery UI's sprite with a clean "×". */
.ui-dialog.pendos-dialog .ui-dialog-titlebar-close {
    background: transparent;
    border: none;
    width: 28px;
    height: 28px;
    top: 50%;
    right: 12px;
    margin-top: -14px;
    opacity: 0.85;
    transition: opacity 0.15s;
}
.ui-dialog.pendos-dialog .ui-dialog-titlebar-close:hover,
.ui-dialog.pendos-dialog .ui-dialog-titlebar-close:focus {
    background: transparent;
    border: none;
    opacity: 1;
    outline: none;
}
.ui-dialog.pendos-dialog .ui-dialog-titlebar-close .ui-icon {
    background-image: none;
    text-indent: 0;
    overflow: visible;
    width: 28px;
    height: 28px;
    margin: 0;
    position: relative;
}
.ui-dialog.pendos-dialog .ui-dialog-titlebar-close .ui-icon::before {
    content: '\00d7';     /* × */
    color: #fff;
    font-size: 24px;
    line-height: 28px;
    font-weight: 400;
    position: absolute;
    inset: 0;
    text-align: center;
}

/* Content area: white card with a thin colored accent strip on top. */
.ui-dialog.pendos-dialog .ui-dialog-content {
    background: #fff;
    color: #444;
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.55;
    border-top: 3px solid transparent;
}
.ui-dialog.pendos-dialog.dialog-success .ui-dialog-content {
    border-top-color: #17baef;
}
.ui-dialog.pendos-dialog.dialog-error .ui-dialog-content {
    border-top-color: #eebf3f;
}
.ui-dialog.pendos-dialog .ui-dialog-content p {
    margin: 0 0 10px;
}
.ui-dialog.pendos-dialog .ui-dialog-content p:last-child {
    margin-bottom: 0;
}
.ui-dialog.pendos-dialog .ui-dialog-content ul {
    margin: 0;
    padding-left: 20px;
}
.ui-dialog.pendos-dialog .ui-dialog-content ul li {
    margin-bottom: 4px;
    color: #074f66;
}

/* Button pane: light gray strip with a Montserrat blue "OK". */
.ui-dialog.pendos-dialog .ui-dialog-buttonpane {
    background: #f5f5f5;
    border: none;
    border-top: 1px solid #e6e6e6;
    margin: 0;
    padding: 12px 18px;
}
.ui-dialog.pendos-dialog .ui-dialog-buttonpane .ui-button {
    background: #17baef;
    border: 1px solid #17baef;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 26px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.15s, border-color 0.15s;
}
.ui-dialog.pendos-dialog .ui-dialog-buttonpane .ui-button:hover,
.ui-dialog.pendos-dialog .ui-dialog-buttonpane .ui-button:focus {
    background: #0c86ae;
    border-color: #0c86ae;
    color: #fff;
    outline: none;
}