body {
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
}

/* navbar */
.bg-color {
  background-color: #4c5dc3;
}

.logo{
  height: 150px !important;
  width: 350px !important;
}

.navbar-toggler {
  border-color: #fff; 
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.styled-nav {
  color: #ececee !important;
  font-size: 21px;
  border: 2px solid #ececee;
  border-radius: 10px;
  padding: 6px 18px;   
  display: inline-block;
  text-align: center;
  min-width: 150px;   
  transition: all 0.3s ease-in-out; 
}

.styled-nav:hover {
  font-weight: 700;            
  transform: scale(1.1);       
  box-shadow: 0 4px 10px rgba(0,0,0,0.3); 
  background-color: rgba(255,255,255,0.1);
  letter-spacing: 1.7px;
}

.navbar {
  box-shadow: 0 4px 6px -2px #ececee; 
}

.navbar img {
  height: 60px; 
  width: 200px;
  border-radius: 10px;
}

.navbar .container-fluid {
  display: flex;
  align-items: center; 
  justify-content: space-between; 
}

/* ===== MOBILE NAVBAR ONLY (<= lg) ===== */
@media (max-width: 991.98px) {
  .navbar-brand .logo {
    height: 56px !important;
    width: auto !important;
  }


  .navbar img {
    height: auto !important;
    width: auto !important;
  }


  .navbar-toggler {
    padding: .25rem .5rem;
    border-color: #ececee;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    box-shadow: none !important;
  }
  .navbar-toggler:focus { box-shadow: none !important; }

  .navbar .container-fluid {
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
  }


  .navbar-collapse {
    padding-top: .5rem;
  }

  
  .navbar-nav .nav-item { margin: .25rem 0; }

  .styled-nav {
    display: block;
    width: 100%;
    min-width: 0;            
    font-size: 18px;
    padding: 10px 14px;
    border: 1px solid #ececee;
    border-radius: 12px;
    color: #ececee !important;
    background: transparent;
    text-align: left;        
    /* гаси анимации/scale за мобилен */
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
    letter-spacing: 0 !important;
    font-weight: 500;
  }

  .styled-nav:hover,
  .styled-nav:active,
  .styled-nav:focus {
    background: rgba(255,255,255,0.08);
    color: #ececee !important;
    border-color: #ececee;
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
    letter-spacing: 0 !important;
  }

  /* „Kontakt“ копчето во истиот стил */
  .btn-contact {
    border: 1px solid #ececee !important;
    color: #ececee !important;
    background: transparent !important;
    width: 100%;
    border-radius: 12px;
    padding: 10px 14px;
  }
}


/* img */       
.container-fluid.section2 {
    width: 100%; 
    height: 350px; 
    background-image: url('../images/Slika%200.jpg'); 
    background-size: cover;       
    background-position: center;  
    background-repeat: no-repeat; 
}


/* section3 text-content */
.text-section {
  position: relative;
  padding: 60px 20px;
  text-align: center;
}

.text-content p{
    color: #007bff;
    font-weight: 450;
}

.animated-heading {
  display: inline-block;
  position: relative;
  font-size: 2.5rem;
  font-weight: bold;
  color: #007bff;
  padding: 10px 0;
}

.animated-heading::before,
.animated-heading::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  background-color: #007bff;
  transition: width 1s ease-in-out;
}

.animated-heading::before {
  top: 0;
  left: 0;
}

.animated-heading::after {
  bottom: 0;
  right: 0;
}


.animated-heading.active::before {
  width: 100%; 
}

.animated-heading.active::after {
  width: 100%; 
}



/* cards */
.card-img-top {
    height: 300px; 
    object-fit: cover; 
    width: 100%;
}
.card-text {
    font-size: 1.2rem; 
    font-weight: 600; 
    color: #007bff; 
    text-align: center; 
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease-in-out;
}

.card {
  opacity: 0;
  transform: translateX(0);
  transition: all 0.8s ease-in-out;
}

.card {
  opacity: 0;
  transform: translateX(50px); 
  transition: all 0.8s ease;
}

.card.from-left {
  transform: translateX(-50px); 
}

.card.show {
  opacity: 1;
  transform: translateX(0);
}


/* Footer */
.footer {
    background-color: #4c5dc3;
    color: #ececee;
    font-family: 'Roboto', sans-serif;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-link {
    color: #ececee;
    text-decoration: none;
    transition: color 0.3s;
}


.footer p, .footer li {
    font-size: 1.3rem;
    line-height: 1.6;
}
.footer-logo {
    height: 150px; 
    width: 300px;
     border-radius: 10px;
}

/* ===== MOBILE FOOTER ONLY (<= lg) ===== */
@media (max-width: 991.98px) {
  footer.footer {
    border-top: 1px solid #ececee;
    padding-top: 1rem;              
  }
  footer.footer .container {
    margin-top: 1.5rem !important;  
  }

  /* центрирај сѐ и нареди ги блоковите еден под друг */
  footer.footer .row > [class*="col-"] {
    text-align: center;
    margin-bottom: .75rem;
  }

  /* лого – помало и флексибилно */
  footer.footer .footer-logo img,
  footer.footer img.footer-logo {
    height: 56px;
    width: auto;
    border-radius: 10px;
  }

  /* наслови и линкови со твоите бои */
  footer.footer .footer-title {
    color: #4c5dc3;
    margin-bottom: .25rem;
    font-weight: 700;
  }
  footer.footer .footer-link {
    color: #ececee;
    text-decoration: none;
  }
  footer.footer .footer-link:hover {
    text-decoration: underline;
  }

  /* текст/телефон – чист распоред и читливост */
  footer.footer p {
    margin-bottom: .25rem;
  }

  /* © линија – малку простор и центар */
  footer.footer .text-center small {
    display: inline-block;
    margin-top: .5rem;
  }
}
