* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  overflow: hidden;
  background: #0a0a0a;
  position: relative;
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(100vh);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh);
    opacity: 0;
  }
}

.main {
  display: flex;
  height: 100vh;
  position: relative;
  z-index: 2;
}

.section {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0;
  transform: scale(0.9);
  animation: sectionLoad 1s ease forwards;
}

.multi-it {
  animation-delay: 0.2s;
}

.multi-sante {
  animation-delay: 0.4s;
}

@keyframes sectionLoad {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.section-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(20px) brightness(0.3);
  transform: scale(1.1);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.multi-it .section-background {
  background: linear-gradient(45deg, #003399, #0052cc, #0066ff);
}

.multi-sante .section-background {
  background: linear-gradient(45deg, #059669, #10b981, #34d399);
}

.section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  transition: all 0.8s ease;
}

.section-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  text-align: center;
  transform: translateY(20px);
  opacity: 0.8;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.drapo {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 15px;
  z-index: 10;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.6s ease 0.8s;
}

.drapo img {
  width: 80px;
  height: 55px;
   max-width: 100%;
  height: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}


.logo-container {
  position: relative;
  margin-bottom: 2rem;
}

.logo {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.6s ease;
}

.it-logo {
  background: linear-gradient(135deg, rgb(240, 240, 240), rgb(255, 255, 255));
  box-shadow: 0 8px 32px rgba(0, 51, 153, 0.4);
}

.sante-logo {
  background: linear-gradient(135deg, #059669, #10b981);
  box-shadow: 0 8px 32px rgba(16, 185, 129, 0.3);
}

.school-title {
  font-size: 3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.school-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  font-weight: 300;
}

.description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 90%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.2s;
}

.show-more-btn {
  padding: 16px 40px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(20px);
  text-decoration: none;
  display: inline-block;
}

.show-more-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.show-more-btn:hover::before {
  left: 0;
}

.show-more-btn:hover {
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.section:hover {
  flex: 1.3;
}

.section:hover .section-background {
  filter: blur(5px) brightness(0.8);
  transform: scale(1);
}

.section:hover .section-overlay {
  background: rgba(0, 0, 0, 0.2);
}

.section:hover .section-content {
  transform: translateY(0);
  opacity: 1;
}

.section:hover .logo {
  transform: scale(1.1);
}

.section:hover .logo::before {
  left: 100%;
}

.section:hover .description {
  opacity: 1;
  transform: translateY(0);
}

.section:hover .show-more-btn {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.section:hover .drapo {
  opacity: 1;
  transform: translateY(0);
}

.section:not(:hover) {
  flex: 0.7;
}

.section:not(:hover) .section-content {
  opacity: 0.6;
}

.divider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  z-index: 3;
}

.multi-it:hover {
  box-shadow: inset 0 0 100px rgba(0, 51, 153, 0.15);
}

.multi-sante:hover {
  box-shadow: inset 0 0 100px rgba(16, 185, 129, 0.1);
}
@media(max-width:1070px)
{
  .school-title {
  font-size: 2.3rem;
  }
}
@media (max-width:1000px) {
  .main {
    flex-direction: column;
  }

  .section {
    flex: 1;
  }

  .section:hover {
    flex: 1.5;
  }

  .section:not(:hover) {
    flex: 0.5;
  }

  .divider {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 1px;
  }

  .school-title {
    font-size: 2.8rem;
  }

  .section-content {
    padding: 2rem 1rem;
  }

  /* .drapo {
    top: 15px;
    right: 15px;
    gap: 10px;
  } */

  /* .drapo img {
    width: 40px;
    height: 28px;
  } */
}
#arrow{
  position:absolute;
  bottom:80px;
  right:10px;
  width:40px;
  height:40px;
  z-index:1000;
  border-radius:50%;  
  cursor:pointer;
  display:none;
}
@media (max-width: 968px) {
  body {
    overflow-y: auto;
  }

  .main {
    flex-direction: column;
    height: auto;
  }

  .section {
    min-height: 100vh;
    flex: none;
    padding: 2rem 1rem;
  }

  .divider {
    display: none;
  }

  .school-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .school-subtitle {
    font-size: 1rem;
  }

  .description {
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 100%;
  }

  .logo {
    width: 80px;
    height: 80px;
  }

  .drapo {
    position: static;
    justify-content: center;
    margin-bottom: 1.5rem;
    transform: none !important;
    opacity: 1 !important;
    z-index:10001;
  }

  .drapo img {
    width: 60px;
    height: 40px;
    z-index:10001;
  }

  .show-more-btn {
    width: 100%;
    padding: 14px 0;
    font-size: 0.9rem;
  }
  #arrow{
    display:block;
  }
    .section {
    opacity: 1 !important;
    transform: scale(1) !important;
    animation: none !important;
    transition: none !important;
  }

  .section-content {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: none !important;
  }

  .description,
  .show-more-btn {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: none !important;
    color: white !important;
  }

  .school-title,
  .school-subtitle {
    color: white !important;
  }

  .section-background {
    filter: blur(5px) brightness(0.8) !important;
    transform: scale(1) !important;
  }

  .section-overlay {
    background: rgba(0, 0, 0, 0.2) !important;
  }

  .logo {
    transform: scale(1.1) !important;
    transition: none !important;
  }

  .logo::before {
    left: 100% !important;
    transition: none !important;
  }

  .drapo {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .section:hover,
  .section:not(:hover) {
    flex: 1 !important;
  }

  .multi-it .section-background {
    background: linear-gradient(45deg, #003399, #0052cc, #0066ff) !important;
  }

  .multi-sante .section-background {
    background: linear-gradient(45deg, #059669, #10b981, #34d399) !important;
  }
}
