:root {
    --bs-secondary: #042D29;  
    --bs-gray: #929079;       
    --bs-dark: #25330F;      
    --bs-light: #D4C9B4;      
    --bs-primary: #741102;    

    --bg-secondary: #042D29;  
    --bg-gray: #929079;       
    --bg-dark: #25330F;      
    --bg-light: #D4C9B4;     
    --bg-primary: #741102;   

}

@font-face {
    font-family: 'Multiround Pro';
    src: url('../fonts/MultiroundPro.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Exo 2';
    src: url('../fonts/Exo2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Exo 2';
    src: url('../fonts/Exo2-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}


.bg{
    background-color: var(--bg-light)
}

.fab {
    color: var(--bs-secondary)
}

.fa {
    color: var(--bs-secondary)
}

.fa-search{
    color: var(--bg-light);
}

.fas {
    color: var(--bs-white)
}

.fas-text-primary {
    color: var(--bs-primary);
}

.text-secondary {
    color:var(--bg-secondary)!important
}

.text-primary {
    color: var(--bg-primary) !important;
}

.btn-color-secondary {
    background-color: var(--bg-secondary);
}

/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .8s ease-out, visibility 0s linear .0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/


/*** Common CSS Start ***/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
    color: #042D29;
    border: 2px solid transparent;
}

.back-to-top:active{
    color: #042D29;
}

a,
h1,
h2,
h3,
.h1,
.h2,
.h3 {
    font-weight: 200;
    font-family: 'Multiround Pro', sans-serif !important;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 600;
    font-family: 'Exo 2', sans-serif !important;
}

.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-weight: 700;
    font-family: 'Dosis', sans-serif;
}

.display-4,
.display-5,
.display-6 {
    font-weight: 600;
}

.wow,
.animated {
    animation-duration: 2s !important;
}
/*** Common CSS End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    border: 3;
    border-color: #042D29;
    background: var(--bg-secondary);
}

.btn-secondary {
    border: 0;
    color: var(--bs-light);
}

.btn.btn-primary:hover {
    background-color: var(--bs-light);
}

.btn-border-radius {
    border-radius: 25% 10%;
    background-color: var(--bs-secondary);
    color: var(--bs-white);
}

.img-border-radius {
    border-radius: 50% 20% / 10% 40%;
    background-color: #FFFFFF;
}

.title-border-radius {
    border-radius: 10% 30%;
}

/*** Button End ***/

/*** Topbar Start ***/
.topbar {
    background: rgba(4, 45, 41);
}

.topbar .top-info {
    font-size:large;
    font-weight: 200;
    font-family: 'Font Awesome 6 Free';
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    color: var(--bs-secondary) !important;
}

.topbar .top-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .top-link a {
    margin-right: 10px;
    background: var(--bs-secondary) !important;
}

.topbar .top-link a:hover {
    background-color: var(--bs-secondary);
    color: var(--bg-light);
}

/*** Topbar End ***/


/*** Navbar Start ***/
.navbar-bg {
    background: linear-gradient(rgba(212,201,180, 0.5), rgba(212,201,180, 0.9));
    padding: 3px;
}

.navbar .navbar-nav .nav-link {
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 600;
    margin: 5px;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-dark);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107"; 
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-style: normal;
    vertical-align: middle;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.navbar .dropdown-toggle[aria-expanded="true"]::after {
    content: "\f107"; 
    transform: rotate(180deg); 
}


.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
    border-radius: 5px 5px !important;
}

/*** Navbar End ***/


/*** Hero Header ***/
.hero-header, 
.page-header {
    background: linear-gradient(rgba(212,201,180, 0.9),rgba(212,201,180, 0.5), rgba(212,201,180, 0.9));
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero-header h2{
    font-size: 60px;
}

.logo-nav {
    width: 450px;
    height: auto;
    margin-left: 15%;
    animation: shadow 1s infinite alternate, pulse 3s linear;
    background-color: #741102;
    border-radius: 100%;
}

.logo-nav:hover {
    animation: shadow 1s infinite alternate, pulse 3s linear infinite;
}

@keyframes shadow {
    from {
    box-shadow: 0 0 100px 100px white;
    }
    to {
    box-shadow: 0 0 90px 20px white;
    }
}

/* @keyframes rotate {
    25% { transform: rotate(30deg); } 
    75% { transform: rotate(-30deg); } 
} */



/*** Hero Header ***/


/*** About Start ***/
.about {
    background: linear-gradient(rgba(212,201,180, 0.9),rgba(212,201,180, 0.5), rgba(212,201,180, 0.9));
    background-position: right;
    background-repeat: no-repeat;
    background-size: auto;
}

.about h1 {
    font-size: 40px;
}

.about h6 {
    font-size: 20px;
}

.text-secondary {
    color: var(--bg-secondary) !important;
}

/*** About End ***/


/*** service Start ***/
.service {
    background: linear-gradient(rgba(212,201,180, 0.9),rgba(212,201,180, 0.5), rgba(212,201,180, 0.9));
}

.service h1 {
    font-size: 50px;
}

.service .service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .1);
    width: 100%;
    height: 100%;
    border-radius: 50% 20% / 10% 40%;
    transition: 0.5s;
    position: relative;;
}

