@import url("https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@400;700&display=swap");
@font-face {
  font-family:'GilroyBold';
  src: url(fonts/Gilroy-Light.otf);
}

:root {
  /*font-family: GilroyBold, sans-serif;*/
  font-family: "Montserrat Alternates", sans-seriff;
  font-size: 16px;
  --primary-color: #0244ae;
  --background-color: #fffff0;
  --color-surface-neutral-opaque-subtle: #eeeeee;
  scrollbar-color: #ff7f68 #eeeeee;
  
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--background-color);
  
}

h1,h2,h3,h4,h5,h6 {

}

h1 {
  color: white;
  font-size: 1.2rem;
  padding: 10px;
}

h2 {
  font-family: "Montserrat Alternates", sans-serif;
  font-size: 2rem;
  line-height: 1.5;
}

ul {
  list-style-type: none;
  font-size: 1.2rem;
}

a {
  text-decoration: none;
  color: white;
}

p {
    max-width: 75ch;
}

li {
  display: inline;
  font-family: "Montserrat Alternates", sans-seriff;
  padding: 10px;
  cursor: pointer;
}

img {
  cursor: pointer;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  background-color:#0244ae;
 /* background-color: #0244ae; */
  /* back-up bg-color: #0866ff; */
  height: 45px;
  position: relative;
  z-index: 9999;
}

.nav-end {
display: flex;
justify-content: space-between;
align-self: center;
font-weight: bold;
color: white;
}

.nav-telephone {
  margin-left: 10px;
  margin-right: 10px;
}

.nav-hover a:hover {
  border: 5px solid transparent; /* Make the border transparent */
  border-image: linear-gradient(90deg, rgba(255, 30, 30, 1) 0%, rgba(255, 242, 0, 1) 50%, rgba(0, 212, 255, 1) 100%); /* Apply gradient */
  border-image-slice: 1; /* Makes the gradient applied to the entire border */
  padding: 20px;
  width: 200px;
  text-align: center;
  background-color: #0244ae; /* Light background */
  box-shadow: 0px 0px 15px 5px rgba(0, 0, 0, 0.2), inset 0px 0px 10px rgba(0, 0, 0, 0.1); /* Outer and inner shadows for 3D effect */
}

.flex-column {
    display: flex;
    flex-direction: column;
    justify-content: center; /* horizontal */
    align-items: center;     /* vertical */
    
}

.main-title {
    text-align: center;
}

.main-title h2 {
  margin-bottom: 20px;
}

.line-divider.small {
  width: 300px; /* or any desired width */
  height: 20px;
  margin: -10px auto 10px auto;
  overflow: hidden;
}

.line-divider.small svg {
  width: 100%;
  height: 100%;
}
.line-divider.small path {
  stroke-dasharray: 2000; /* Adjust depending on SVG length */
  stroke-dashoffset: 2000;
  animation: drawLine 12s ease-in-out infinite;
}

@keyframes drawLine {
  0% {
    stroke-dashoffset: 2000;
  }
  10% {
    stroke-dashoffset: 0;
  }
  85% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 2000;
  }
}

.our-activities {
    padding: 40px 20px;
    background-color: #96D5FF/* Light background for contrast */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    padding: 20px;
    width: 100%;
    max-width: 380px;
    height: 235px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, height 0.5s ease;
    text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  height: 536.56px;
  
}

.card:first-of-type {
  /* cursor musical note */
  cursor: url('https://res.cloudinary.com/dk4bzhxfg/image/upload/v1753363865/music_fb0cyz.png') 16 16, auto;
}

.card:nth-of-type(2) {
  /* cursor microphone */
  cursor: url('https://res.cloudinary.com/dk4bzhxfg/image/upload/c_scale,w_32/v1752246990/microphone_thilkr.png') 16 16, auto;
}

.card:nth-of-type(3) {
  /* cursor guitar */
  cursor: url('https://res.cloudinary.com/dk4bzhxfg/image/upload/v1753363957/guitar-instrument_1_jonlvc.png') 16 16, auto;
}

.fixed-row .card:first-of-type {
  /* cursor theatre */
  cursor: url('https://res.cloudinary.com/dk4bzhxfg/image/upload/c_scale,w_32/v1753383053/theatre_ig016i.png') 16 16, auto;
}

.fixed-row .card:nth-of-type(2) {
  /* cursor drawing */
  cursor: url('https://res.cloudinary.com/dk4bzhxfg/image/upload/v1753383619/brush_qms1jn.png') 16 16, auto;
}

