/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #4a4848;
    padding: 15px 30px;
}

.logo img {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}
/* za erasmus logo*/
.custom-header {
  background-color: #0033a0; /* Dark Blue, similar to EU branding */
  padding: 20px 300px;
  display: flex;
  align-items: center;
  justify-content: left; /* Aligns content to the left */
}

.navbar {
  display: flex;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-size: 18px;
  font-weight: bold;
  transition: color 0.3s ease;
}


.nav-icon {
  width: 70px; /* Adjust as needed */
  height: auto;
  margin-right: 10px; /* Adds spacing between the icon and text */
  vertical-align: middle;
}



/* Hero Section */
.hero {
    background: url('dignest3.jpg') center/cover no-repeat;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff6600;
    color: white;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition:  background 0.3s;
}

.btn:hover {
    background-color: #ff4500;
}

/* About Section */
.about {
    text-align: center;
    padding: 50px;
    background-color: #fffefe;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-family: 'Poppins', sans-serif;
    color: #020202;
    box-sizing: border-box;
    line-height: normal !important;
    text-align: center;
    margin: auto;
    padding: 0 12%;
    font-size: 18px;
    font-weight: 600;
  
}

/* Services Section */
.services {
  text-align: center;
  padding: 50px;
  background-color: #f8f8f8;
  display: flex; /* Enables horizontal alignment */
  justify-content: center; /* Centers elements horizontally */
  flex-wrap: wrap; /* Ensures elements wrap if screen is too small */
  gap: 20px; /* Adds spacing between elements */
}

.service-box {
  background: white;
  padding: 20px;
  width: 250px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}


/* Specific objectives */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  text-align: center;
}

.container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Dve kolone */
  grid-template-rows: repeat(2, 1fr); /* Dva reda */
  gap: 20px; /* Razmak između blokova */
  max-width: 1000px;
  margin: auto;
  padding: 50px 20px;
}

.objective {
  background: #fff;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 250px;
  position: relative;
}

.objective img {
  width: 70px;
  height: 70px;
  margin-bottom: 15px;
}

.objective h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.objective p {
  font-size: 1rem;
  color: #333;
  max-width: 80%;
}

.objective::after {
  content: "";
  display: block;
  width: 80%;
  height: 3px;
  background-color: #f15a24;
  position: absolute;
  bottom: 15px;
  left: 10%;
}

.News {
  text-align: center;
  padding: 50px;
  background-color: #f8f8f8;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
}