.service-content::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    right: auto;
    background: white;
    border-radius: 50% 20% / 10% 40%;
    transition: .5s;
}

.service-item:hover {
    border: 1px solid var(--bs-secondary) !important;
    color: rgba(212,201,180, 0.9);
}

.service-item:hover .service-content::after {
    background: var(--bs-secondary);
    width: 100%;
    opacity: 1;
    z-index: 1;
}

.service-item .service-content .service-content-inner {
    position: relative;
    z-index: 2;
}

.service-item .service-content-inner i,
.service-item .service-content-inner p,
.service-item .service-content-inner a.h4 {
    transition: 0.5s;
}

.service-item:hover .service-content-inner i,
.service-item:hover .service-content-inner p {
    color: var(--bs-light) !important;
}
.service-item:hover .service-content-inner a.h4 {
    color: var(--bs-light) !important;
}

.service-item:hover .service-content-inner a.btn-primary {
    background: var(--bs-light) !important;
    color: var(--bs-secondary) !important;
}

.service-item .service-content-inner a.btn-primary:hover {
    background: var(--bs-white) !important;
    color: var(--bs-secondary) !important;
}
/*** Service End ***/


/*** Programs Start ***/
.program {
    background: linear-gradient(rgba(212,201,180, 0.9),rgba(212,201,180, 0.5), rgba(212,201,180, 0.9));
}

.program h1 {
    font-size: 50px;
}

.bg-color {
    background-color: var(--bg-secondary);
}

.text-color {
    color: var(--bg-secondary);
}

.border-color {
    border: 1px solid var(--bs-secondary) !important;
}

.border-line {
    border: 6px solid horizontal-tb var(--bs-secondary);
}

.program .program-item .program-img .program-rate {
    position: absolute;
    width: 100px; 
    top: -20px; 
    left: 50%; 
    margin-left: -50px; 
    border-radius: 10% / 50%;
}

.program .program-item .program-text {
    padding-top: 150px; 
    margin-top: -125px;
}

.program .program-item .program-img img,
.program .program-item .program-teacher img,
.program .program-item:hover .program-text-inner a.h4 {
    transition: 0.5s;
}

.program .program-item:hover .program-img img,
.program .program-item:hover .program-teacher img {
    transform: scale(1.2);
}

.program .program-item:hover .program-text-inner a.h4 {
    color: var(--bs-secondary) !important;
}
/*** Programs End ***/

/*** Events Start ***/

.events {
    background: linear-gradient(rgba(212,201,180, 0.9),rgba(212,201,180, 0.5), rgba(212,201,180, 0.9));
}


.border-secondary {
    border: 2px solid var(--bs-secondary) !important;
}

.events h1 {
    font-size: 50px;
}

.events .events-item {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    background: var(--bg-light);
    border: 2px solid var(--bg-secondary);
}

