:root{
  --bg: #FBF8F5;          
  --surface: #FFFFFF;     
  --muted: #F3EEE9;       
  --text: #1F2937;        
  --text-2: #4B5563;      
  --border: rgba(17, 24, 39, .10);

  --brand: #8E9B8B;       
  --brand-2: #6F7D70;     
  --accent: #D6C6B8;      

  --radius: 22px;
  --radius-lg: 28px;
  --shadow: 0 12px 30px rgba(0,0,0,.08);
  --shadow-soft: 0 10px 24px rgba(0,0,0,.06);

  --container: 1200px;
}



body{
  margin: 0;
  background: radial-gradient(1200px 700px at 10% 0%, rgba(142,155,139,.20), transparent 60%),
              radial-gradient(900px 600px at 90% 10%, rgba(214,198,184,.22), transparent 55%),
              var(--bg);
  color: var(--text);

  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* Section wrapper */
.MainSection{
    padding: clamp(18px, 3vw, 40px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.MainSection:not(:first-child):not(.AboutSection) {
    min-height: 50vh;
}


.MainSection > div{
  flex: 1;
  text-align: center;
  font-size: 16px;
}

.MainSection{
  position: relative;
}
.MainSection::before{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
}
.MainSection > *{
  max-width: var(--container);
}




body .HeaderSection{
  background: #F9F6F4 !important;
  color: #0b1210;
  border-end-end-radius: var(--radius-lg);
  border-end-start-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  gap: clamp(12px, 2vw, 24px);
}

body .HeaderSection > div:nth-child(odd){ flex: 1; }

.LogoSection{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.LogoSection .imagePlace{
    aspect-ratio: auto;
    width: 62px;
}

.LogoSection img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.LogoSection .UniversityName{
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 2px;
  font-size: 0.7rem;
  line-height: 1.35;
  font-weight: 600;
  color: rgba(11,18,16,.92);
}

.MainSection .TitleSection{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 3;
}

.TitleSection .ProjectTitle{
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: rgba(11, 18, 16, .96);
}

.TitleSection .ProjectTagline{
  font-size: 19px;
  font-weight: 500;
  color: rgba(11,18,16,.78);
  margin-top: 0;
  font-style: italic;
}


span.Header{
  display: inline-block;
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--text);
  position: relative;
  padding-bottom: 10px;
}
span.Header::after{
  content:"";
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 84px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: .95;
}

.TextSection{
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  max-width: 720px;
}

.TextSection span:not(.Header){
  color: var(--text-2);
  font-size: 18px;
  margin-bottom: 32px;
  text-align: center;
}

/* Better list styling */
ul{
  margin: 0;
  padding-left: 18px;
}
li{
  text-align: left;
  margin: 10px 0;
  color: var(--text-2);
}
li::marker{
  color: var(--brand-2);
}


.SVGSection{
  display: grid;
  place-items: center;
}

.SVGSection img{
    filter: drop-shadow(0 10px 18px rgba(0,0,0,.10));
    width: 100%;
    max-width: 450px;
}


@media (max-width: 980px){
  .MainSection{
    flex-direction: column;
    gap: 18px;
  }
  .MainSection > div{
    width: 100%;
  }

  .LogoSection{
    justify-content: center;
  }
  .LogoSection .UniversityName{
    text-align: center;
  }

  .TextSection{
    text-align: left;
    max-width: 100%;
  }
}


.MainSection.MainSectionWithoutSVG{
  flex-direction: column;
  gap: 18px;
}


.MethodologyDiv{
  width: min(var(--container), 100%);
  display: flex;
  flex-wrap: wrap;
justify-content: center;        
  gap: 16px;
  margin-top: 10px;
}

.MethodologyItem{
    width: 400px;
  background: rgba(255,255,255,.70);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 18px rgba(0,0,0,.06);
  padding: 14px 14px 16px;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
    flex-direction: column;
}

.MethodologyItem:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 26px rgba(0,0,0,.10);
}

.MethodologyImagePlace{
  width: 100%;
  aspect-ratio: auto;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(142,155,139,.22), rgba(214,198,184,.22));
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, .08);
  flex:1;
}

.MethodologyImagePlace img{
  width: 86%;
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.10));
}

.MethodologyDescription{
  margin-top: 12px;
  font-weight: 700;
  color: var(--text);
  font-size: 15px;
  letter-spacing: -0.01em;
}



.TechnologiesDiv{
  width: min(var(--container), 100%);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}

.TechnologyItem{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--border);
  box-shadow: 0 10px 18px rgba(0,0,0,.06);
}

.TechImagePlace{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(142,155,139,.22), rgba(214,198,184,.22));
  display: grid;
  place-items: center;
  border: 1px solid rgba(17, 24, 39, .08);
}

.TechImagePlace img{
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.TechName{
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}


.VideoPlace{
  width: min(900px, 100%);
  margin-top: 6px;
}

.VideoPlace video{
  width: 300px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #000;
}



.AboutSection{
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.AboutSection span{
  color: var(--text-2);
  font-size: 14.5px;
}

.AboutSection span:nth-child(1){
  font-weight: 700;
  color: var(--text);
}
html, body {
  width: 100%;
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.TechnologiesDiv .MethodologyImagePlace {
    width: 370px;
    height: 370px;
}

.VideoDescription{
    display: block;
    margin-top: 8px;
    font-weight: 600;
    color: var(--text-2);
    font-size: 22px;
}

.Subheader{
    font-size: 20px !important;
    font-weight: 500 !important;
    color: unset !important;
    text-align: left;
    position: relative;
    align-self: flex-start;
}

span.Subheader::after {
    content: "";
    position: absolute;
    transform: translateX(-100%);

    bottom: -4px;
    width: 100%;
    height: 3px;
    border-radius: 99px;
    background: #C75F71;
    opacity: .95;
}

.FooterSection {
    margin-top: 40px;
    padding-bottom: 40px;
}

.FooterContainer {
    background: #F9F6F4; 
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
}

.FooterMainText {
    font-size: 16px;
    color: var(--text);
    font-weight: 600;
    margin: 0;
    max-width: 800px;
    margin-inline: auto;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    line-height: 1.6;
}

.TeamGrid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 40px;
    width: 100%;
}

.TeamMember {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    min-width: 260px;
}

.MemberRow {
    font-size: 15px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 12px;
}

.Icon {
    width: 20px;
    text-align: center;
    color: var(--brand);
    font-size: 18px;
}

.fa-linkedin {
    color: #0077b5;
}

.fa-github {
    color: #333333;
}

.Value {
    color: var(--text-2);
    font-weight: 500;
}

.Value.email {
    color: var(--text);
    font-family: monospace;
    font-size: 14px;
}

@media (max-width: 980px){
  .TeamGrid {
      flex-direction: column;
      align-items: center; 
  }
  .TeamMember {
      align-items: center;
  }
}