.card {
  background: white;
  padding: 20px;
  text-align: center;
  width: 250px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  position: relative; /* Enables positioning for the button */
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

/* Styling for the circular button */
.circle-button {
  width: 40px;
  height: 40px;
  background-color: orange;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: absolute;
  bottom: -20px; /* Moves it slightly outside the card */
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

/* White arrow inside the button */
.circle-button .arrow {
  color: white;
}

/* Hover effect */
.circle-button:hover {
  background-color: darkorange;
}


/* Responsive dizajn */
@media (max-width: 768px) {
  .container {
      grid-template-columns: 1fr; /* Jedna kolona na malim ekranima */
      grid-template-rows: auto;
  }
}


/* News */

section {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 80px 0 0;
  }
  
  .News h2 {
    font-size: 2rem;
  }
  
  .News > p {
    text-align: center;
  }
  
  .News .cards {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin-top: 50px;
    padding: 0 10px;
    justify-content: space-between;
  }
  
  .News.about {
    margin: 0 auto;
    max-width: 1200px;
  }
  
  .News .company-info {
    margin-top: 30px;
  }
  
  .News h3 {
    margin: 30px 0 10px;
  }
  
  .News .team {
    text-align: left;
    width: 100%;
  }
  
  .News .team ul {
    padding-left: 20px;
  }
  
  .News .cards .card {
    background: #fff;
    padding: 40px 15px;
    list-style: none;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    width: calc(100% / 3 - 60px);
    text-align: center;
  }
  
  .News.cards .card {
    padding: 0 0 20px;
  }
  
  .News .card img {
    width: 300px;
    height: 300px;
    margin-bottom: 20px;
    border-radius: 15%;
    object-fit: contain;;
  }
  
  .News.card img {
    width: 100%;
    height: auto;
    padding-bottom: 10px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 17px;
  }
  
  
  .about .row {
    padding: 0 10px;
  }
  
  .contact .row {
    margin: 60px 0 90px;
    display: flex;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    justify-content: space-between;
  }
  
  .contact .row .col {
    padding: 0 10px;
    width: calc(100% / 2 - 50px);
  }
  
  .contact .col p {
    margin-bottom: 10px;
  }
  
  .contact .col p i {
    color: #7a7a7a;
    margin-right: 10px;
  }
  
  .contact form input {
    height: 45px;
    margin-bottom: 20px;
    padding: 10px;
    width: 100%;
    font-size: 16px;
    outline: none;
    border: 1px solid #bfbfbf;
  }
  
  .contact form textarea {
    padding: 10px;
    width: 100%;
    font-size: 16px;
    height: 150px;
    outline: none;
    resize: vertical;
    border: 1px solid #bfbfbf;
  }
/* Photo gallery*/
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.photo-gallery {
  text-align: center;
  padding: 0px;
  background: linear-gradient(to right, #d54b29, #df5a18);
  color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 images per row */
  gap: 5px; /* Reduced space between images */
  padding: 0px;
  justify-content: center;
  align-items: center;
}

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  width: 60%; /* Reduced to half the size */
  height: auto;
  display: block;
  border-radius: 5px;
  margin:0 auto ; /* Center the images */
}

.overlay {
  background: rgba(186, 63, 22, 0.7);
}
/*photo gallery okvir*/
.bg-gradient-orange {
  background: linear-gradient(to right, #d35400, #f39c12); /* Orange gradient */
  color: white;
  display: flex; /* Enables flexbox */
  flex-direction: column;
  align-items: center; /* Centers content horizontally */
  justify-content: center; /* Centers content vertically */
  text-align: center;
  width: 100%;
  height: 250px; /* Adjust height as needed */
  min-height: 250px; /* Ensures it doesn’t collapse */
  flex-wrap: wrap;
  position: relative;
}

.container1 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%; /* Takes full height of the parent */
}

.section-title {
  text-align: center;
  width: 100%;
}



  
/*logo*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f2f2f2;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  padding: 60px 0;
  background: white;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  animation: 35s slide infinite linear;
}

.logos-slide img {
  height: 70px;
  margin: 0 40px;
}


/* Footer */

/* Footer Styles */
.footer {
  background-color: #222; /* Dark background */
  color: white;
  padding: 50px ;
  font-family: Arial, sans-serif;
  
}

.container1 {
  width: 1200px;
  margin:  auto;
  display: flex;
  justify-content: center;
}

/* Main Footer Content */
.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Left Section: Logo & Description */
.footer-left {
  width: 50%;
}

.footer-logo {
  width: 150px;
  margin-bottom: 0px;
}

.footer-text {
  font-size: 8px;
  line-height: 1.6;
}

/* Social Icons */
.social-icons {
  margin-top: 10px;
}

.social-icons a {
  margin-right: 10px;
}

.social-icons img {
  width: 30px;
  transition: 0.3s;
}

.social-icons img:hover {
  opacity: 0.7;
}

/* Right Section: Coordinator Info */
.footer-right {
  width: 50%;
  text-align: right;
  font-size: 10px;
  justify-content:right;
}

.footer-title {
  font-size: 16px;
  font-weight: bold;
}

.email-link {
  color: white;
  text-decoration: none;
}

.email-link:hover {
  text-decoration: underline;
}

/* Footer Navigation Links */
.footer-nav {
  text-align:center;
  margin-top:100px;
  justify-content:center;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-size: 14px;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* Copyright Section */
.footer-bottom {
  text-align: center;
  font-size: 8px;
  margin-top: 15px;
  opacity: 0.7;
  justify-content:center;
}