#bg {
  /* cursor bg */
  cursor: url('https://res.cloudinary.com/dk4bzhxfg/image/upload/v1753383621/open-book_jp3u0l.png') 16 16, auto;
}

#math {
  /* cursor math */
  cursor: url('https://res.cloudinary.com/dk4bzhxfg/image/upload/v1753383646/pi-mathematical-constant-symbol_lgkxwx.png') 16 16, auto;
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.25rem;
    line-height: 1.4;  
    min-height: 3em; 
    margin-bottom: 10px;
    
}

.card p {
    color: #333;
    margin-bottom: 15px;
}

.card a {
    color: #0056d2;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    
}

.card a::before {
    content: "›";
    font-size: 1.2em;
    margin-right: 5px;
}

.card-link {
    margin-top: auto; /* push to bottom */
}


.fixed-row {
  /* фиксира да има две карти само на втория ред */
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 30px;
}

.burger-menu {
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath d='M3 6h18M3 12h18M3 18h18' stroke='currentColor' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  display: none;
}

.about-us {
  display: flex;
  justify-content: center;    /* center the whole flex container */
  align-items: center;        /* vertically align image and text */
  gap: 50px;                  /* space between image and text */
  max-width: 1200px;          /* limit overall width */
  margin: 50px auto;          /* center on page with vertical margin */
  padding: 0 20px;            /* horizontal padding for smaller screens */
}

