@font-face {
  font-family: 'Exo2';
  src: url('../fonts/Exo2/Exo2-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Exo2';
  src: url('../fonts/Exo2/Exo2-Italic-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --headingFontSize: 1.25rem;
  --subHeadingFontSize: 1.25rem;
  --textFontSize: 1.25rem;
  --subTextFontSize: 1.25rem;
  --navbar-height: 64px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Exo2", sans-serif;
  font-style: normal;
  font-optical-sizing: auto;
  font-weight: 400;
}

body {
  width: 100vw;
  overflow-x: hidden;
  color: #333;
}

h1,
h2,
h3 {
  margin-bottom: 20px;
}

section {
  /* height: calc(90vh - var(--navbar-height)); */
  margin-top: calc(var(--navbar-height));
  background-color: #fff;
}

.section-header h2 {
  display: flex;
  font-size: 28px;
  font-weight: 400;
  text-transform: uppercase;
  color: #17245B;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.highlight {
  font-weight: 700;
  color: #17245B;
}

#utile {
  margin-left: 4px;
}

.main-nav {
  background-color: rgba(23, 36, 91, 0.1);
  padding: 15px 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1;

}

.nav-container {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--navbar-height);
}

.logo-circle {
  width: 40vw;
  height: 80px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("../icons/logo-intelligence\ SRV-01.png");
}


.nav-left {
  display: flex;
  justify-content: flex-end;
  width: 30%;
  padding: 0 1.8rem 0 3rem;
}

