
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  
}

:root {
  --icon-dimensions: 4rem;
  --full-w: 100%;
  --full-h: 100%;
  --default-font: -apple-system, BlinkMacSystemFont, Roboto, helvetica neue,
    sans-serif;
  --spartan: "LeagueSpartanVariable";
  --h1-clamp: clamp(2.5rem, 3.5vw, 20rem);
  --default-font-size: 1.75rem;
  --duration: 350ms;
  --gap: 0.3rem;
  --default-padding: 1.2rem;
  --z-20: 20;
  --z-30: 30;
  --black: rgb(12, 12, 10);
  --white: rgb(255, 255, 255);
  --lbyellow: #ff8200;
  --bg-1: url("./img/web-banner.png");
  --bg-2: linear-gradient(#ff8200, #fecb8b);
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: white;
  background-color: #12192c;
}

.about {
  min-height: 100vh;
  width: 100%;
  padding: 78px 0px;
  background-color: black;
}

.about img {
  border: 2px solid white;
  box-shadow: 0 0 5px white,
              0 0 25px white;
  height: auto;
  width: 30%;
  border-radius: 20px;
  transition: 0.5s ease;
}

.about-me {
  width: 1200px;
  max-width: 95%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.about-text h1 {
  color: white;
  font-size: 30px;
  text-transform: capitalize;
  margin-bottom: 20px;
}

.about-text h5 {
  color: white;
  font-size: 20px;
  text-transform: 25px;
  margin-bottom: 0.4em;
}

.about-text p{
  color: rgba(255,236,236, 0.8);
  letter-spacing: 1px;
}

.main_bck{
  background-color: #ee7c00;
  min-height: 100vh;
  height: 100%;
  width: 100vw;
  padding-bottom: 50px;
}

/* ABOUT ME */

.main-container2 {
  background-color: #12192c;
  padding: 1rem;
  border-radius: 10px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  align-content: center;
  justify-content: center;  
}

.about-me-main{
  background-color: #12192c;
  min-height: 100vh;
  height: 100%;
  width: 100vw;
  padding-bottom: 50px;
}

.icons{
  background: #12192c;
  display: flex;
  justify-content: center;
  padding: 0.8rem 0;
  border-radius: 0 0 12px 12px;
}
.icons li{
  list-style-type: none;
  background: white;
  color: black;
  width: 38px;
  height: 38px;
  margin: 0 0.5rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.icons li:hover{
  background: #ee7c00;
  color: #000;
}
.about-img img{
  display: block;
  width: 300px;
}
.about-img{
  width: 300px;
  height: 300px;
  overflow: hidden;
  border-radius: 50%;
}
.about-p {
  width: 80%;
  text-align: left;
}

.video {
  width: 80%;
  height: 480px;
}

@media (max-width: 768px) {
  .about-p {
    width: 90%;
  }

  .video {
    height: 300px;
  }
}

@media (max-width: 350px) {
  .about-img img{
    display: block;
    width: 200px;
  }
  .about-img{
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 50%;
  }
}

.initiatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.initiative-card {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, border 0.3s ease;
  border: 1px solid #ddd;
}

.initiative-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid #ff8200;
}



.hero {
  width: 100vw;
  height: 100vh;
  text-align: center;
  color: #fff;
  position: relative;
  text-transform: uppercase;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  letter-spacing: 7.5px;
}


.hero-programa {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(45deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url(img/web-banner6A2.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-title2 {
  z-index: 2;
  text-align: center;
  width: 80%;
}

.main-container {
  background-color: rgba(255,255,255,0.1);
  padding: 1rem;
  border-radius: 10px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
  align-content: center;
  justify-content: center;  
}

body {
    overflow-x: hidden;
}

.title-section {
    background-color: #ff8200;
    padding: 1rem;
    border-radius: 10px 10px 0 0;
    margin: 0rem -2rem 2rem -2rem;
    
}

.title-section h1 {
    color: white;
    text-align: center;
}

.hero-two {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  background-color: #fecb8b;
  height: 100vh;
  background-image: url(img/web-banner8.jpg);
  /*background-image: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.5)), url(img/Algimantas.png);*/
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(0.80);
}

.hero-one {
  width: 100vw; /* Ensures full width */
  min-height: calc(100vw * (820 / 661)); /* Maintains aspect ratio */
  background-color: #fecb8b;
  background-image: url(img/web-banner-mobile.jpg);
  background-repeat: no-repeat;
  background-size: 100% auto; /* Full width, adjusts height */
  background-position: center top;
  filter: brightness(1);
  display: none;
}


.header-title2 {
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
}

.header-title2 h1 {
  color: white;
  text-align: center;
}

.header-title {
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 35%;
  transform: translate(-50%, -50%);
  width: 80vw;
}

.header-menu {
  font-weight: 300;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  letter-spacing: 0.5px;
  text-shadow: 0px rgba(0, 0, 0, 0.3);
  background-color: #ee7c00;
  margin-top: 50px;
  font-size: 15px;
  font-weight: 400;
  display: inline-block;
  padding: 10px;
  border-radius: 10px;
  margin-right: 5px;
  margin-left: 5px;
}

.header-menu:hover {
  color: white !important;
  background-color: #c26e15;
  
}

.header-title a {
  text-decoration: none;
  color: white;
}

.header-title a:hover {
  color: #ee7c00;
  transition: ease 0.5s;
}

.social-links-mobile {
  display: block;
  text-align: center;
  font-size: 25px;
  margin-bottom: 15px;
}

.social-links-mobile2 {
  padding-top: 15px;
  font-size: 15px;
  font-weight: 600;
  margin-left: auto;
  margin-right: auto;
  max-width: 90vw;
  display: block;
}

.social-links-mobile a{
  padding-right: 10px;
  padding-left: 10px;
  text-decoration: none;
  color: white;
  margin-top: 15px;
}



.header-primary {
  font-size: clamp(2rem, 3vw, 3.5rem); /* Dynamically adjusts size */
  display: block;
  font-weight: 700;
  background-image: linear-gradient(#ff8200, #fecb8b);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  letter-spacing: 0.5px;
  text-shadow: 0px rgba(0, 0, 0, 0.3);
}

.header-sub {
  font-size: clamp(0.8rem, 1.25vw, 1.25rem); /* Ensures proper scaling */
}

.header-sub2 {
  border-bottom: 0.2rem solid #ff8200;
  padding-bottom: 3px;
  font-size: clamp(1rem, 1.8vw, 1.8rem); /* Dynamically adjusts size */
}

.header-sub::before,
.header-sub::after,
.header-sub2::before,
.header-sub2::after {
  display: inline-block;
  content: "";
  align-items: center !important;
  border-top: 0.2rem solid #ff8200;
  width: clamp(3rem, 4vw, 4rem);
  margin: clamp(-1rem, -0.5vw, -0.5rem) 1rem;
  transform: translateY(-1rem);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* .header-primary {
  
  font-size: clamp(2rem, 3vw, 3.5rem);
  display: block;
  font-weight: 700;
  background-image: linear-gradient(#ff8200, #fecb8b);
    color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    text-shadow: 0px rgba(0,0,0,0.3);
}

.header-sub {
  font-size: clamp(0.8rem, 1.25vw, 1.25rem);
  text-shadow: 0 1px 0 #ccc, 
               0 2px 0 #c9c9c9,
               0 6px 1px rgba(0,0,0,.1),
               0 0 5px rgba(0,0,0,.1);
}

.header-sub2 {
  border-bottom: .2rem solid #ff8200;
  padding-bottom: 3px;
  font-size: clamp(1rem, 1.8vw, 1.8rem);
}

.header-sub::before, .header-sub::after{
  display: inline-block;
  content: "";
  border-top: .2rem solid #ff8200;
  width: 4rem;
  margin: -0.5rem 1rem;
  transform: translateY(-1rem);
}

.header-sub2::before, .header-sub2::after{
  display: inline-block;
  content: "";
  border-top: .2rem solid #ff8200;
  width: 4rem;
  margin: -0.5rem 1rem;
  transform: translateY(-1rem);
} */

.logo {
  flex-shrink: 0; /* Prevents the logo from shrinking */
  position: fixed;
  left: 2%;
}


.program {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns for larger screens */
    gap: 15px;
    padding: 30px 10px;
    justify-items: center;
    background-color: #12192c;
}

.program2 {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* Two columns for larger screens */
  gap: 15px;
  padding: 30px 0px;
  justify-items: center;
  background-color: #12192c;
}


.program-item {
    display: flex;
    align-items: flex-start;
    width: 90%;
    max-width: 600px;
    padding: 15px 5px;
    border-radius: 10px;
}

.program-item i {
    font-size: 40px;
    color: white;
    margin-right: 15px;
    flex: 0 0 50px; /* Fixed width for icons */
    text-align: center;
}

.text-content {
    flex: 1;
}

.text-content h2 {
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 5px 0;
}

.text-content p {
    font-size: 16px;
    line-height: 1.5;
}

.overlay {
    background-color: rgb(104, 104, 104);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    padding: 3rem 0;
    z-index: 2;
}

/* Navigation */
header {
  padding: 20px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  transition: background 0.3s ease-in-out;
}

header.scrolled {
  background: rgba(0, 0, 0, 0.7); /* Dark semi-transparent background */
}

/* Flexbox for Navbar */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1700px;
  margin: auto;
}

/* Logo Styling */
.logo img {
  height: 40px;
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  margin-left: auto; /* Pushes items to the right */
}

.nav-links li {
  margin-left: 20px;
  align-items: center;
}

.nav-links li i {
  color: white;
  margin-right: 5px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  transition: color 0.3s ease-in-out;
}

/* Mobile Menu Icon */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  margin-left: auto; /* Moves to the right */
  z-index: 25;
}

nav li:after {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  border: 1px solid rgba(255, 255, 255, 0);
  bottom: 0px;
  content: " ";
  display: block;
  margin: 5px auto;
  position: relative;
  transition: all 280ms ease-in-out;
  width: 0;
}

nav li:hover:after,
nav li:hover:before {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  border-color: #fff;
  transition: width 350ms ease-in-out;
  width: 100%;
}

nav li:hover:before {
  bottom: auto;
  top: 0;
  width: 100%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .program {
      grid-template-columns: 1fr; /* Changes to 1 column */
  }

    .text-content h2 {
      font-size: 18px;
  }

  .text-content p {
      font-size: 16px;
  }

  .social-links-mobile {
    display: block;
    background-color: #ee7c00;
    margin-top: -2px;
  }

}

@media (max-width: 768px) {
  nav li:hover:after,
  nav li:hover:before {
    border: none;
  }

  .logo {
    visibility: hidden;
  }

  nav li:after {
    border: none;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px; /* Keeps it on the right */
    top: 15px;
  }

  /* Hide menu initially */
  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center items horizontally */
    justify-content: center; /* Center items vertically */
    background: #12192c;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    opacity: 0;
    text-align: center;
    padding: 0;
    transition: height 0.4s ease-in-out, opacity 0.3s ease-in-out;
  }

  /* Active state with full height */
  .nav-links.active {
    height: 220px; /* Adjust height to fit menu items */
    opacity: 1;
    padding: 15px 0;
    border-bottom: 1px solid white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .nav-links li {
    width: 100%; /* Ensures items are centered */
    padding: 10px 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    text-align: center;
  }

  /* Staggered animation for menu items */
  .nav-links.active li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links li:nth-child(1) {
    transition-delay: 0.1s;
  }
  .nav-links li:nth-child(2) {
    transition-delay: 0.2s;
  }
  .nav-links li:nth-child(3) {
    transition-delay: 0.3s;
  }
  .nav-links li:nth-child(4) {
    transition-delay: 0.4s;
  }


  /* Reset auto margin on small screens */
  .nav-links {
    margin-left: 0;
  }

  header {
    padding: 0px 0px;
  }
}
/* ----------------------------------------------
  Transitions app.js
* ---------------------------------------------- */
.transition__div {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: url(img/overlay2.png);
  background-size:cover;
  background-position: center;
  z-index: 101;
  transition: 1s;
  will-change: transform;
}

.transition__div.animate__in {
  transform: translateX(100%);
}

.transition__div.animate__out {
  transform: translateX(200%);
}

.profile {
  visibility: hidden;
  background-image: url(img/Algimantas.png);
    width: 300px;
    height: 300px;

    position:fixed;
    left: 50%;
    top:  50%;
    margin-left: -150px;
    margin-top:  -320px;

    background-size:contain;
    background-repeat: no-repeat;
    position:fixed;
    z-index: 20;

}


/* ---
 @media
--- */
@media only screen and (max-width: 1000px) {
  .header-title {
    top: 50%;
    left: 50%;
  }
}


@media only screen and (max-width: 584px) {
    .header-sub::before,
  .header-sub::after,
  .header-sub2::before,
  .header-sub2::after {
    display: inline-block;
    content: none;
    border-top: none;
    width: clamp(3rem, 4vw, 4rem);
    margin: clamp(-0.4rem, -0.5vw, -0.5rem) 1rem;
    transform: translateY(-1rem);
  }
  .header-sub{
    text-shadow: none;
    letter-spacing: 2px;
  }

}


@media only screen and (max-width: 768px) and (orientation: portrait) {
  .header-title{
    visibility: hidden;
  }
  .profile {
    visibility: hidden;
  }

  .program-item {
    width: 95%;
  }

  .hero-two, .hero{
    display: none;
  }

  .hero-one {
    display: block;
  }

  .social-links-mobile2 {
    padding-top: 30px;
  }
}

@media (orientation: landscape) {
  .profile {
    visibility: hidden;
  }
}