.events .events-item .events-inner .events-rate {
    position: absolute;
    width: 120px; 
    top: -20px; 
    left: 50%; 
    margin-left: -60px; 
    border-radius: 10% / 50%;
}

.events .events-item .events-inner .events-img .event-overlay {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    z-index: 1;
    opacity: 0;
}

.events .events-item .events-inner .events-img:hover .event-overlay {
    opacity: 1;
}

.events .events-item .events-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    /* background: rgba(4, 45, 41, .7); */
    border-radius: 10px;
    transition: 0.5s;
}

.events .events-item:hover .events-img::after {
    height: 100%;
    opacity: 1;
}

.events .events-item .events-text a.h4,
.events .events-item .events-img img {
    transition: 0.5s;
}

.events .events-item:hover .events-img img {
    transform: scale(1.3);
}
/*** Events End ***/


/*** Blog Start ***/

.blog {
    background: linear-gradient(rgba(212,201,180, 0.9),rgba(212,201,180, 0.5), rgba(212,201,180, 0.9));
}

.blog h1 {
    font-size: 50px;
}

.border-secondary {
    border: 5px solid horizontal-tb var(--bs-secondary) !important
}

.blog .blog-item .blog-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    /* background: rgba(4, 45, 41, .7); */
    border-radius: 10px 10px 0 0;
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img::after {
    height: 100%;
    opacity: 1;
}

.blog .blog-item .blog-date-comments {
    padding-top: 150px !important; 
    margin-top: -125px;
}

.blog .blog-item .blog-img img,
.blog .blog-item .blog-content img,
.blog .blog-item .blog-text-inner a.h4 {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-content img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-text-inner a.h4 {
    color: var(--bs-secondary);
}
/*** Blog End ***/



/*** Team Start ***/

.team {
    background: linear-gradient(rgba(212,201,180, 0.9),rgba(212,201,180, 0.5), rgba(212,201,180, 0.9));
}

.team h1 {
    font-size: 50px;
}

.fab {
    color: white;
}

.team .team-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.team .team-item .team-icon {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    color: #FFFFFF;
}

.team .team-item .team-icon a.share-link {
    opacity: 0;
    transition: 0.5s;
}

.team .team-item:hover .team-icon a.share-link {
    opacity: 1;
}

.team .team-item .team-content,
.team .team-item .team-content h4,
.team .team-item .team-content p {
    transition: 0.5s;
}

.team .team-item:hover .team-content {
    background: var(--bs-secondary) !important;
    border-radius: 0 0 10px 10px;
}

.team .team-item:hover .team-content h4 {
    color: var(--bs-white) !important;
}

.team .team-item:hover .team-content p {
    color: var(--bs-white) !important;
}
/*** Team end ***/


/*** testimonial Start ***/

.testimonial {
    background: linear-gradient(rgba(212,201,180, 0.9),rgba(212,201,180, 0.5), rgba(212,201,180, 0.9));
}

.testimonial h1 {
    font-size: 50px;
}


.fas {
    color: white;
}

.testimonial .testimonial-carousel {
    position: relative;
    
}

.testimonial .testimonial-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--bs-white);
    border-radius: 10px;
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--bs-secondary);
}
/*** testimonial End ***/