.nav-left ul {
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.nav-right {
  display: flex;
  justify-content: flex-start;
  width: 30%;
  padding: 0 3rem 0 1.8rem;
}

.nav-right ul {
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;

}

.nav-item {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 1px;
  white-space: nowrap;
  margin: 0 10px;
}

.nav-item:hover {
  color: #FABA27;
}

/* Mobile Menu Styles */
.menu-button {
  display: none;
  position: absolute;
  right: 20px;
  cursor: pointer;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  background-color: rgba(23, 36, 91, 0.8);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  list-style: none;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  z-index: 1;
  padding: 0;
  margin: 0;
}

.sidebar li {
  width: 100%;
}

.sidebar a {
  width: 100%;
  color: #fff;
  font-size: 18px;
  padding: 15px 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.sidebar a:hover {
  color: #FABA27;
}

.sidebar li {
  width: 100%;
}

.sidebar a {
  width: 100%;
}

.menu-button {
  display: none;
}

/* Hero Section */

.hero {
  background-image: url("../hero-image.jpeg");
  background-color: #1a227e98;
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero-content {
  /* max-width: 950px; */
  padding: 0 10px;
}

.hero h1 {
  font-size: 72px;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.hero-text {
  position: relative;
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  background-color: #FABA27;
  color: #333;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s;
  letter-spacing: 1px;
}

.cta-button:hover {
  background-color: #ffb300;
}

.news-section {
  background-color: #fff;
  padding-bottom: 70px;
}

.slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.arrow {
  cursor: pointer;
  font-size: 24px;
  font-weight: bold;
  padding: 10px;
  z-index: 10;
  color: #666;
}

.arrow:hover {
  color: #333;
}

.card-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  overflow: hidden;
  transition: transform 0.5s ease;
}

.card {
  width: calc(33.33% - 40px);
  margin: 20px;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.card:hover {
  box-shadow: 0 4px 8px rgba(0, 25, 80, 0.25);
}

.card-image {
  background-image: url("../article-placeholder.png");
  background-size: cover;
  background-position: center;
  background-color: #FABA27;
  height: 220px;
  margin-bottom: 15px;
  border-radius: 4px;
}

.card h3 {
  text-align: left;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

.card p {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  font-weight: 400;
}

a {
  color: #17245B;
  text-decoration: none;
  cursor: pointer;
}

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

a:active {
  text-decoration: none;
}

.dots {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #e0e0e0;
  margin: 0 5px;
  cursor: pointer;
}

.dot.active {
  background-color: #17245B;
}

/* Materials Section */

.highlight {
  color: #17245B;
}

.materials-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  min-width: 1200px;
  margin: 0 auto;
  gap: 20px;
  padding: 0 8rem;
}

.material-item {
  width: calc(25% - 20px);
  background-color: #EFF1FF;
  padding: 30px 15px 20px;
  border-radius: 8px;
  position: relative;
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s ease-in-out;
}

.material-icon {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.material-item:hover {
  box-shadow: 0 4px 8px rgba(0, 25, 80, 0.25);
}

.material-item:hover .material-icon {
  box-shadow: 0 4px 8px rgba(0, 25, 80, 0.25);
  transform: translateX(-50%) translateY(-3px);
}

.material-text {
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  margin: 10px 0;
  flex-grow: 1;
  text-align: justify;
  padding: 0 1rem;
  letter-spacing: -1px;
  /* word-break: break-all; */
}

.linkuri-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  min-width: 1200px;
  margin: 0 auto;
  gap: 20px;
  padding: 0 8rem;
}

.linkuri-item {
  width: calc(25% - 20px);
  background-color: #EFF1FF;
  padding: 30px 15px 20px;
  border-radius: 8px;
  position: relative;
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s ease-in-out;
}

.link-icon {
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.linkuri-item:hover {
  box-shadow: 0 4px 8px rgba(0, 25, 80, 0.25);
}

.linkuri-item:hover .link-icon {
  box-shadow: 0 4px 8px rgba(0, 25, 80, 0.25);
  transform: translateX(-50%) translateY(-3px);
}

.linkuri-text {
  display: flex;
  align-items: center;
  font-size: 14px;
  line-height: 1.5;
  color: #000;
  margin: 10px 0;
  flex-grow: 1;
  text-align: center;
}

.download-button {
  background-color: #FABA27;
  color: #333;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  transition: background-color 0.3s;
  border: none;
}

.download-button:hover {
  background-color: #e0a800;
}

.dots {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #17245B;
}

/* .materials-section {
  background-color: #f5f5f5;
  padding-bottom: 70px;
}

.materials-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  transition: transform 0.5s ease;
}

.material-item {
  width: calc(25% - 30px);
  background-color: #fff;
  margin: 15px;
  padding: 30px 20px;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.material-icon {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  padding: 16px;
}

.material-icon i {
  font-size: 20px;
  color: #17245B;
}

.material-text {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.download-button {
  background-color: #FABA27;
  color: #333;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.download-button:hover {
  background-color: #ffb300;
} */

.text-highlight {
  font-weight: 700;
  color: #000;
}

.mail,
.phone,
.adresa {
  color: #000;
}

.mail:hover,
.phone:hover {
  color: #000;
  text-decoration: underline;
}

/* #contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding-bottom: 50px;
} */

section.contact-section {
  width: 100%;
  /* max-width: 1400px; */
  /* margin: 0 auto; */
  margin-top: calc(var(--navbar-height));
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.header-contact {
  margin-bottom: 0;
}

.bold-info-text {
  color: #17245B;
  font-weight: 700;
}

.title-container {
  width: 100%;
  padding: 20px;
  text-align: center;
}

.title-container h2 {
  margin-bottom: 20px;
}

.image-column,
.contact-info-column,
.contact-hours-column {
  flex: 1;
  width: 33.333%;
  padding: 25px;
}

.contact-section-body {
  display: flex;
  justify-content: space-between;
  text-align: justify;
  width: 90%;
  align-items: center;
}

.image-column {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 20px;
}

.contact-image {
  width: 100%;
  height: 100%;
  min-height: 300px;
  background-image: url("../Logo-SRI-35-ani.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.contact-info-column {
  width: 40%;
}

.contact-info-column h3,
.contact-hours-column h3 {
  margin-bottom: 25px;
  color: #17245B;
  display: inline-block;
}

.contact-info {
  margin-bottom: 15px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.contact-icon {
  margin-right: 10px;
  font-size: 20px;
  color: #17245B;
  min-width: 24px;
  text-align: center;
}

.contact-text {
  flex: 1;
}

.contact-text a {
  color: #17245B;
  text-decoration: none;
}

.contact-text a:hover {
  text-decoration: underline;
}

/* Hours Column */
.contact-hours-column {
  border-left: 2px solid #17235b5b;
}

.hours-list {
  list-style-type: none;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.hours-item:last-child {
  border-bottom: none;
}

.days-group {
  font-weight: bold;
}

.time {
  color: #555;
  text-align: right;
}

.time-periods {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}


#program-paragraph {
  font-weight: 700;
  text-align: center;
}

.p-title {
  display: block;
  font-weight: 700;
  color: #17245B;
  margin-bottom: 20px;
}

#ce-poti-face {
  padding-bottom: 70px;
}

.cpf-options {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.cpf-option {
  flex: 1;
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #17245B;
}

.cpf-option h3 {
  font-size: 24px;
  font-weight: 700;
}

.cpf-option p {
  font-size: 16px;
  font-weight: 400;
}

.option-icon {
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.option-icon i {
  font-size: 8rem;
  color: #999;
}

.contact-option h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.contact-option p {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

.social-section {
  background-color: #f5f5f5;
  text-align: center;
  padding: 40px 20px;
}

.social-section h3 {
  margin-bottom: 20px;
  font-size: 18px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #17245B;
  font-size: 1.8rem;
  text-decoration: none;
  transition: opacity 0.3s;
}

.social-icon:hover {
  opacity: 0.7;
}

footer {
  background-color: #17245B;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-item {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
}

.footer-item:hover {
  color: #FABA27;
}


.footer-info {
  max-width: 600px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.6;
}

.footer-info p {
  margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1200px) {

  .logo-circle {
    width: 30vw;
  }

  .nav-item {
    font-size: 12px;
  }

  .nav-left {
    padding: 0;
  }

  .nav-right {
    padding: 0;
  }

  .hero h1 {
    font-size: 60px;
  }

  .card-container,
  .materials-container {
    flex-wrap: wrap;
  }

  .materials-container {
    min-width: 0px;
    padding: 0 2rem;
  }

  .card {
    width: calc(50% - 40px);
  }

  .material-item {
    width: calc(33.33% - 20px);
  }

  .linkuri-item {
    width: calc(33.33% - 20px);
  }

  .contact-option {
    flex: 0 0 calc(50% - 30px);
  }

  .materials-container {
    min-width: 0;
    padding: 0 2rem;
  }

  .linkuri-container {
    flex-wrap: wrap;
    min-width: 0;
    padding: 0 2rem;
  }

  /* .contact-section-body {
    text-align: justify;
    width: 100%;
    padding: 0 1.3rem;
  }

  .contact-section-body p {
    margin-bottom: 2rem;
    margin: 0 6rem;
  } */

  .contact-section {
    flex-direction: column;
  }

  .image-column,
  .contact-info-column,
  .contact-hours-column {
    width: 100%;
  }

  .map-placeholder {
    min-height: 250px;
  }

}

@media (max-width: 768px) {

  .nav-left,
  .nav-right {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .sidebar {
    width: 100%;
  }

  .nav-item {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav-item {
    display: block;
  }

  .logo {
    position: static;
    transform: none;
    margin: 0;
  }

  .logo-circle {
    /* margin-top: 35px; */
    width: 290px;
    height: 100px;
  }

  .sidebar a:focused {
    color: #FABA27;
  }

  .hero h1 {
    font-size: 36px;
  }

  .card {
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
  }

  .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: justify;
    align-items: flex-start;
  }

  .card-body a {
    color: #17245B;
    display: block;
    text-decoration: none;
    cursor: pointer;
  }

  .card-body:hover {
    color: #000;
    text-decoration: underline;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }

  .material-item {
    width: calc(50% - 20px);
  }

  .linkuri-item {
    width: calc(50% - 20px);

  }

  .slider-container .arrow {
    display: none;
  }

  .contact-section-body {
    flex-direction: column;
  }

  .contact-section-body p {
    margin-bottom: 2rem;
    margin: 0 auto;
  }

  .contact-hours-column {
    border-left: 0px;
    border-top: 2px solid #17235b5b;
  }

  .image-column,
  .contact-info-column,
  .contact-hours-column {
    width: 100%;
  }

  .map-image {
    min-height: 250px;
  }

}

@media (max-width: 480px) {


  .materials-container {
    flex-direction: column;
    padding: 0;
    align-items: center;
  }

  .sidebar {
    width: 100%;
  }

  .nav-left,
  .nav-right {
    flex-direction: column;
    align-items: center;
  }

  .nav-item {
    margin: 5px 0;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-text {
    font-size: 18px;
  }

  .logo-circle {
    /* margin-top: 35px; */
    width: 290px;
    height: 100px;
  }

  .social-icons {
    flex-wrap: wrap;
  }

  .material-item {
    width: calc(100% - 20px);
  }

  .linkuri-item {
    width: calc(100% - 20px);

  }

  .section-header {
    margin-bottom: 0px;
  }

  .materials-container {
    min-width: 0%;
  }

  .linkuri-container {
    flex-direction: column;
    padding: 0;
    align-items: center;
    min-width: 0%;
  }

  /* .contact-section-body p {
    word-break: keep-all;
    letter-spacing: 1%;
    margin-bottom: 2rem;
    margin: 0 auto;
  } */

  section.contact-section {
    padding: 0 15px;
  }

  .image-column,
  .contact-info-column,
  .contact-hours-column {
    padding: 15px;
  }

  .map-image {
    min-height: 200px;
  }

  .cpf-option {
    text-align: justify;
  }

}