.custom-button {
  display: inline-block;
  width: 160px; 
  height: 70px; 
  margin-top: 20px;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 70"><g transform="matrix(1,0,0,1,3.76673,4.35056)"><path d="M47.376,0.3C47.376,0.3 32.575,-0.335 22.6,1.004C12.624,2.343 1.99,8.436 0.827,25.633C-0.336,42.83 9.388,59.288 25.563,61.219C41.739,63.149 133.179,67.158 146.423,57.593C158.096,49.162 148.98,13.646 148.98,13.646C148.98,13.646 146.069,2.94 128.181,1.877C110.292,0.813 47.376,0.3 47.376,0.3Z" fill-opacity="0.3"/></g><g transform="matrix(1,0,0,1,-0.233267,0.350562)"><path d="M47.376,0.3C47.376,0.3 32.575,-0.335 22.6,1.004C12.624,2.343 1.99,8.436 0.827,25.633C-0.336,42.83 9.388,59.288 25.563,61.219C41.739,63.149 133.179,67.158 146.423,57.593C158.096,49.162 148.98,13.646 148.98,13.646C148.98,13.646 146.069,2.94 128.181,1.877C110.292,0.813 47.376,0.3 47.376,0.3Z" fill="%237021A3"/></g></svg>');
 /*background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 70"><g transform="matrix(1,0,0,1,3.76673,4.35056)"><path d="M47.376,0.3C47.376,0.3 32.575,-0.335 22.6,1.004C12.624,2.343 1.99,8.436 0.827,25.633C-0.336,42.83 9.388,59.288 25.563,61.219C41.739,63.149 133.179,67.158 146.423,57.593C158.096,49.162 148.98,13.646 148.98,13.646C148.98,13.646 146.069,2.94 128.181,1.877C110.292,0.813 47.376,0.3 47.376,0.3Z" fill-opacity="0.3"/></g><g transform="matrix(1,0,0,1,-0.233267,0.350562)"><path d="M47.376,0.3C47.376,0.3 32.575,-0.335 22.6,1.004C12.624,2.343 1.99,8.436 0.827,25.633C-0.336,42.83 9.388,59.288 25.563,61.219C41.739,63.149 133.179,67.158 146.423,57.593C158.096,49.162 148.98,13.646 148.98,13.646C148.98,13.646 146.069,2.94 128.181,1.877C110.292,0.813 47.376,0.3 47.376,0.3Z" fill="%23FF9100"/></g></svg>'); orange button */
 /*background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 70"><g transform="matrix(1,0,0,1,3.76673,4.35056)"><path d="M47.376,0.3C47.376,0.3 32.575,-0.335 22.6,1.004C12.624,2.343 1.99,8.436 0.827,25.633C-0.336,42.83 9.388,59.288 25.563,61.219C41.739,63.149 133.179,67.158 146.423,57.593C158.096,49.162 148.98,13.646 148.98,13.646C148.98,13.646 146.069,2.94 128.181,1.877C110.292,0.813 47.376,0.3 47.376,0.3Z" fill-opacity="0.3"/></g><g transform="matrix(1,0,0,1,-0.233267,0.350562)"><path d="M47.376,0.3C47.376,0.3 32.575,-0.335 22.6,1.004C12.624,2.343 1.99,8.436 0.827,25.633C-0.336,42.83 9.388,59.288 25.563,61.219C41.739,63.149 133.179,67.158 146.423,57.593C158.096,49.162 148.98,13.646 148.98,13.646C148.98,13.646 146.069,2.94 128.181,1.877C110.292,0.813 47.376,0.3 47.376,0.3Z" fill="%2344AE02"/></g></svg>'); green button */
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
  line-height: 70px;
  font-weight: bold;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.custom-button:hover {
  filter: brightness(1.2);
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 160 70"><g transform="matrix(1,0,0,1,3.76673,4.35056)"><path d="M47.376,0.3C47.376,0.3 32.575,-0.335 22.6,1.004C12.624,2.343 1.99,8.436 0.827,25.633C-0.336,42.83 9.388,59.288 25.563,61.219C41.739,63.149 133.179,67.158 146.423,57.593C158.096,49.162 148.98,13.646 148.98,13.646C148.98,13.646 146.069,2.94 128.181,1.877C110.292,0.813 47.376,0.3 47.376,0.3Z" fill-opacity="0.3"/></g><g transform="matrix(1,0,0,1,-0.233267,0.350562)"><path d="M47.376,0.3C47.376,0.3 32.575,-0.335 22.6,1.004C12.624,2.343 1.99,8.436 0.827,25.633C-0.336,42.83 9.388,59.288 25.563,61.219C41.739,63.149 133.179,67.158 146.423,57.593C158.096,49.162 148.98,13.646 148.98,13.646C148.98,13.646 146.069,2.94 128.181,1.877C110.292,0.813 47.376,0.3 47.376,0.3Z" fill="%230244AE"/></g></svg>');
}

section p {
  font-size: 1.2rem;
  line-height: 1.5;
}

.main-picture {
  width: 90%;
}

img {
  max-width: 100%;
  height: auto;
}

.line-divider {
  margin-top: 20px;
}

.card-team {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    padding: 20px;
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.card-team a {
  color: #B22222;
}
.card-team:hover {
  background-color: #96D5FF;
}

.member-image {
  border-radius: 16px;
  max-width: 200px;
  margin: 0 auto;
  

}

.card-team a::before {
    content: "›";
    font-size: 1.2em;
    margin-right: 5px;
    
}

.card-content {
  margin-top: 10px;
}

.text-content {
  font-size: 1.4rem;
  line-height: 2;
  color: #3f3f3f;
}

.text-content p {
  margin-bottom: 32px;
}

@media (max-width: 1279px) {
  .header-container {
      background-color:yellowgreen;
  }
  h1 {
    font-size: 1rem;
  }

  ul>li {
    font-size: 1rem;
  }
  a:hover {
    width: 160px;
  }
  p {
    text-align: start;
  }
/*i.fa-xl {
  font-size: 1.25em;
  line-height: 0.05em;
  vertical-align: -.075em;
}*/

}

/* ===== FOOTER ===== */
.site-footer {
  background-color: #0244ae;
  color: white;
  padding: 40px 20px 10px;
  margin-top: 50px;
  font-family: "Montserrat Alternates", sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  flex: 1 1 250px;
  text-align: center;
}

.footer-logo img {
  width: 180px;
  margin-bottom: 15px;
}

.footer-logo p {
  font-size: 0.95rem;
  color: #f1f1f1;
}

.footer-links, .footer-contact {
  flex: 1 1 250px;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #ffdd00;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffdd00;
}

.footer-contact p {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer-contact a {
  color: #ffdd00;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  color: white;
  margin-right: 12px;
  font-size: 1.2rem;
  transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
  color: #ffdd00;
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 30px;
  padding-top: 10px;
  font-size: 0.9rem;
  color: #dcdcdc;
}

@media (max-width: 959px) {
  .header-container {
      background-color:#0244ae;
  }
 .nav-main {
  display: none;
 }

 .nav-logo {
  text-align: center;
 }

 .about-us {
  flex-direction: column; /* Stack elements vertically */
  text-align: center;
  align-items: center;
  
}

.main-picture, .section-title {
  width: 100%; 
  max-width: 500px;
}

  }

  /* Responsive footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links,
  .footer-contact {
    margin-top: 20px;
  }
}





/* .main-picture img {
  clip-path: path("M 0 200 L 0,75 A 5,5 0,0,1 150,75 L 200 200 z");
} */