/*** Footer Start ***/
.footer {
    background: linear-gradient(rgba(212,201,180, 0.9),rgba(212,201,180, 0.5), rgba(212,201,180, 0.9));
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

.footer .footer-galary-img img {
    width: 100%;
    border-style: dotted; 
    border-color: var(--bs-secondary);
    transition: 0.5s;
}

.footer .footer-galary-img img:hover {
    transform: scale(1.2);
}

.footer-item a.text-body:hover {
    color: var(--bs-secondary) !important;
}
/*** Footer End ***/





































/*** Media Start***/

body {
  font-size: 14px;
  margin: 0%;
}

.container {
  padding: auto;
}

/* Телефоны (до 576px) */
@media screen and (max-width: 576px) {
    body {
        font-size: 12px;
        margin: 0%;
    }

    .container {
        padding: auto;
    }

    /* Topbar */
    .topbar .top-info {
        background: rgba(4, 45, 41);
        font-size: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .topbar .top-link {
        flex-direction: column;
        gap: 5px;
    }

    /* Navbar */
    .logo-nav {
        display: none !important;
    }
    
    
    .navbar .navbar-nav .nav-link {
        font-size: 14px;
        padding: 8px;
        text-align: center;
    }

    .navbar .nav-item .dropdown-menu {
        font-size: 14px;
        width: 200px;
        text-align: center;
        left: 50%;
        transform: translateX(-50%); 
        position: absolute; 
    }

    .navbar .classnoe-mesto {
        display: flex;
        justify-content: flex-end;
        padding: 10px; 
        padding-right: 5px;
    }

    /* Hero Header */

    .hero-header{
        padding: 0;
    }

    .hero-header h1 {
        font-size: 24px;
    }

    .hero-header h2 {
        font-size: 34px;
    }

    .hero-header .btn {
        font-size: 14px;
        padding: 8px 16px;
    }
/* Телефоны (до 320px) */
@media screen and (max-width: 320px) {
    .hero-header .btn {
        font-size: 10px;
        padding: 6px 10px;
    }
}

    /* About */

    .about h1 {
        font-size: 22px;
    }

    .about h4 {
        display: none !important;
    }

    .about h6 {
        font-size: 16px;
    }

    /* Service */
    .service h1 {
        font-size: 28px;
    }

    .service h4 {
        display: none !important;
    }

    /* Programs */
    .program h1 {
        font-size: 22px;
    }

    .program h4 {
        display: none !important;
    }

    .program .program-item .program-text {
        padding-top: 100px;
        margin-top: -80px;
    }

    .program .program-item .program-img .program-rate {
        width: 80px;
        margin-left: -40px;
    }

    /* Events */
    .events h1 {
        font-size: 22px;
    }

    .events h4 {
        display: none !important;
    }

    .events .events-item .events-rate {
        width: 80px;
        margin-left: -40px;
    }

    /* Blog */
    .blog h1 {
        font-size: 22px;
    }

    .blog h4 {
        display: none !important;
    }

    .blog .blog-item .blog-date-comments {
        padding-top: 100px;
        margin-top: -80px;
    }

    /* Team */
    .team h1 {
        font-size: 22px;
    }

    .team h4 {
        display: none !important;
    }

    /* Testimonial */

    .testimonial h4 {
        display: none !important;
    }

    /* Footer */
    .footer .footer-galary-img img {
        width: 100%;
    }

    .back-to-top {
    position: fixed;
    right: 15px;
    bottom: 30px;
    display: flex;
    width: 25px;
    height: 25px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
    color: #042D29;
    border: 2px solid transparent;
}
}

/* Планшеты (576px–768px) */
@media screen and (min-width: 576px) and (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 12px;
    }

    /* Topbar */
    .topbar .top-info {
        font-size: 14px;
        gap: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .topbar .top-link {
        flex-direction: column;
        gap: 8px;
    }

    /* Navbar */
    .logo-nav {
        display: none !important;
    }
    
    
    .navbar .navbar-nav .nav-link {
        font-size: 14px;
        padding: 8px;
        text-align: center;
    }

    .navbar .nav-item .dropdown-menu {
        font-size: 14px;
        width: 200px;
        text-align: center;
        left: 50%;
        transform: translateX(-50%); 
        position: absolute; 
    }

    .navbar .classnoe-mesto {
        display: flex;
        justify-content: flex-end;
        padding: 10px; 
        font-size: 22px;
    }

    /* Hero Header */
    .hero-header h1 {
        font-size: 28px;
    }

    .hero-header h2 {
        font-size: 50px;
    }

    .hero-header .btn {
        font-size: 15px;
        padding: 9px 18px;
    }

    /* About */
    .about h1 {
        font-size: 32px;
    }

    .about h4{
        display: none !important;
    }

    .about h6 {
        font-size: 18px;
    }

    /* Service */
    .service h1 {
        font-size: 32px;
    }

    .service h4{
        display: none !important;
    }

    .service .service-item {
        border-radius: 25% 12%;
    }

    /* Programs */
    .program h1 {
        font-size: 32px;
    }

    .program h4{
        display: none !important;
    }

    .program .program-item .program-text {
        padding-top: 110px;
        margin-top: -90px;
    }

    .program .program-item .program-img .program-rate {
        width: 90px;
        margin-left: -45px;
    }

    /* Events */
    .events h1 {
        font-size: 32px;
    }

    .events h4{
        display: none !important;
    }

    .events .events-item .events-rate {
        width: 90px;
        margin-left: -45px;
    }

    /* Blog */
    .blog h1 {
        font-size: 32px;
    }

    .blog h4{
        display: none !important;
    }

    .blog .blog-item .blog-date-comments {
        padding-top: 110px;
        margin-top: -90px;
    }

    /* Team */
    .team h1 {
        font-size: 32px;
    }

    .team h4{
        display: none !important;
    }

    /* Testimonial */
    .testimonial h1 {
        font-size: 32px;
    }

    .testimonial h4{
        display: none !important;
    }

    /* Footer */
    .footer .footer-galary-img img {
        width: 100%;
    }
}

/*  планшеты ноутбуки (768px–992px) */
@media screen and (min-width: 768px) and (max-width: 992px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 15px;
  }

  /* Navbar */
  .logo-nav {
    width: 280px;
    margin-left: 10%;
  }

  .navbar .navbar-nav .nav-link {
    font-size: 16px;
    padding: 10px;
  }

  /* Hero Header */
  .hero-header h1 {
    font-size: 30px;
  }

  /* Service */
  .service .service-item {
    border-radius: 30% 15%;
  }

  /* Footer */
  .footer .footer-galary-img img {
    width: 32%;
  }
}

/* Ноутбуки (992px–1440px) */
@media screen and (min-width: 992px) and (max-width: 1440px) {
  body {
    font-size: 16px;
  }

  .container {
    padding-left: 2px;
    padding-top: 0px;
    max-width: 1100px; 
    /* white-space: nowrap; */
  }

  /* Topbar */
  .topbar .top-info {
    font-size: 16px;
    gap: 15px;
  }


  .logo-nav {
    width: 320px;
    margin-left: 0; 
    margin-right: auto;
    margin-left: auto;
  }

  .navbar .navbar-nav .nav-link {
    font-size: 14px;
    padding: 10px;
    white-space: nowrap;
  }

  .navbar a {
    font-size: 12px;
  }

  .navbar .nav-item .dropdown-menu {
    font-size: 15px;
  }

  /* Hero Header */
  .hero-header {
    padding-top: 0px;
  }

  .hero-header h1 {
    font-size: 35px;
  }

  .hero-header h2{
    font-size: 50px;
  }

  .hero-header .btn {
    font-size: 16px;
    padding: 10px 20px;
  }

  /* About */
  .about {
    gap: 20px;
  }

  .about h1 {
    font-size: 35px;
  }

  /* Servise Start */
  .service h1 {
    font-size: 35px;
  }
  /* Service Stop */


  /* Programs Start */
  .program .program-item .program-text {
    padding-top: 120px;
    margin-top: -100px;
  }

  .program h1 {
    font-size: 35px;
  }
  /* Programs Start */


  /* Events */
  .events .events-item .events-rate {
    width: 100px;
    margin-left: -50px;
  }

  .events h1 {
    font-size: 35px;
  }

  /* Blog */
  .blog .blog-item .blog-date-comments {
    padding-top: 120px;
    margin-top: -100px;
  }
  .blog h1 {
    font-size: 30px;
  }


/* team */
.team h1{
    font-size: 30px;
}

/* footer */
  .footer .footer-galary-img img {
    width: 30%;
  }
.footer .footer-galary-img img {
    width: 100%;
    border-style: dotted; 
    border-color: var(--bs-secondary);
    transition: 0.5s;
}

/* testimonial */
.testimonial h1{
    font-size: 30px;
}
}

/*** Media End***/